BASE: class_getIvarLayout([NSThread class]) _target : 4 _arg : 8 _selector : 12 _name : 16 _stackSize : 20 _cancelled : 24 _active : 25 _finished : 26 _exception_handler : 28 _thread_dictionary : 32 _autorelease_vars : 44 _gcontext : 64 _runLoopInfo : 68 _internal : 72 Current thread from GSCurrentThread(): 0x813b51c thread->_target: 0x813b520 (4) thread->_arg: 0x813b524 (8) thread->_selector: 0x813b528 (12) thread->_name: 0x813b52c (16) thread->_stackSize: 0x813b530 (20) thread->_cancelled: 0x813b534 (24) thread->_active: 0x813b535 (25) thread->_finished: 0x813b536 (26) thread->_exception_handler: 0x813b538 (28) thread->_thread_dictionary: 0x813b53c (32) thread->_autorelease_vars: 0x813b548 (44) thread->_gcontext: 0x813b554 (56) thread->_runLoopInfo: 0x813b560 (68) Program received signal SIGSEGV, Segmentation fault. 0xb6e4f3bc in objc_msgSend () from /usr/GNUstep/Local/Library/Libraries/libobjc.so.4.6 (gdb) bt #0 0xb6e4f3bc in objc_msgSend () from /usr/GNUstep/Local/Library/Libraries/libobjc.so.4.6 #1 0xb77fbf06 in +[NSGraphicsContext setCurrentContext:] (self=0xb7b9bf2c <_OBJC_CLASS_NSGraphicsContext>, _cmd=0xb7b6607c <.objc_selector_list+792>, context=0x82aa05c) at NSGraphicsContext.m:221 #2 0xb771ee0d in -[NSApplication _init] (self=0x827b1c4, _cmd=0xb7b663fc <.objc_selector_list+1688>) at NSApplication.m:892 #3 0xb711fc58 in -[NSObject performSelector:withObject:] (self=0x827b1c4, _cmd=0xb7450acc <.objc_selector_list+280>, aSelector=0xb7b663fc <.objc_selector_list+1688>, anObject=0x827b1c4) at NSObject.m:1980 #4 0xb71b4f0f in -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] (self=0x827b1c4, _cmd=0xb7450bac <.objc_selector_list+504>, aSelector=0xb7b663fc <.objc_selector_list+1688>, aThread=0x813b51c, anObject=0x827b1c4, aFlag=1 '\001', anArray=0x827b29c) at NSThread.m:1672 #5 0xb71b4b8c in -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:] ( self=0x827b1c4, _cmd=0xb7450b4c <.objc_selector_list+408>, aSelector=0xb7b663fc <.objc_selector_list+1688>, anObject=0x827b1c4, aFlag=1 '\001', anArray=0x827b29c) at NSThread.m:1627 #6 0xb71b4c31 in -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] (self=0x827b1c4, _cmd=0xb7b6634c <.objc_selector_list+1512>, aSelector=0xb7b663fc <.objc_selector_list+1688>, anObject=0x827b1c4, aFlag=1 '\001') at NSThread.m:1638 #7 0xb771f44d in -[NSApplication init] (self=0x827b1c4, _cmd=0x80604d4 <.objc_selector_list+1344>) at NSApplication.m:978 #8 0x0804d1f6 in -[Gorm init] (self=0x827b1c4, _cmd=0xb7b66164 <.objc_selector_list+1024>) at Gorm.m:89 #9 0xb771ebdf in +[NSApplication sharedApplication] (self=0x805fc8c <_OBJC_CLASS_Gorm>, _cmd=0xb7b5c120 <.objc_selector_list+96>) at NSApplication.m:850 #10 0xb76f39d5 in NSApplicationMain (argc=1, argv=0xbfffe014) at Functions.m:78 #11 0x0805425a in main (argc=1, argv=0xbfffe014) at main.m:30 (gdb)