Project

General

Profile

Bug #12060

Crash when enabling/disabling "raw overexposure" indicator

Added by Sarge Borsch 4 months ago. Updated 4 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
OpenCL
Target version:
-
Start date:
03/06/2018
Due date:
% Done:

0%

Affected Version:
2.4.1
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Steps to reproduce:
0: Open the sample photo with the provided XMP file (in darkroom mode)
1: Click on the "toggle raw over exposed indication" button (could crash immediately after this)
2: Wait until "working.." label disappears
3: (ASAP) Repeat from step 1 (on my machine it usually takes 0..3 repeat cycles to crash it, where 0 means we don't ever reach step 2)

CFRetain() called with NULL
0   com.apple.CoreFoundation          0x00007fff3aa4e282 CFRetain + 114
1   com.apple.GeForceGLDriver         0x00007fff355e934d 0x7fff352ec000 + 3134285
2   com.apple.GeForceGLDriver         0x00007fff355e8490 0x7fff352ec000 + 3130512
3   libGPUSupportMercury.dylib        0x00007fff533a8881 gldLoadBuffer + 76
4   com.apple.GeForceGLDriver         0x00007fff355e9ebf gldLoadBuffer + 226
5   com.apple.opencl                  0x00007fff4304a7e3 0x7fff4301d000 + 186339
6   com.apple.opencl                  0x00007fff43023897 0x7fff4301d000 + 26775
7   com.apple.opencl                  0x00007fff4303b903 0x7fff4301d000 + 125187
8   com.apple.opencl                  0x00007fff430318d2 clEnqueueWriteBuffer + 777
9   libdarktable.dylib                0x000000010e9b401b dt_opencl_write_buffer_to_device + 139 (opencl.c:2098)
10  librawoverexposed.so              0x0000000116e23361 process_cl + 1505 (rawoverexposed.c:350)

More details in the attached zip with crash logs. I've recorded 4 of them, and they all seem to have this one common cause.

DSC00501.ARW.xmp - XMP to be used with the example photo for reproduction (3.91 KB) Sarge Borsch, 03/06/2018 02:08 PM

DSC00501.ARW.xz - example photo where reproduction rate is 100% (19.6 MB) Sarge Borsch, 03/06/2018 02:08 PM

crash logs (4x).zip (105 KB) Sarge Borsch, 03/06/2018 02:12 PM

dt core options.png (64.9 KB) Sarge Borsch, 03/06/2018 02:22 PM

History

#1 Updated by Rikard Öxler 4 months ago

I can reproduce the bug. When it does not crash I get the following debug output:

[opencl_rawoverexposed] couldn't enqueue kernel! -30
[opencl_pixelpipe] could not run module 'rawoverexposed' on gpu. falling back to cpu path

My System:
MacBookPro10,1
16 GB RAM
macOS 10.13.3
Intel HD Graphics 4000 + NVIDIA GeForce GT 650M

#2 Updated by Tobias Ellinghaus 4 months ago

Do you still get crashes when disabling OpenCL in the darktable preferences?

#3 Updated by Sarge Borsch 4 months ago

Tobias Ellinghaus wrote:

Do you still get crashes when disabling OpenCL in the darktable preferences?

No; only if OpenCL is enabled.

Also available in: Atom PDF