Project

General

Profile

Bug #12119

Segfault on start in Arch Linux

Added by sinking point 7 months ago. Updated 5 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
General
Target version:
-
Start date:
04/08/2018
Due date:
% Done:

0%

Affected Version:
2.4.2
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Kernel: x86_64 Linux 4.15.14-1-ARCH
DE: KDE 5.44.0 / Plasma 5.12.4

I start darktable from terminal. First I see the 'darktable - run performance configuration?' dialog box. It doesn't matter what I click next, it always segfaults. Terminal output:

[billy@billy-arch]: ~>$ darktable
[defaults] found a 64-bit system with 8120628 kb ram and 4 cores (0 atom based)
[defaults] setting high quality defaults

(darktable:11005): GLib-CRITICAL **: 15:42:44.253: g_variant_unref: assertion 'value != NULL' failed
amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x.
[New LWP 11006]
[New LWP 11008]
[New LWP 11009]
[New LWP 11029]
[New LWP 11030]
[New LWP 11031]
[New LWP 11032]
[New LWP 11033]
[New LWP 11034]
[New LWP 11035]
[New LWP 11036]
[New LWP 11037]
[New LWP 11038]
[New LWP 11039]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f321cfb16b7 in waitpid () from /usr/lib/libpthread.so.0
warning: Currently logging to /tmp/darktable_bt_FH84GZ.txt. Turn the logging off and on to make the new setting effective.
#0 0x00007f321cfb16b7 in waitpid () at /usr/lib/libpthread.so.0
#1 0x00007f321d29bc52 in () at /usr/lib/libdarktable.so
#2 0x00007f321cc1d8e0 in <signal handler called> () at /usr/lib/libc.so.6
#3 0x00007f31e03e0994 in amdgpu_get_marketing_name () at /usr/lib/libdrm_amdgpo.so.1
#4 0x00007f31b04aa761 in () at /usr/lib/libamdocl64.so
#5 0x00007f31b04aad0f in () at /usr/lib/libamdocl64.so
#6 0x00007f31b04ad769 in () at /usr/lib/libamdocl64.so
#7 0x00007f31b048d708 in () at /usr/lib/libamdocl64.so
#8 0x00007f31b00ef747 in () at /usr/lib/libamdocl64.so
#9 0x00007f31b04b7d29 in () at /usr/lib/libamdocl64.so
#10 0x00007f31b04b7d9f in () at /usr/lib/libamdocl64.so
#11 0x00007f31b04b8b27 in () at /usr/lib/libamdocl64.so
#12 0x00007f31b00a929a in () at /usr/lib/libamdocl64.so
#13 0x00007f31b00aa7a7 in () at /usr/lib/libamdocl64.so
#14 0x00007f31b00aa936 in () at /usr/lib/libamdocl64.so
#15 0x00007f31b008f717 in () at /usr/lib/libamdocl64.so
#16 0x00007f31b005c5a2 in clIcdGetPlatformIDsKHR () at /usr/lib/libamdocl64.so
#17 0x00007f3200015d1e in () at /usr/lib/libOpenCL.so
#18 0x00007f3200017c15 in clGetPlatformIDs () at /usr/lib/libOpenCL.so
#19 0x00007f321d2ac0d9 in dt_opencl_init () at /usr/lib/libdarktable.so
#20 0x00007f321d242742 in dt_init () at /usr/lib/libdarktable.so
#21 0x000055e043ed9847 in main ()

=========
  • 1 Thread 0x7f321d87eb00 (LWP 11005) "darktable" 0x00007f321cfb16b7 in waitpid () from /usr/lib/libpthread.so.0
    2 Thread 0x7f3209772700 (LWP 11006) "gmain" 0x00007f321ccd497b in poll () from /usr/lib/libc.so.6
    3 Thread 0x7f3203fff700 (LWP 11008) "gdbus" 0x00007f321ccd497b in poll () from /usr/lib/libc.so.6
    4 Thread 0x7f3201376700 (LWP 11009) "threaded-ml" 0x00007f321ccd497b in poll () from /usr/lib/libc.so.6
    5 Thread 0x7f3208f71700 (LWP 11029) "worker 0" 0x00007f321cfad3bd in pthread_cond_wait@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    6 Thread 0x7f3200a31700 (LWP 11030) "worker 1" 0x00007f321cfad3bd in pthread_cond_wait
    @GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    7 Thread 0x7f31e3fff700 (LWP 11031) "worker 2" 0x00007f321cfad3bd in pthread_cond_wait@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    8 Thread 0x7f31e37fe700 (LWP 11032) "worker 3" 0x00007f321cfad3bd in pthread_cond_wait
    @GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    9 Thread 0x7f31e2ffd700 (LWP 11033) "worker 4" 0x00007f321cfad3bd in pthread_cond_wait@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    10 Thread 0x7f31e27fc700 (LWP 11034) "worker 5" 0x00007f321cfad3bd in pthread_cond_wait
    @GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    11 Thread 0x7f31e1ffb700 (LWP 11035) "worker 6" 0x00007f321cfad3bd in pthread_cond_wait@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    12 Thread 0x7f31e17fa700 (LWP 11036) "worker 7" 0x00007f321cfad3bd in pthread_cond_wait
    @GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    13 Thread 0x7f31e0ff9700 (LWP 11037) "kicker" 0x00007f321ccacb10 in nanosleep () from /usr/lib/libc.so.6
    14 Thread 0x7f31dbfff700 (LWP 11038) "worker res 0" 0x00007f321cfad3bd in pthread_cond_wait@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
    15 Thread 0x7f31db7fe700 (LWP 11039) "worker res 1" 0x00007f321cfad3bd in pthread_cond_wait
    @GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
