Darktable crashes at start

Hi,

after stable update 2020-10-01 (perhaps it has been longer, I haven’t used it in a while), darktable crashes at start. Output running from terminal:

darktable
[defaults] found a 64-bit system with 7996248 kb ram and 4 cores (0 atom based)
[defaults] setting high quality defaults

(darktable:30986): GLib-CRITICAL **: 02:07:03.782: g_variant_unref: assertion 'value != NULL' failed
[New LWP 30987]
[New LWP 30988]
[New LWP 30989]
[New LWP 30991]
[New LWP 30992]
[New LWP 30993]
[New LWP 30994]
[New LWP 30995]
[New LWP 30996]
[New LWP 30997]
[New LWP 30998]
[New LWP 30999]
[New LWP 31000]
[New LWP 31001]
[New LWP 31002]
[New LWP 31003]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007f5163405eef in wait4 () from /usr/lib/libc.so.6
warning: Currently logging to /tmp/darktable_bt_HV81R0.txt.  Turn the logging off and on to make the new setting effective.
#0  0x00007f5163405eef in wait4 () at /usr/lib/libc.so.6
#1  0x00007f5163630b22 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633766a0 in <signal handler called> () at /usr/lib/libc.so.6
#3  0x00007f510a703217 in  () at /usr/lib/libigc.so.1
#4  0x00007f510a704a2a in  () at /usr/lib/libigc.so.1
#5  0x00007f510a6a4c00 in  () at /usr/lib/libigc.so.1
#6  0x00007f510a6a4e5b in  () at /usr/lib/libigc.so.1
#7  0x00007f510a58fc10 in  () at /usr/lib/libigc.so.1
#8  0x00007f510a6253e8 in  () at /usr/lib/libigc.so.1
#9  0x00007f510a4b4934 in  () at /usr/lib/libigc.so.1
#10 0x00007f510a50814f in  () at /usr/lib/libigc.so.1
#11 0x00007f510f7005d8 in llvm::FPPassManager::runOnFunction(llvm::Function&) () at /usr/lib/libLLVM-10.so
#12 0x00007f510f701bdd in llvm::FPPassManager::runOnModule(llvm::Module&) () at /usr/lib/libLLVM-10.so
#13 0x00007f510f701f70 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () at /usr/lib/libLLVM-10.so
#14 0x00007f510a350dd4 in  () at /usr/lib/libigc.so.1
#15 0x00007f510a32a061 in  () at /usr/lib/libigc.so.1
#16 0x00007f510a20f994 in  () at /usr/lib/libigc.so.1
#17 0x00007f510a2c2bba in  () at /usr/lib/libigc.so.1
#18 0x00007f51385392ea in  () at /usr/lib/intel-opencl/libigdrcl.so
#19 0x00007f513833cd50 in  () at /usr/lib/intel-opencl/libigdrcl.so
#20 0x00007f51382d4a02 in  () at /usr/lib/intel-opencl/libigdrcl.so
#21 0x00007f515abf010e in clBuildProgram () at /usr/lib/libOpenCL.so
#22 0x00007f5163615e48 in dt_opencl_build_program () at /usr/lib/libdarktable.so
#23 0x00007f51636172b3 in  () at /usr/lib/libdarktable.so
#24 0x00007f516361b0c0 in dt_opencl_init () at /usr/lib/libdarktable.so
#25 0x00007f51635971ed in dt_init () at /usr/lib/libdarktable.so
#26 0x00005613328e1037 in  ()
#27 0x00007f5163361152 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x00005613328e108e in  ()

=========

  Id   Target Id                                        Frame 
