jag@jagnome:/opt/gimp-default-master/bin$ gdb --args gimp-2.9 --g-fatal-warnings
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
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 gimp-2.9...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/gimp-default-master/bin/gimp-2.9 --g-fatal-warnings
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe7e90700 (LWP 8306)]
This is a development version of GIMP.  Debug messages may appear here.

[New Thread 0x7fffd930a700 (LWP 8307)]
[New Thread 0x7fffd8b09700 (LWP 8308)]
[New Thread 0x7fffc74a8700 (LWP 8309)]
[Thread 0x7fffc74a8700 (LWP 8309) exited]
gimp_display_shell_profile_update
gimp_display_shell_profile_update
gimp_display_shell_profile_update
[New Thread 0x7fffc74a8700 (LWP 8313)]
[Thread 0x7fffd930a700 (LWP 8307) exited]
[New Thread 0x7fffd930a700 (LWP 8315)]
[New Thread 0x7fffc621a700 (LWP 8316)]
[Thread 0x7fffc74a8700 (LWP 8313) exited]
[Thread 0x7fffc621a700 (LWP 8316) exited]
[New Thread 0x7fffc621a700 (LWP 8317)]
gimp_display_shell_profile_update
src_profile: GIMP built-in sRGB
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: GIMP built-in sRGB
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8
gimp_display_shell_profile_update
src_profile: GIMP built-in sRGB
src_format:  R'G'B'A u8
dest_format: R'G'B'A u8

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff72bf4eb in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
(gdb) bt
#0  0x00007ffff72bf4eb in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#1  0x00007ffff72c08ad in gdk_device_get_state ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#2  0x0000000000623af2 in gimp_device_info_get_device_coords ()
#3  0x0000000000623a3e in gimp_device_info_get_event_coords ()
#4  0x00000000005c9043 in gimp_display_shell_get_event_coords ()
#5  0x00000000005c63d6 in gimp_display_shell_canvas_tool_events ()
#6  0x00007ffff762f815 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#7  0x00007ffff3d803b8 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007ffff3d91d3d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff3d996f9 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff3d99ce2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff773f684 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x00007ffff774b751 in gtk_widget_send_focus_change ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#13 0x00007ffff774ba83 in ?? ()
---Type <return> to continue, or q <return> to quit---q
 from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.sQuit

A debugging session is active.

	Inferior 1 [process 8302] will be killed.

Quit anyway? (y or n) y

(script-fu:8310): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
