[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gnome-calculator'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007facaf35a9d0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0

(gdb) bt
#0  0x00007facaf35a9d0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007facaf372c74 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007facaf374093 in gtk_text_iter_get_buffer () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#3  0x000000000042bd28 in ?? ()
#4  0x00007facaf9b7a5b in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#5  0x00007facaf9b7ab9 in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#6  0x00007facadda8613 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007facadda7b6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007facadda7f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007facadda7ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007facae6ca1bc in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00000000004128d5 in calculator_main ()
#12 0x00007facad496ec5 in __libc_start_main (main=0x411560 <main>, argc=1, argv=0x7ffff85f5ec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff85f5eb8)
    at libc-start.c:287
#13 0x00000000004115a3 in _start ()
------------------------------------------------------------------------------


(gdb) thread apply all bt

Thread 5 (Thread 0x7fac9e159700 (LWP 19567)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007facaddec5e7 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007facadd7ca69 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007facadd7d08b in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007facaddcf37c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007facaddce925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007facad8420a5 in start_thread (arg=0x7fac9e159700) at pthread_create.c:309
#7  0x00007facad56f84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7faca57b3700 (LWP 19564)):
#0  0x00007facad56539d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007facadda7ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007facadda7ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faca57bb27d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007facaddce925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007facad8420a5 in start_thread (arg=0x7faca57b3700) at pthread_create.c:309
#6  0x00007facad56f84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7faca7239700 (LWP 19562)):
#0  0x00007facad56539d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007facadda7ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007facadda8272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007facae6fff06 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007facaddce925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007facad8420a5 in start_thread (arg=0x7faca7239700) at pthread_create.c:309
#6  0x00007facad56f84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fac9f15b700 (LWP 19565)):
#0  0x00007facad56539d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007facadda7ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007facadda7ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007facadda8039 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007facaddce925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007facad8420a5 in start_thread (arg=0x7fac9f15b700) at pthread_create.c:309
#6  0x00007facad56f84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7facafddd9c0 (LWP 19560)):
#0  0x00007facaf35a9d0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007facaf372c74 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007facaf374093 in gtk_text_iter_get_buffer () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#3  0x000000000042bd28 in ?? ()
#4  0x00007facaf9b7a5b in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#5  0x00007facaf9b7ab9 in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#6  0x00007facadda8613 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007facadda7b6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007facadda7f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007facadda7ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007facae6ca1bc in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x00000000004128d5 in calculator_main ()
#12 0x00007facad496ec5 in __libc_start_main (main=0x411560 <main>, argc=1, argv=0x7ffff85f5ec8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff85f5eb8)
    at libc-start.c:287
#13 0x00000000004115a3 in _start ()
------------------------------------------------------------------------------