Id   Target Id         Frame

=========

Thread 15 (Thread 0x7f31db7fe700 (LWP 11039)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b40a9 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f31dbfff700 (LWP 11038)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b40a9 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f31e0ff9700 (LWP 11037)):
#0 0x00007f321ccacb10 in nanosleep () at /usr/lib/libc.so.6
#1 0x00007f321ccaca1a in sleep () at /usr/lib/libc.so.6
#2 0x00007f321d2b3c7b in () at /usr/lib/libdarktable.so
#3 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#4 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f31e17fa700 (LWP 11036)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f31e1ffb700 (LWP 11035)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f31e27fc700 (LWP 11034)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f31e2ffd700 (LWP 11033)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f31e37fe700 (LWP 11032)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f31e3fff700 (LWP 11031)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f3200a31700 (LWP 11030)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f3208f71700 (LWP 11029)):
#0 0x00007f321cfad3bd in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007f321d2b5379 in () at /usr/lib/libdarktable.so
#2 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#3 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f3201376700 (LWP 11009)):
#0 0x00007f321ccd497b in poll () at /usr/lib/libc.so.6
#1 0x00007f3201fcc773 in () at /usr/lib/libpulse.so.0
#2 0x00007f3201fbdbd0 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3 0x00007f3201fbe271 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4 0x00007f3201fbe301 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5 0x00007f3201fcc6ae in () at /usr/lib/libpulse.so.0
#6 0x00007f3201d6b81c in () at /usr/lib/pulseaudio/libpulsecommon-11.1.so
#7 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#8 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f3203fff700 (LWP 11008)):
#0 0x00007f321ccd497b in poll () at /usr/lib/libc.so.6
#1 0x00007f321c5d2523 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f321c5d28e2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007f321ad17348 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007f321c5faa2a in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f3209772700 (LWP 11006)):
#0 0x00007f321ccd497b in poll () at /usr/lib/libc.so.6
#1 0x00007f321c5d2523 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007f321c5d263e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007f321c5d2692 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007f321c5faa2a in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f321cfa708c in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007f321ccdee7f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f321d87eb00 (LWP 11005)):
#0 0x00007f321cfb16b7 in waitpid () at /usr/lib/libpthread.so.0
#1 0x00007f321d29bc52 in () at /usr/lib/libdarktable.so
#2 0x00007f321cc1d8e0 in <signal handler called> () at /usr/lib/libc.so.6
#3 0x00007f31e03e0994 in amdgpu_get_marketing_name () at /usr/lib/libdrm_amdgpo.so.1
#4 0x00007f31b04aa761 in () at /usr/lib/libamdocl64.so
#5 0x00007f31b04aad0f in () at /usr/lib/libamdocl64.so
#6 0x00007f31b04ad769 in () at /usr/lib/libamdocl64.so
#7 0x00007f31b048d708 in () at /usr/lib/libamdocl64.so
#8 0x00007f31b00ef747 in () at /usr/lib/libamdocl64.so
#9 0x00007f31b04b7d29 in () at /usr/lib/libamdocl64.so
#10 0x00007f31b04b7d9f in () at /usr/lib/libamdocl64.so
#11 0x00007f31b04b8b27 in () at /usr/lib/libamdocl64.so
#12 0x00007f31b00a929a in () at /usr/lib/libamdocl64.so
#13 0x00007f31b00aa7a7 in () at /usr/lib/libamdocl64.so
#14 0x00007f31b00aa936 in () at /usr/lib/libamdocl64.so
#15 0x00007f31b008f717 in () at /usr/lib/libamdocl64.so
#16 0x00007f31b005c5a2 in clIcdGetPlatformIDsKHR () at /usr/lib/libamdocl64.so
#17 0x00007f3200015d1e in () at /usr/lib/libOpenCL.so
#18 0x00007f3200017c15 in clGetPlatformIDs () at /usr/lib/libOpenCL.so
#19 0x00007f321d2ac0d9 in dt_opencl_init () at /usr/lib/libdarktable.so
#20 0x00007f321d242742 in dt_init () at /usr/lib/libdarktable.so
#21 0x000055e043ed9847 in main ()
backtrace written to /tmp/darktable_bt_FH84GZ.txt
Segmentation fault (core dumped)

History

#1 Updated by Tobias Ellinghaus 7 months ago

Please install the debug symbols for darktable (there might be a -dbg package?) and then share the backtrace darktable writes to /tmp/.

#2 Updated by Benoit Brummer 5 months ago

No problem here. Debug symbols can be installed on Arch by adding "options=(debug !strip)" to the source PKGBUILD file ( https://git.archlinux.org/svntogit/community.git/plain/trunk/PKGBUILD?h=packages/darktable or https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=darktable-git ) and compiling it with with makepkg.

Also available in: Atom PDF