* 1    Thread 0x7f515c8b4140 (LWP 30986) "darktable"    0x00007f5163405eef in wait4 () from /usr/lib/libc.so.6
  2    Thread 0x7f515c565640 (LWP 30987) "gmain"        0x00007f516342e46f in poll () from /usr/lib/libc.so.6
  3    Thread 0x7f515bd64640 (LWP 30988) "pool"         0x00007f5163433d5d in syscall () from /usr/lib/libc.so.6
  4    Thread 0x7f515b563640 (LWP 30989) "gdbus"        0x00007f516342e46f in poll () from /usr/lib/libc.so.6
  5    Thread 0x7f515ab03640 (LWP 30991) "worker 0"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  6    Thread 0x7f515a302640 (LWP 30992) "worker 1"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  7    Thread 0x7f5159b01640 (LWP 30993) "worker 2"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  8    Thread 0x7f5159300640 (LWP 30994) "worker 3"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  9    Thread 0x7f5158aff640 (LWP 30995) "worker 4"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  10   Thread 0x7f513bfff640 (LWP 30996) "worker 5"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  11   Thread 0x7f513b7fe640 (LWP 30997) "worker 6"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  12   Thread 0x7f513affd640 (LWP 30998) "worker 7"     0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  13   Thread 0x7f513a7fc640 (LWP 30999) "kicker"       0x00007f5163400c51 in clock_nanosleep@GLIBC_2.2.5 () from /usr/lib/libc.so.6
  14   Thread 0x7f5139ffb640 (LWP 31000) "worker res 0" 0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  15   Thread 0x7f51397fa640 (LWP 31001) "worker res 1" 0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  16   Thread 0x7f5138ff9640 (LWP 31002) "worker res 2" 0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  17   Thread 0x7f511bfff640 (LWP 31003) "darktable"    0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0

=========

