bertrand@Virtual-Jessie:~$ debugapp ./GUITest.app/ GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 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-linux-gnu". 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 /home/bertrand/GUITest.app/GUITest...done. (gdb) run Starting program: /home/bertrand/GUITest.app/GUITest [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff63cc500 in objc_msgSend_fpret () from /usr/GNUstep/Local/Library/Libraries/libobjc.so.4.6 (gdb) backtrace #0 0x00007ffff63cc500 in objc_msgSend_fpret () from /usr/GNUstep/Local/Library/Libraries/libobjc.so.4.6 #1 0x00007ffff7504fd4 in +[NSGraphicsContext setCurrentContext:] ( self=0x7ffff7a6fbe0 <_OBJC_CLASS_NSGraphicsContext>, _cmd=0x7ffff7a1d170 <.objc_selector_list+576>, context=0xa26cf0) at NSGraphicsContext.m:169 #2 0x00007ffff7436468 in -[NSApplication _init] (self=0x994360, _cmd=0x7ffff7a1dad0 <.objc_selector_list+2976>) at NSApplication.m:892 #3 0x00007ffff69f9461 in -[NSObject performSelector:withObject:] (self=0x994360, _cmd=0x7ffff6f4bb50 <.objc_selector_list+832>, aSelector=0x7ffff7a1dad0 <.objc_selector_list+2976>, anObject=0x994360) at NSObject.m:1808 #4 0x00007ffff6a85bf0 in -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] (self=0x994360, _cmd=0x7ffff6f4ba50 <.objc_selector_list+576>, aSelector=0x7ffff7a1dad0 <.objc_selector_list+2976>, aThread=0x789860, anObject=0x994360, aFlag=1 '\001', anArray=0x8c99b0) at NSThread.m:1657 #5 0x00007ffff6a858d9 in -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:] (self=0x994360, _cmd=0x7ffff6f4ba70 <.objc_selector_list+608>, aSelector=0x7ffff7a1dad0 <.objc_selector_list+2976>, anObject=0x994360, aFlag=1 '\001', anArray=0x8c99b0) at NSThread.m:1612 #6 0x00007ffff6a85951 in -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] (self=0x994360, _cmd=0x7ffff7a1d310 <.objc_selector_list+992>, aSelector=0x7ffff7a1dad0 <.objc_selector_list+2976>, anObject=0x994360, ---Type to continue, or q to quit--- aFlag=1 '\001') at NSThread.m:1623 #7 0x00007ffff7436a1d in -[NSApplication init] (self=0x994360, _cmd=0x7ffff7a1d960 <.objc_selector_list+2608>) at NSApplication.m:978 #8 0x00007ffff7436273 in +[NSApplication sharedApplication] ( self=0x7ffff7a1cae0 <_OBJC_CLASS_NSApplication>, _cmd=0x6087f0 <.objc_selector_list+16>) at NSApplication.m:850 #9 0x0000000000400cfb in main () at guitest.m:6