Project

General

Profile

Bug #11486

Segmentation fault on opening image in the darkroom

Added by Adam Z about 2 years ago. Updated about 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
01/30/2017
Due date:
% Done:

100%

Affected Version:
2.2.2
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I'm using latest Darktable 2.2.2 from https://launchpad.net/~pmjdebruijn/+archive/ubuntu/darktable-unstable on Ubuntu 16.10

I import the folder to lightroom, doubleclick on the image to load it into darkroom, image is shown for a second or so and then Darktable crashes. This is one of several similar images - I've noticed similar crashes on other images in the set, but it was more difficult to reproduce - crashes didn't happen immediately and only after some time browsing through them or so. Strangely crashes happened only in the dark, high ISO images. Images from the same camera/lens made on the same day, but during the daylight were totally fine.

AFAIK I'm not using OpenCL.

dsc_0426.nef.xmp (2.28 KB) Adam Z, 01/30/2017 05:08 AM

darktable_bt_BPPMUY.txt Magnifier (27.8 KB) Adam Z, 01/30/2017 05:09 AM

dsc_0426.nef (5.72 MB) Adam Z, 01/30/2017 05:11 AM


Related issues

Duplicated by darktable - Bug #11490: Crash after opening an image that uses the new color LUT module Duplicate 01/31/2017

Associated revisions

Revision f7bc2b33
Added by Dan Torop about 2 years ago

imageop_math: fix Bayer downscale bounds. Fixes #11486

Maximum x/y values for image downscale should be one less than # of
image columns/rows, as downscale may look to following row/column.

This bug will only appear in certain images, depending on the
downscale ratio.

This fixes the "unusual stability problem" as reported by David
Vincent-Jones on the mailing list and narrowed down via Ulrich
Pegelow's work with git bisect.

(cherry picked from commit 794115a8b0c22bde231f13fff4b3f2754a4ce1e0)

History

#1 Updated by Roman Lebedev about 2 years ago

That should have been fixed by https://github.com/darktable-org/darktable/pull/1431 :/
Unfortunately, it was reported too late, and the fix happened after .2 got releae

#2 Updated by Dan Torop about 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

#3 Updated by Roman Lebedev about 2 years ago

  • Duplicated by Bug #11490: Crash after opening an image that uses the new color LUT module added

#4 Updated by Roman Lebedev about 2 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF