Project

General

Profile

Bug #11692

Crash in equalizer

Added by Robert Hutton almost 3 years ago. Updated about 1 month ago.

Status:
Triaged
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
-
Start date:
08/14/2017
Due date:
% Done:

20%

Estimated time:
Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

A friend has a crash that's preventing him from working on a particular film roll: whenever he tries to open it, darktable crashes while generating the thumbnails. The photos were shot on a Canon 5D mark 2 and he has done some edits on them, it may be that whatever modules he has enabled on one of the images is what is causing the crash. It's really hard to narrow down which image/xmp is the culprit though, as the crash isn't completely reliable.

He gave me a copy of the image directory, and I managed to trigger the crash and get backtraces in both 2.2.5 and master.

dt-crash-2.2.5-thumbnail_generation.txt (20.4 KB) dt-crash-2.2.5-thumbnail_generation.txt Robert Hutton, 08/14/2017 07:42 AM
dt-crash-2.3.0-thumbnail_generation.txt (20.8 KB) dt-crash-2.3.0-thumbnail_generation.txt Robert Hutton, 08/14/2017 07:42 AM
dt-crash-2.3.0-thumbnail_generation-bt_full.txt (48 KB) dt-crash-2.3.0-thumbnail_generation-bt_full.txt Robert Hutton, 08/14/2017 11:41 AM
IMG_0244.CR2.xmp (6.05 KB) IMG_0244.CR2.xmp Robert Hutton, 08/14/2017 11:45 AM
dt-crash-2.3.0-thumbnail_generation-bt_full_orig.txt (107 KB) dt-crash-2.3.0-thumbnail_generation-bt_full_orig.txt Robert Hutton, 08/15/2017 03:16 AM
IMG_0244.CR2 (28.1 MB) IMG_0244.CR2 Robert Hutton, 08/17/2017 03:54 AM
IMG_0244.CR2.xmp (6.05 KB) IMG_0244.CR2.xmp Robert Hutton, 08/17/2017 03:54 AM

History

#1 Updated by Tobias Ellinghaus almost 3 years ago

Both crashes are in the same place, which is good. Please do "bt full" in gdb to get a little more information. It would also be helpful to have the XMP file for image id 13113.

#2 Updated by Robert Hutton almost 3 years ago

Tobias Ellinghaus wrote:

Both crashes are in the same place, which is good. Please do "bt full" in gdb to get a little more information. It would also be helpful to have the XMP file for image id 13113.

A "bt full" trace is attached. How do I tell which image has ID 13113? I've switched computers since I created the bug, would the ID be different on this machine?

#3 Updated by Robert Hutton almost 3 years ago

Found lots of references to IMG_0244.CR2 in that full backtrace, so uploaded that xmp.

#4 Updated by Tobias Ellinghaus almost 3 years ago

  • System changed from Ubuntu to all
  • % Done changed from 0 to 20
  • Status changed from New to Triaged
  • Category changed from Lighttable to Darkroom

The bt looks slightly different here, but it's also crashing in equalizer. So it's probably the same bug ...

#5 Updated by Tobias Ellinghaus almost 3 years ago

  • Subject changed from Crash generating thumbnails to Crash in equalizer

#6 Updated by Robert Hutton almost 3 years ago

Tobias Ellinghaus wrote:

The bt looks slightly different here, but it's also crashing in equalizer. So it's probably the same bug ...

I'll rerun it tomorrow on the original machine.

#8 Updated by Tobias Ellinghaus almost 3 years ago

That is yet another backtrace. One I vaguely remember. In any case, all of them are in the equalizer code and in all cases dt seems to try to run on a 1x1 pixel chunk. Maybe hanatos has any clue?

#9 Updated by Robert Hutton almost 3 years ago

Tobias Ellinghaus wrote:

That is yet another backtrace. One I vaguely remember. In any case, all of them are in the equalizer code and in all cases dt seems to try to run on a 1x1 pixel chunk. Maybe hanatos has any clue?

Hrm, I wonder why I'm getting a different backtrace each time... maybe it's because there's multiple images that are having their thumbnails generated, so it just depends which one is getting run first, or maybe there's some other kind of race here. I'll try triggering the crash a few more times to see what I get.

#10 Updated by Robert Hutton almost 3 years ago

Actually, I'll go one better: I've attached the image/xmp pair that is causing at least one of the crashes.

#11 Updated by Cory Larson about 1 month ago

I assumed that the libosmgpsmap docs were consistent in mentioning the release that added new API, but for these things it didn't say anything (resume examples https://resume-examples.com ), so i thought it was safe to use. I'll try to sprinkle a bunch of #ifdef over the code.

Also available in: Atom PDF

Go to top