Thread 17 (Thread 0x7f511bfff640 (LWP 31003)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5160a5fc11 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
        __e = <optimized out>
#2  std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
        __e = <optimized out>
#3  0x00007f51385ec20e in  () at /usr/lib/intel-opencl/libigdrcl.so
#4  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7f5138ff9640 (LWP 31002)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f516364134e in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7f51397fa640 (LWP 31001)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f516364134e in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f5139ffb640 (LWP 31000)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f516364134e in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f513a7fc640 (LWP 30999)):
#0  0x00007f5163400c51 in clock_nanosleep@GLIBC_2.2.5 () at /usr/lib/libc.so.6
#1  0x00007f5163406137 in nanosleep () at /usr/lib/libc.so.6
#2  0x00007f516340606e in sleep () at /usr/lib/libc.so.6
#3  0x00007f5163640efb in  () at /usr/lib/libdarktable.so
#4  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f513affd640 (LWP 30998)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f513b7fe640 (LWP 30997)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f513bfff640 (LWP 30996)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f5158aff640 (LWP 30995)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f5159300640 (LWP 30994)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f5159b01640 (LWP 30993)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f515a302640 (LWP 30992)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f515ab03640 (LWP 30991)):
#0  0x00007f51633266a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f5163642689 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f515b563640 (LWP 30989)):
#0  0x00007f516342e46f in poll () at /usr/lib/libc.so.6
#1  0x00007f5163104188 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f51630b2163 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007f516252ffe8 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007f51630dfa91 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f515bd64640 (LWP 30988)):
#0  0x00007f5163433d5d in syscall () at /usr/lib/libc.so.6
#1  0x00007f51631000cb in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2  0x00007f5163082833 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f51630829c4 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0
#4  0x00007f51630e26ba in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f51630dfa91 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f515c565640 (LWP 30987)):
#0  0x00007f516342e46f in poll () at /usr/lib/libc.so.6
#1  0x00007f5163104188 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f51630b1421 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f51630b1472 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f51630dfa91 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f51633203e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f5163439293 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f515c8b4140 (LWP 30986)):
#0  0x00007f5163405eef in wait4 () at /usr/lib/libc.so.6
#1  0x00007f5163630b22 in  () at /usr/lib/libdarktable.so
#2  0x00007f51633766a0 in <signal handler called> () at /usr/lib/libc.so.6
#3  0x00007f510a703217 in  () at /usr/lib/libigc.so.1
#4  0x00007f510a704a2a in  () at /usr/lib/libigc.so.1
#5  0x00007f510a6a4c00 in  () at /usr/lib/libigc.so.1
#6  0x00007f510a6a4e5b in  () at /usr/lib/libigc.so.1
#7  0x00007f510a58fc10 in  () at /usr/lib/libigc.so.1
#8  0x00007f510a6253e8 in  () at /usr/lib/libigc.so.1
#9  0x00007f510a4b4934 in  () at /usr/lib/libigc.so.1
#10 0x00007f510a50814f in  () at /usr/lib/libigc.so.1
#11 0x00007f510f7005d8 in llvm::FPPassManager::runOnFunction(llvm::Function&) () at /usr/lib/libLLVM-10.so
#12 0x00007f510f701bdd in llvm::FPPassManager::runOnModule(llvm::Module&) () at /usr/lib/libLLVM-10.so
#13 0x00007f510f701f70 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () at /usr/lib/libLLVM-10.so
#14 0x00007f510a350dd4 in  () at /usr/lib/libigc.so.1
#15 0x00007f510a32a061 in  () at /usr/lib/libigc.so.1
#16 0x00007f510a20f994 in  () at /usr/lib/libigc.so.1
#17 0x00007f510a2c2bba in  () at /usr/lib/libigc.so.1
#18 0x00007f51385392ea in  () at /usr/lib/intel-opencl/libigdrcl.so
#19 0x00007f513833cd50 in  () at /usr/lib/intel-opencl/libigdrcl.so
#20 0x00007f51382d4a02 in  () at /usr/lib/intel-opencl/libigdrcl.so
#21 0x00007f515abf010e in clBuildProgram () at /usr/lib/libOpenCL.so
#22 0x00007f5163615e48 in dt_opencl_build_program () at /usr/lib/libdarktable.so
#23 0x00007f51636172b3 in  () at /usr/lib/libdarktable.so
#24 0x00007f516361b0c0 in dt_opencl_init () at /usr/lib/libdarktable.so
#25 0x00007f51635971ed in dt_init () at /usr/lib/libdarktable.so
#26 0x00005613328e1037 in  ()
#27 0x00007f5163361152 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x00005613328e108e in  ()
[Inferior 1 (process 30986) detached]
backtrace written to /tmp/darktable_bt_HV81R0.txt
Segmentation fault (core dumped)

Reinstalling it did not help.

Please show the debug output of darktable. Start it from the terminal with

darktable -d all

1 Like

darktable -d all

[memory] at startup
[memory] max address space (vmpeak):      119144 kB
[memory] cur address space (vmsize):      119144 kB
[memory] max used memory   (vmhwm ):       24544 kB
[memory] cur used memory   (vmrss ):       24544 kB
[defaults] found a 64-bit system with 7994132 kb ram and 4 cores (0 atom based)
[defaults] setting high quality defaults
0,275529 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1004, function _dt_collection_compute_count(): prepare "SELECT COUNT(DISTINCT mi.id) FROM (SELECT  id, group_id, film_id, filename, datetime_taken,   flags, version,  position, aspect_ratio,  maker, model, lens, aperture, exposure, focal_length,  iso, import_timestamp, change_timestamp,  export_timestamp, print_timestamp  FROM main.images AS mi  ) AS mi WHERE   (flags & 256) != 256  AND  (flags & 7) >= 0 AND NOT ((flags & 8) == 8)  AND  (1=1) ORDER BY filename, filename , version LIMIT ?1, ?2"
0,275811 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1004, function _dt_collection_compute_count(): prepare "SELECT COUNT(DISTINCT mi.id) FROM (SELECT  id, group_id, film_id, filename, datetime_taken,   flags, version,  position, aspect_ratio,  maker, model, lens, aperture, exposure, focal_length,  iso, import_timestamp, change_timestamp,  export_timestamp, print_timestamp  FROM main.images AS mi  ) AS mi WHERE   (flags & 256) != 256  AND  (flags & 7) >= 0 AND NOT ((flags & 8) == 8)  AND  (1=1) ORDER BY filename, filename , version LIMIT ?1, ?2"
0,275951 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1053, function dt_collection_get(): prepare "SELECT id FROM main.selected_images AS s JOIN (SELECT DISTINCT mi.id FROM (SELECT  id, group_id, film_id, filename, datetime_taken,   flags, version,  position, aspect_ratio,  maker, model, lens, aperture, exposure, focal_length,  iso, import_timestamp, change_timestamp,  export_timestamp, print_timestamp  FROM main.images AS mi  ) AS mi WHERE   (flags & 256) != 256  AND  (flags & 7) >= 0 AND NOT ((flags & 8) == 8)  AND  (1=1) ORDER BY filename, filename , version LIMIT ?1, ?2) AS mi WHERE mi.id = s.imgid LIMIT -1, ?3"
0,276114 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1032, function dt_collection_get_selected_count(): prepare "SELECT COUNT(*) FROM main.selected_images"
0,276764 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1990, function dt_collection_update_query(): prepare "DELETE FROM main.selected_images WHERE imgid NOT IN (SELECT DISTINCT mi.id FROM (SELECT  id, group_id, film_id, filename, datetime_taken,   flags, version,  position, aspect_ratio,  maker, model, lens, aperture, exposure, focal_length,  iso, import_timestamp, change_timestamp,  export_timestamp, print_timestamp  FROM main.images AS mi  ) AS mi WHERE   (flags & 256) != 256  AND  (flags & 7) >= 0 AND NOT ((flags & 8) == 8)  AND  (1=1) ORDER BY filename, filename , version LIMIT ?1, ?2)"
0,276929 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1004, function _dt_collection_compute_count(): prepare "SELECT COUNT(DISTINCT mi.id) FROM (SELECT  id, group_id, film_id, filename, datetime_taken,   flags, version,  position, aspect_ratio,  maker, model, lens, aperture, exposure, focal_length,  iso, import_timestamp, change_timestamp,  export_timestamp, print_timestamp  FROM main.images AS mi  ) AS mi WHERE   (flags & 256) != 256  AND  (flags & 7) >= 0 AND NOT ((flags & 8) == 8)  AND  (1=1) ORDER BY filename, filename , version"
0,277019 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1004, function _dt_collection_compute_count(): prepare "SELECT COUNT(DISTINCT mi.id) FROM (SELECT  id, group_id, film_id, filename, datetime_taken,   flags, version,  position, aspect_ratio,  maker, model, lens, aperture, exposure, focal_length,  iso, import_timestamp, change_timestamp,  export_timestamp, print_timestamp  FROM main.images AS mi  ) AS mi WHERE   (flags & 256) != 256  AND  (flags & 7) >= 0 AND NOT ((flags & 8) == 8)  AND  (1=1) ORDER BY filename, filename , version"
0,277127 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1053, function dt_collection_get(): prepare "SELECT id FROM main.selected_images AS s JOIN (SELECT DISTINCT mi.id FROM (SELECT  id, group_id, film_id, filename, datetime_taken,   flags, version,  position, aspect_ratio,  maker, model, lens, aperture, exposure, focal_length,  iso, import_timestamp, change_timestamp,  export_timestamp, print_timestamp  FROM main.images AS mi  ) AS mi WHERE   (flags & 256) != 256  AND  (flags & 7) >= 0 AND NOT ((flags & 8) == 8)  AND  (1=1) ORDER BY filename, filename , version) AS mi WHERE mi.id = s.imgid LIMIT -1, ?3"
0,277214 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1032, function dt_collection_get_selected_count(): prepare "SELECT COUNT(*) FROM main.selected_images"
0,277247 [sql] /build/darktable/src/darktable-3.2.1/src/common/collection.c:1032, function dt_collection_get_selected_count(): prepare "SELECT COUNT(*) FROM main.selected_images"
0,277286 [pwstorage_new] Creating new context 0x55bbc89dfa60
0,277292 [pwstorage_new] autodetected storage backend.
0,277296 [pwstorage_new] using kwallet backend for username/password storage0,279576 [pwstorage_kwallet] ERROR: failed to complete kwallet call: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files

(darktable:5091): GLib-CRITICAL **: 12:00:01.209: g_variant_unref: assertion 'value != NULL' failed
0,279634 [pwstorage_new] error starting kwallet. using no storage backend.
0,279639   done.
0.287131 [opencl_init] opencl related configuration options:
0.287138 [opencl_init] 
0.287141 [opencl_init] opencl: 1
0.287143 [opencl_init] opencl_scheduling_profile: 'default'
0.287146 [opencl_init] opencl_library: ''
0.287148 [opencl_init] opencl_memory_requirement: 768
0.287151 [opencl_init] opencl_memory_headroom: 400
0.287154 [opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
0.287174 [opencl_init] opencl_mandatory_timeout: 200
0.287177 [opencl_init] opencl_size_roundup: 16
0.287182 [opencl_init] opencl_async_pixelpipe: 0
0.287186 [opencl_init] opencl_synch_cache: active module
0.287191 [opencl_init] opencl_number_event_handles: 25
0.287195 [opencl_init] opencl_micro_nap: 1000
0.287198 [opencl_init] opencl_use_pinned_memory: 0
0.287203 [opencl_init] opencl_use_cpu_devices: 0
0.287208 [opencl_init] opencl_avoid_atomics: 0
0.287211 [opencl_init] 
0.288611 [opencl_init] found opencl runtime library 'libOpenCL'
0.288648 [opencl_init] opencl library 'libOpenCL' found on your system and loaded
0.718494 [opencl_init] found 1 platform
0.718520 [opencl_init] found 1 device
0.718560 [opencl_init] device 0 `Intel(R) Gen9 HD Graphics NEO' supports image sizes of 16384 x 16384
0.718567 [opencl_init] device 0 `Intel(R) Gen9 HD Graphics NEO' allows GPU memory allocations of up to 3122MB
[opencl_init] device 0: Intel(R) Gen9 HD Graphics NEO 
     GLOBAL_MEM_SIZE:          6245MB
     MAX_WORK_GROUP_SIZE:      256
     MAX_WORK_ITEM_DIMENSIONS: 3
     MAX_WORK_ITEM_SIZES:      [ 256 256 256 ]
     DRIVER_VERSION:           1.0.0
     DEVICE_VERSION:           OpenCL 2.1 NEO 
0.718714 [opencl_init] options for OpenCL compiler: -w  -DINTEL=1 -I"/usr/share/darktable/kernels"
0.719800 [opencl_init] compiling program `demosaic_ppg.cl' ..
0.721380 [opencl_load_program] loaded cached binary program from file '/home/anthony/.cache/darktable/cached_kernels_for_IntelRGen9HDGraphicsNEO_100/demosaic_ppg.cl.bin' MD5: '77b1bcd7d7d499e6a1569d0f188ee6b7' 
0.721392 [opencl_load_program] successfully loaded program from '/usr/share/darktable/kernels/demosaic_ppg.cl' MD5: '77b1bcd7d7d499e6a1569d0f188ee6b7'
0.721771 [opencl_build_program] successfully built program
0.721778 [opencl_build_program] BUILD STATUS: 0
0.721783 BUILD LOG:
0.721786 
0.721800 [opencl_init] compiling program `atrous.cl' ..
0.721963 [opencl_fopen_stat] could not open file `/home/anthony/.cache/darktable/cached_kernels_for_IntelRGen9HDGraphicsNEO_100/atrous.cl.bin'!
0.721974 [opencl_load_program] could not load cached binary program, trying to compile source
0.721984 [opencl_load_program] successfully loaded program from '/usr/share/darktable/kernels/atrous.cl' MD5: '877e4325f34824dd987075b3b81da75d'
[New LWP 5095]
[New LWP 5096]
[New LWP 5097]
[New LWP 5098]
[New LWP 5099]
[New LWP 5100]
[New LWP 5101]
[New LWP 5102]
[New LWP 5103]
[New LWP 5104]
[New LWP 5105]
[New LWP 5106]
[New LWP 5107]
[New LWP 5108]
[New LWP 5109]
[New LWP 5110]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fc8019edeef in wait4 () from /usr/lib/libc.so.6
warning: Currently logging to /tmp/darktable_bt_9LQ4R0.txt.  Turn the logging off and on to make the new setting effective.
#0  0x00007fc8019edeef in wait4 () at /usr/lib/libc.so.6
#1  0x00007fc801c18b22 in  () at /usr/lib/libdarktable.so
#2  0x00007fc80195e6a0 in <signal handler called> () at /usr/lib/libc.so.6
#3  0x00007fc7a9631217 in  () at /usr/lib/libigc.so.1
#4  0x00007fc7a9632a2a in  () at /usr/lib/libigc.so.1
#5  0x00007fc7a95d2c00 in  () at /usr/lib/libigc.so.1
#6  0x00007fc7a95d2e5b in  () at /usr/lib/libigc.so.1
#7  0x00007fc7a94bdc10 in  () at /usr/lib/libigc.so.1
#8  0x00007fc7a95533e8 in  () at /usr/lib/libigc.so.1
#9  0x00007fc7a93e2934 in  () at /usr/lib/libigc.so.1
#10 0x00007fc7a943614f in  () at /usr/lib/libigc.so.1
#11 0x00007fc7ab7005d8 in llvm::FPPassManager::runOnFunction(llvm::Function&) () at /usr/lib/libLLVM-10.so
#12 0x00007fc7ab701bdd in llvm::FPPassManager::runOnModule(llvm::Module&) () at /usr/lib/libLLVM-10.so
#13 0x00007fc7ab701f70 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () at /usr/lib/libLLVM-10.so
#14 0x00007fc7a927edd4 in  () at /usr/lib/libigc.so.1
#15 0x00007fc7a9258061 in  () at /usr/lib/libigc.so.1
#16 0x00007fc7a913d994 in  () at /usr/lib/libigc.so.1
#17 0x00007fc7a91f0bba in  () at /usr/lib/libigc.so.1
#18 0x00007fc7e85392ea in  () at /usr/lib/intel-opencl/libigdrcl.so
#19 0x00007fc7e833cd50 in  () at /usr/lib/intel-opencl/libigdrcl.so
#20 0x00007fc7e82d4a02 in  () at /usr/lib/intel-opencl/libigdrcl.so
#21 0x00007fc7f91d810e in clBuildProgram () at /usr/lib/libOpenCL.so
#22 0x00007fc801bfde48 in dt_opencl_build_program () at /usr/lib/libdarktable.so
#23 0x00007fc801bff2b3 in  () at /usr/lib/libdarktable.so
#24 0x00007fc801c030c0 in dt_opencl_init () at /usr/lib/libdarktable.so
#25 0x00007fc801b7f1ed in dt_init () at /usr/lib/libdarktable.so
#26 0x000055bbc8695037 in  ()
#27 0x00007fc801949152 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000055bbc869508e in  ()

=========

  Id   Target Id                                       Frame 
* 1    Thread 0x7fc7fae9c140 (LWP 5091) "darktable"    0x00007fc8019edeef in wait4 () from /usr/lib/libc.so.6
  2    Thread 0x7fc7fab4d640 (LWP 5095) "gmain"        0x00007fc801a1646f in poll () from /usr/lib/libc.so.6
  3    Thread 0x7fc7fa34c640 (LWP 5096) "pool"         0x00007fc801a1bd5d in syscall () from /usr/lib/libc.so.6
  4    Thread 0x7fc7f9b4b640 (LWP 5097) "gdbus"        0x00007fc801a1646f in poll () from /usr/lib/libc.so.6
  5    Thread 0x7fc7f90eb640 (LWP 5098) "worker 0"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  6    Thread 0x7fc7f88ea640 (LWP 5099) "worker 1"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  7    Thread 0x7fc7ebfff640 (LWP 5100) "worker 2"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  8    Thread 0x7fc7eb7fe640 (LWP 5101) "worker 3"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  9    Thread 0x7fc7eaffd640 (LWP 5102) "worker 4"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  10   Thread 0x7fc7ea7fc640 (LWP 5103) "worker 5"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  11   Thread 0x7fc7e9ffb640 (LWP 5104) "worker 6"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  12   Thread 0x7fc7e97fa640 (LWP 5105) "worker 7"     0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  13   Thread 0x7fc7e8ff9640 (LWP 5106) "kicker"       0x00007fc8019e8c51 in clock_nanosleep@GLIBC_2.2.5 () from /usr/lib/libc.so.6
  14   Thread 0x7fc7c7fff640 (LWP 5107) "worker res 0" 0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  15   Thread 0x7fc7c77fe640 (LWP 5108) "worker res 1" 0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  16   Thread 0x7fc7c6ffd640 (LWP 5109) "worker res 2" 0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  17   Thread 0x7fc7c67fc640 (LWP 5110) "darktable"    0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0

=========

Thread 17 (Thread 0x7fc7c67fc640 (LWP 5110)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc7ff047c11 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
        __e = <optimized out>
#2  std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
        __e = <optimized out>
#3  0x00007fc7e85ec20e in  () at /usr/lib/intel-opencl/libigdrcl.so
#4  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7fc7c6ffd640 (LWP 5109)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2934e in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7fc7c77fe640 (LWP 5108)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2934e in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fc7c7fff640 (LWP 5107)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2934e in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fc7e8ff9640 (LWP 5106)):
#0  0x00007fc8019e8c51 in clock_nanosleep@GLIBC_2.2.5 () at /usr/lib/libc.so.6
#1  0x00007fc8019ee137 in nanosleep () at /usr/lib/libc.so.6
#2  0x00007fc8019ee06e in sleep () at /usr/lib/libc.so.6
#3  0x00007fc801c28efb in  () at /usr/lib/libdarktable.so
#4  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fc7e97fa640 (LWP 5105)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fc7e9ffb640 (LWP 5104)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fc7ea7fc640 (LWP 5103)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fc7eaffd640 (LWP 5102)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fc7eb7fe640 (LWP 5101)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fc7ebfff640 (LWP 5100)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fc7f88ea640 (LWP 5099)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fc7f90eb640 (LWP 5098)):
#0  0x00007fc80190e6a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fc801c2a689 in  () at /usr/lib/libdarktable.so
#2  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fc7f9b4b640 (LWP 5097)):
#0  0x00007fc801a1646f in poll () at /usr/lib/libc.so.6
#1  0x00007fc8016ec188 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc80169a163 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc800b17fe8 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007fc8016c7a91 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fc7fa34c640 (LWP 5096)):
#0  0x00007fc801a1bd5d in syscall () at /usr/lib/libc.so.6
#1  0x00007fc8016e80cb in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc80166a833 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc80166a9c4 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0
#4  0x00007fc8016ca6ba in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc8016c7a91 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc7fab4d640 (LWP 5095)):
#0  0x00007fc801a1646f in poll () at /usr/lib/libc.so.6
#1  0x00007fc8016ec188 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc801699421 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc801699472 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fc8016c7a91 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc8019083e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fc801a21293 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc7fae9c140 (LWP 5091)):
#0  0x00007fc8019edeef in wait4 () at /usr/lib/libc.so.6
#1  0x00007fc801c18b22 in  () at /usr/lib/libdarktable.so
#2  0x00007fc80195e6a0 in <signal handler called> () at /usr/lib/libc.so.6
#3  0x00007fc7a9631217 in  () at /usr/lib/libigc.so.1
#4  0x00007fc7a9632a2a in  () at /usr/lib/libigc.so.1
#5  0x00007fc7a95d2c00 in  () at /usr/lib/libigc.so.1
#6  0x00007fc7a95d2e5b in  () at /usr/lib/libigc.so.1
#7  0x00007fc7a94bdc10 in  () at /usr/lib/libigc.so.1
#8  0x00007fc7a95533e8 in  () at /usr/lib/libigc.so.1
#9  0x00007fc7a93e2934 in  () at /usr/lib/libigc.so.1
#10 0x00007fc7a943614f in  () at /usr/lib/libigc.so.1
#11 0x00007fc7ab7005d8 in llvm::FPPassManager::runOnFunction(llvm::Function&) () at /usr/lib/libLLVM-10.so
#12 0x00007fc7ab701bdd in llvm::FPPassManager::runOnModule(llvm::Module&) () at /usr/lib/libLLVM-10.so
#13 0x00007fc7ab701f70 in llvm::legacy::PassManagerImpl::run(llvm::Module&) () at /usr/lib/libLLVM-10.so
#14 0x00007fc7a927edd4 in  () at /usr/lib/libigc.so.1
#15 0x00007fc7a9258061 in  () at /usr/lib/libigc.so.1
#16 0x00007fc7a913d994 in  () at /usr/lib/libigc.so.1
#17 0x00007fc7a91f0bba in  () at /usr/lib/libigc.so.1
#18 0x00007fc7e85392ea in  () at /usr/lib/intel-opencl/libigdrcl.so
#19 0x00007fc7e833cd50 in  () at /usr/lib/intel-opencl/libigdrcl.so
#20 0x00007fc7e82d4a02 in  () at /usr/lib/intel-opencl/libigdrcl.so
#21 0x00007fc7f91d810e in clBuildProgram () at /usr/lib/libOpenCL.so
#22 0x00007fc801bfde48 in dt_opencl_build_program () at /usr/lib/libdarktable.so
#23 0x00007fc801bff2b3 in  () at /usr/lib/libdarktable.so
#24 0x00007fc801c030c0 in dt_opencl_init () at /usr/lib/libdarktable.so
#25 0x00007fc801b7f1ed in dt_init () at /usr/lib/libdarktable.so
#26 0x000055bbc8695037 in  ()
#27 0x00007fc801949152 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000055bbc869508e in  ()
[Inferior 1 (process 5091) detached]
backtrace written to /tmp/darktable_bt_9LQ4R0.txt
Segmentation fault (core dumped)

You seem to have a problem with opencl.

I do not understand why opencl is active for you anyways because darktable typically turns off opencl on Intel HD because it does not bring a performance benefit to run opencl on the CPU.

From: darktable and OpenCL (updated) | darktable
“There also exist a few on-CPU implementations of OpenCL. These come as drivers provided by INTEL or AMD. We observed that they do not give us any speed gain versus our hand-optimized CPU code. Therefore we simply discard these devices.”

But in your case opencl is still turned on. I dont know why.

Secondly, the logs show that the opencl binaries are compiled with LLVM. Why is that? I believe the default is gcc. You must have customized this.

I suggest you delete the opencl binary folder:
/home/anthony/.cache/darktable/cached_kernels_for_IntelRGen9HDGraphicsNEO_100
and see if that helps. It will force a recompilation of the opencl binaries during the next darktable start. But if LLVM is the issue this will not help you either.

If that all fails you should deactivate opencl manually. Go to $HOME/.config/darktable and set

opencl=FALSE

in darktablerc

1 Like

Deleting the opencl binary folder did not help, so I created that darktablerc file and could start darktable:

darktable - run performance configuration?
We have an updated performance configuration logic - executing that might improve the performance of darktable. this will potentially overwrite some of your existing settings - especially in case you have manually modified them to custom values. would you like to execute this update of the performance configuration?

No matter if I select Yes or No, it ends with a segfault.

If the compiler has been changed I have no idea how I did that - how can I check and revert this?

Seems like your darktablerc file may have an issue. Move it out of the way and try again without any darktablerc. It will create a new file with default values during next start. And then turn off opencl in that new file.

If I remove it, darktable segfaults without showing any dialog.
It does not create a darktablerc and there was no such file in that folder before you told me to create it (so it only contains opencl=FALSE)

That is strange. Now I have a few more questions:

  1. How did you install darktable? Please show output of
    pacman -Q | grep darktable

  2. Please show content of the darktable config folder:
    ls -l $HOME/.config/darktable

Initially, I installed it with pacman, probably following Migrate installation to new hardware - ArchWiki to get a list of installed applications of my main computer and batch-install them to the laptop, but reinstalling was done with pamac.

Now I removed it, deleted the respective .cache and .config, reinstalled again with pamac, and it still segfaults. For some AUR packages I had to manually disable OpenCL/CUDA, because pamac or the pkgbuilds were not detecting it correctly, but I assumed the official stuff should work (and it does on my other computer).

I use it rarely, so it might have been unable to start for a long time.

pacman -Q | grep darktable

darktable 2:3.2.1-1

ls -l $HOME/.config/darktable

total 980
-rw-r--r-- 1 anthony anthony  45056  4. Okt 16:32 data.db
-rw-rw-rw- 1 anthony anthony      5  6. Okt 10:21 data.db.lock
-r-------- 1 anthony anthony      0  4. Okt 16:32 data.db-pre-3.2.1
-rw-r--r-- 1 anthony anthony 950272  6. Okt 10:21 library.db
-rw-rw-rw- 1 anthony anthony      5  6. Okt 10:21 library.db.lock
-r-------- 1 anthony anthony      0  4. Okt 16:32 library.db-pre-3.2.1

Something is really wrong here. When I removew the full darktable config folder and start darktable from scratch, it automatically creates the folder with the following content:

-rw-r--r-- 1 matthias matthias  17629  6. Okt 23:57 darktablerc
-rw-r--r-- 1 matthias matthias 212992  6. Okt 23:57 data.db
-r-------- 1 matthias matthias      0  6. Okt 23:57 data.db-pre-3.2.1
-rw-r--r-- 1 matthias matthias 188592  6. Okt 23:57 keyboardrc
-rw-r--r-- 1 matthias matthias 183866  6. Okt 23:57 keyboardrc_default
-rw-r--r-- 1 matthias matthias 983040  6. Okt 23:57 library.db
-r-------- 1 matthias matthias      0  6. Okt 23:57 library.db-pre-3.2.1

You are missing darktablerc, keyboardrc and keyboardrc_default. And your fresh data.db is a lot smaller than it should be.

Are you sure you have enough space available in your $HOME?

Yes, there are gigabytes of free space.

Hi mbod,
thank you for pointing me to opencl. I had the same issue. A while back, before reading that there’s no benefit for Intel, I installed beignet to get opencl support for Intel graphics.
After uninstalling beignet I’m able to start darktable again.

@Anthony: You could check if you also have one of the intel opencl packages (like beignet) installed.

1 Like

The only OpenCL stuff I have installed is intel-opencl-clang, intel-compute-runtime, ocl-icd and opencl-headers, I had to install the intel stuff to fix an opencl problem with an AUR package if I remember correctly.

You need to downgrade intel-compute-runtime and intel-graphics-compiler. They have been broken for quite some time.

Okay, so I removed everything opencl and now darktable launches without problems. Thanks everyone!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.