Project

General

Profile

Bug #8563

Crash when typing in Tag Name field in Tagging menue

Added by bacchus3000 - over 8 years ago. Updated almost 8 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Lighttable
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Technical aspects:
Version: Darktable 0.9.2
Package: 0.9.2-0pmjdebruijn1~natty (from ppa)
Kernel: 2.6.38-11-generic (Ubuntu Natty Narwhal)
CPU: Intel Core 2 Duo L7100 (on Thinkpad X300)

Description
When I start typing in the Tag Name field in the Tagging module of the Lighttable component, Darktable crashes. I will attach a backtrace to this bug report.

Please let me know if you need any more information and testing.

-Sebastian

History

#1 Updated by bacchus3000 - over 8 years ago

Hi,

I did a lot of research here. This issue is triggered by a weird character within an existing tag. The tag was read from the metadata of an image. The character is "?" in the Tag "Kalenderbl?tter" (an online tool says it is "65533" in Unicode and "FFFD" in Hex). Removing the tag solves the problem. When I re-add the tag, everything is ok, unless I assign the tag to an image. Darktable did not crash again, but behaves odd - I can't get focus on Tag Name field to type. Deleting "Kalenderbl?tter" solves the Problem again.

I will gladly provide my library.db (just 1.8M) via e-mail to reproduce this bug.

Cheers,
Sebastian

#2 Updated by Simon Spannagel almost 8 years ago

Might this be solved by deleting your database and re-importing the images? maybe check for this character in the xmp file of images having the tag assigned, too.

#3 Updated by James C. McPherson almost 8 years ago

Does this problem still occur with 1.0.3?

Unfortunately we can't at this point depend on everybody's sqlite package
having been built with the ICU flag (unicode support) enabled. Perhaps we
need a way to sanitise (English-ish, ugh) tags/keywords on import?

#4 Updated by Simon Spannagel over 7 years ago

  • Target version changed from 1.0.3 to Candidate for next patch release

#5 Updated by James C. McPherson over 7 years ago

  • Affected Version set to 0.9.3
  • Status changed from New to In Progress
  • Category set to Lighttable

A recent (February 2012) changeset (http://darktable.org/redmine/projects/darktable/repository/entry?rev=3c9e28f52a3b7da092abd7f84b82105bd1fd9db5) fixed some issues with unicode support. This changeset was included with the 1.0.4 release - could you please try 1.0.4 and see whether the problem recurs.

#6 Updated by Tobias Ellinghaus over 7 years ago

  • Affected Version changed from 0.9.3 to git development version
  • % Done changed from 0 to 100
  • Status changed from In Progress to Fixed

No reaction so I'm closing this. Feel free to reopen.

Also available in: Atom PDF

Go to top