$ gdb7111 /usr/local/bin/rawtherapee GNU gdb (GDB) 7.11.1 [GDB v7.11.1 for FreeBSD] Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd10.3". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/bin/rawtherapee...done. (gdb) run Starting program: /usr/local/bin/rawtherapee [New LWP 101048 of process 76365] [New LWP 101145 of process 76365] [New LWP 101144 of process 76365] [New LWP 101142 of process 76365] [New LWP 101141 of process 76365] [New LWP 101138 of process 76365] GLib (gthread-posix.c): Unexpected error from C library during 'pthread_mutex_lock': Invalid argument. Aborting. [New LWP 101060 of process 76365] Thread 1 received signal SIGABRT, Aborted. 0x00000008080b635a in thr_kill () from /lib/libc.so.7 (gdb) thread apply all backtrace full Thread 8 (LWP 101060 of process 76365): #0 0x000000080136e13c in ?? () from /lib/libthr.so.3 No symbol table info available. #1 0x0000000801364246 in ?? () from /lib/libthr.so.3 No symbol table info available. #2 0x000000080136c59e in ?? () from /lib/libthr.so.3 No symbol table info available. #3 0x00000008021de240 in g_cond_wait_until (cond=0x81097dc08, mutex=0x81097dc00, end_time=293142633825) at gthread-posix.c:903 ts = {tv_sec = 293142, tv_nsec = 633825000} status = 0 #4 0x000000080212d8ae in g_async_queue_pop_intern_unlocked (queue=0x81097dc00, wait=1, end_time=293142633825) at gasyncqueue.c:422 retval = 0x3e8 #5 0x000000080212db6f in g_async_queue_timeout_pop_unlocked (queue=0x81097dc00, timeout=500000) at gasyncqueue.c:570 end_time = 293142633825 #6 0x00000008021ae2b6 in g_thread_pool_wait_for_new_task (pool=0x81089f5c0) at gthreadpool.c:262 task = 0x0 #7 0x00000008021ae06a in g_thread_pool_thread_proxy (data=0x81089f5c0) at gthreadpool.c:296 task = 0x812718c70 pool = 0x81089f5c0 #8 0x00000008021aca91 in g_thread_proxy (data=0x81289e230) at gthread.c:778 thread = 0x81289e230 #9 0x0000000801362855 in ?? () from /lib/libthr.so.3 ---Type to continue, or q to quit---q Quit (gdb) quit A debugging session is active. Inferior 1 [process 76365] will be killed. Quit anyway? (y or n) y