Project

General

Profile

Bug #8569

SegFault in sharpen.c:277

Added by dakiri - over 7 years ago. Updated about 7 years ago.

Status:
Fixed
Priority:
High
Assignee:
-
Category:
General
Target version:
Start date:
Due date:
% Done:

100%

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

Description

darktable version 0.9.2-1 of Debian 'unstable/sid'.

The segfault happens after darktable is loaded and while using it. The SegFaults happen frequently. There is no particular image which can independently always cause the segfault.
Precise steps to reproduce are unknown.

(gdb) bt
#0  process._omp_fn.0 () at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/iop/sharpen.c:277
#8271  0xa4da2a08 in process (self=0x8407180, piece=0x841f208, ivoid=0x7829d020, ovoid=0x768d3020, roi_in=0xb4c59bec, roi_out=0xb4c59d8c)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/iop/sharpen.c:264
#8272  0xb6ce9a31 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5a2d4, cl_mem_output=0xb4c5a2d8, 
    out_bpp=0xb4c5a2dc, roi_out=0xb4c59d8c, modules=0x83e9950, pieces=0x8360a20, pos=29)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:703
#8273  0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5a2d4, cl_mem_output=0xb4c5a2d8, 
    out_bpp=0xb4c5a2dc, roi_out=0xb4c59f2c, modules=0x83e98d0, pieces=0x836c490, pos=30)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8274  0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5a2d4, cl_mem_output=0xb4c5a2d8, 
    out_bpp=0xb4c5a2dc, roi_out=0xb4c5a0cc, modules=0x839d830, pieces=0x8360e90, pos=31)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8275  0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5a2d4, cl_mem_output=0xb4c5a2d8, 
    out_bpp=0xb4c5a2dc, roi_out=0xb4c5a26c, modules=0x83ea440, pieces=0x83f9450, pos=32)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8276  0xb6ce8bd4 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5a40c, modules=0x8373960, pieces=0x836c390, pos=33)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:381
#8277  0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5a5ac, modules=0x83ea340, pieces=0x8319c60, pos=34)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8278  0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5a74c, modules=0x8454a20, pieces=0x835e8d0, pos=35)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8279  0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5a8ec, modules=0x805d6c0, pieces=0x835e7a0, pos=36)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8280 0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5aa8c, modules=0x83a2db0, pieces=0x8323360, pos=37)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8281 0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5ac2c, modules=0x8343010, pieces=0x8466100, pos=38)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8282 0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5adcc, modules=0x8355180, pieces=0x8434250, pos=39)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8283 0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5af6c, modules=0x8355010, pieces=0x81d5380, pos=40)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8284 0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5b10c, modules=0x8437f40, pieces=0x8360e50, pos=41)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8285 0xb6ce8768 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b314, cl_mem_output=0xb4c5b318, 
    out_bpp=0xb4c5b31c, roi_out=0xb4c5b2ac, modules=0x8366770, pieces=0x81b4c80, pos=42)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:265
#8286 0xb6ce8bd4 in dt_dev_pixelpipe_process_rec (pipe=0x84177f8, dev=0xb4c5b4cc, output=0xb4c5b394, cl_mem_output=0xb4c5b398, 
    out_bpp=0xb4c5b39c, roi_out=0xb4c5b380, modules=0x835edd0, pieces=0x81c5780, pos=43)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:381
#8287 0xb6ceb4c0 in dt_dev_pixelpipe_process_rec_and_backcopy (pos=43, pieces=0x81c5780, modules=0x835edd0, roi_out=0xb4c5b380, 
---Type <return> to continue, or q <return> to quit---
    out_bpp=0xb4c5b39c, cl_mem_output=0xb4c5b398, output=0xb4c5b394, dev=0xb4c5b4cc, pipe=0x84177f8)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:854
#8288 dt_dev_pixelpipe_process (pipe=0x84177f8, dev=0xb4c5b4cc, x=0, y=0, width=531, height=799, scale=1)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/pixelpipe_hb.c:926
#8289 0xb6cdecf4 in dt_dev_process_preview_job (dev=0xb4c5b4cc)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/develop.c:285
#8290 0xb6ce06ca in dt_dev_process_to_mip (dev=0xb4c5b4cc)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/develop/develop.c:333
#8291 0xb6cb64ad in dt_image_reimport (img=0xb1257678, filename=<optimized out>, mip=<optimized out>)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/common/image.c:608
#8292 0xb6cb7400 in dt_image_load (img=0xb1257678, mip=DT_IMAGE_MIP4)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/common/image.c:973
#8293 0xb6cde08e in dt_image_load_job_run (job=0x80cea9c)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/control/jobs/image_jobs.c:41
#8294 0xb6cd81fd in dt_control_run_job (s=0x80cc250)
    at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/control/control.c:711
#8295 0xb6cd8321 in dt_control_work (ptr=0x80cc250) at /build/buildd-darktable_0.9.2-1-i386-DdNqdC/darktable-0.9.2/src/control/control.c:866
#8296 0xb73ecc39 in start_thread () from /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#8297 0xb6bc596e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

History

#1 Updated by Simon Spannagel about 7 years ago

  • Status changed from New to Fixed

Hi,

did you experience a similar crash with the version 1.0?
Since a lot of things have been rewritten completely this might be gone - we didn't check closely with trac tickets that time...

I set the solution to fixed, you might wanna reopen this if you still have the problems.
Thank you!

best regards,
Simon

Also available in: Atom PDF