root@hurricane:/tmp# gdb /usr/bin/gnome-calculator core.gnome-calculato.22043
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-calculator...done.

warning: core file may not match specified executable file.
[New LWP 22043]
[New LWP 22046]
[New LWP 22047]
[New LWP 22049]
[New LWP 22045]
[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  0x00007fe91aa8c9d0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
(gdb) bt
#0  0x00007fe91aa8c9d0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007fe91aaa4c74 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007fe91aaa6093 in gtk_text_iter_get_buffer () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#3  0x0000000000459c85 in function_completion_provider_real_populate (base=0x20f78c0, context=0x20d35a0) at math-display.c:2105
#4  0x0000000000458688 in completion_provider_populate (self=0x20f78c0, context=0x20d35a0) at math-display.c:1678
#5  0x00007fe91b0e9a5b in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#6  0x00007fe91b0e9ab9 in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#7  0x00007fe9194da613 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fe9194d9b6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fe9194d9f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fe9194d9ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe919dfc1bc in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x0000000000414d7b in calculator_main (args=0x7fff2f3af4a8, args_length1=1) at gnome-calculator.c:1360
#13 0x0000000000414ddf in main (argc=1, argv=0x7fff2f3af4a8) at gnome-calculator.c:1372
(gdb) thread apply all bt 

Thread 5 (Thread 0x7fe91296b700 (LWP 22045)):
#0  0x00007fe918c9739d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe9194d9ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe9194da272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe919e31f06 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fe919500925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe918f740a5 in start_thread (arg=0x7fe91296b700) at pthread_create.c:309
#6  0x00007fe918ca184d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fe9098a5700 (LWP 22049)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fe91951e5e7 in g_cond_wait_until () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe9194aea69 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe9194af08b in g_async_queue_timeout_pop () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe91950137c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe919500925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fe918f740a5 in start_thread (arg=0x7fe9098a5700) at pthread_create.c:309
#7  0x00007fe918ca184d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fe90a8a7700 (LWP 22047)):
#0  0x00007fe918c9739d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe9194d9ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe9194d9ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe9194da039 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe919500925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe918f740a5 in start_thread (arg=0x7fe90a8a7700) at pthread_create.c:309
#6  0x00007fe918ca184d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fe910ee5700 (LWP 22046)):
#0  0x00007fe918c9739d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe9194d9ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe9194d9ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe910eed27d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007fe919500925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe918f740a5 in start_thread (arg=0x7fe910ee5700) at pthread_create.c:309
#6  0x00007fe918ca184d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe91b50f9c0 (LWP 22043)):
#0  0x00007fe91aa8c9d0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007fe91aaa4c74 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007fe91aaa6093 in gtk_text_iter_get_buffer () from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#3  0x0000000000459c85 in function_completion_provider_real_populate (base=0x20f78c0, context=0x20d35a0) at math-display.c:2105
#4  0x0000000000458688 in completion_provider_populate (self=0x20f78c0, context=0x20d35a0) at math-display.c:1678
#5  0x00007fe91b0e9a5b in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#6  0x00007fe91b0e9ab9 in ?? () from /usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1
#7  0x00007fe9194da613 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fe9194d9b6d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fe9194d9f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fe9194d9ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe919dfc1bc in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x0000000000414d7b in calculator_main (args=0x7fff2f3af4a8, args_length1=1) at gnome-calculator.c:1360
#13 0x0000000000414ddf in main (argc=1, argv=0x7fff2f3af4a8) at gnome-calculator.c:1372
(gdb) 

