Hi.

I've tried the mesa opencl implementation with DT. I get a segfault but
can't make anything of it, so maybe one of you guys can. What i would like
to know is if the problem is within DT or my own setup.

I've attached the resulting backtrace.

Thanks in advance.


Gonçalo Marrafa
this is darktable 1.5+949~g312ee88 reporting a segfault:

#0  0x00007f9c45fb6ee9 in __libc_waitpid (pid=3324, stat_loc=0x0, options=0) at 
../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00007f9c4623cf8b in ?? () from /usr/bin/../lib/darktable/libdarktable.so
#2  <signal handler called>
#3  0x00007f9c45fa07b8 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00007f9c4628b004 in dt_opencl_init () from 
/usr/bin/../lib/darktable/libdarktable.so
#5  0x00007f9c4623f169 in dt_init () from 
/usr/bin/../lib/darktable/libdarktable.so
#6  0x00000000004007ee in main ()

Thread 16 (Thread 0x7f9c39223700 (LWP 3301)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c46293833 in dt_control_work () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c39223700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c39223700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308950169344, 
-7760273827176954980, 0, 0, 140308950170048, 140308950169344, 
7743247235149415324, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 15 (Thread 0x7f9c39a71700 (LWP 3302)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c46293833 in dt_control_work () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c39a71700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c39a71700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308958877440, 
-7760273827176954980, 0, 0, 140308958878144, 140308958877440, 
7743248378684457884, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 14 (Thread 0x7f9c38a22700 (LWP 3303)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c46293833 in dt_control_work () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c38a22700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c38a22700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308941776640, 
-7760273827176954980, 0, 0, 140308941777344, 140308941776640, 
7743246136174658460, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 13 (Thread 0x7f9c2bfff700 (LWP 3304)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c46293833 in dt_control_work () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c2bfff700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c2bfff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308729820928, 
-7760273827176954980, 0, 0, 140308729821632, 140308729820928, 
7743288572062155676, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 12 (Thread 0x7f9c33fff700 (LWP 3305)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c46293833 in dt_control_work () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c33fff700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c33fff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308864038656, 
-7760273827176954980, 0, 0, 140308864039360, 140308864038656, 
7743270979876111260, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 11 (Thread 0x7f9c337fe700 (LWP 3306)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c46293833 in dt_control_work () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c337fe700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c337fe700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308855645952, 
-7760273827176954980, 0, 0, 140308855646656, 140308855645952, 
7743269880901354396, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 10 (Thread 0x7f9c32ffd700 (LWP 3307)):
#0  0x00007f9c45ca2d7d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007f9c45ca2c14 in __sleep (seconds=0) at 
../sysdeps/unix/sysv/linux/sleep.c:137
        ts = {tv_sec = 1, tv_nsec = 714621314}
        set = {__val = {65536, 0 <repeats 15 times>}}
        oset = {__val = {0, 140309168029571, 4294967295, 0, 140309165676544, 
140309175126672, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}
        result = <optimized out>
#2  0x00007f9c46292aea in ?? () from /usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#3  0x00007f9c45faf182 in start_thread (arg=0x7f9c32ffd700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c32ffd700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308847253248, 
-7760273827176954980, 0, 0, 140308847253952, 140308847253248, 
7743268781926597532, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 9 (Thread 0x7f9c327fc700 (LWP 3308)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c327fc700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c327fc700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308838860544, 
-7760273827176954980, 0, 0, 140308838861248, 140308838860544, 
7743267682951840668, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 8 (Thread 0x7f9c31ffb700 (LWP 3309)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c31ffb700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c31ffb700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308830467840, 
-7760273827176954980, 0, 0, 140308830468544, 140308830467840, 
7743266583977083804, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 7 (Thread 0x7f9c317fa700 (LWP 3310)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c317fa700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c317fa700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308822075136, 
-7760273827176954980, 0, 0, 140308822075840, 140308822075136, 
7743265485002326940, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 6 (Thread 0x7f9c30ff9700 (LWP 3311)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c30ff9700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c30ff9700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308813682432, 
-7760273827176954980, 0, 0, 140308813683136, 140308813682432, 
7743264386027570076, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 5 (Thread 0x7f9c2b7fe700 (LWP 3312)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c2b7fe700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c2b7fe700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308721428224, 
-7760273827176954980, 0, 0, 140308721428928, 140308721428224, 
7743287473087398812, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 4 (Thread 0x7f9c2affd700 (LWP 3313)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c2affd700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c2affd700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308713035520, 
-7760273827176954980, 0, 0, 140308713036224, 140308713035520, 
7743286374112641948, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 3 (Thread 0x7f9c2a7fc700 (LWP 3314)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c2a7fc700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c2a7fc700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308704642816, 
-7760273827176954980, 0, 0, 140308704643520, 140308704642816, 
7743285275137885084, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 2 (Thread 0x7f9c29ffb700 (LWP 3315)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at 
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007f9c462939b0 in dt_control_work_res () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  0x00007f9c45faf182 in start_thread (arg=0x7f9c29ffb700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f9c29ffb700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140308696250112, 
-7760273827176954980, 0, 0, 140308696250816, 140308696250112, 
7743284176163128220, 7743222557452616604}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007f9c45cdc30d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 1 (Thread 0x7f9c46868a40 (LWP 3298)):
#0  0x00007f9c45fb6ee9 in __libc_waitpid (pid=3324, stat_loc=0x0, options=0) at 
../sysdeps/unix/sysv/linux/waitpid.c:40
        resultvar = 15063072
        oldtype = 0
#1  0x00007f9c4623cf8b in ?? () from /usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#2  <signal handler called>
No locals.
#3  0x00007f9c45fa07b8 in main_arena () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#4  0x00007f9c4628b004 in dt_opencl_init () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#5  0x00007f9c4623f169 in dt_init () from 
/usr/bin/../lib/darktable/libdarktable.so
No symbol table info available.
#6  0x00000000004007ee in main ()
No symbol table info available.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to