george:~/download/testm$ gdb ./obj/test < sid > GNU gdb 6.8-debian Copyright (C) 2008 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"... (gdb) r '{a=b;c=d}' '(foo,bar)' --eval '(setq foo 1)' Starting program: /home/george/download/testm/obj/test '{a=b;c=d}' '(foo,bar)' --eval '(setq foo 1)' [Thread debugging using libthread_db enabled] [New Thread 0x7fa6d4ac16e0 (LWP 3863)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fa6d4ac16e0 (LWP 3863)] 0x00007fa6d4492048 in NSCountFrames () at NSDebug.m:994 994 NSDebug.m: No such file or directory. in NSDebug.m (gdb) bt #0 0x00007fa6d4492048 in NSCountFrames () at NSDebug.m:994 #1 0x00007fa6d449a545 in GSPrivateStackAddresses () at NSDebug.m:1100 #2 0x00007fa6d44af5a8 in -[NSException raise] (self=0x1fe39b0, _cmd=0x7fa6d4943600) at NSException.m:822 #3 0x00007fa6d44af0fa in +[NSException raise:format:arguments:] (self=0x7fa6d49431a0, _cmd=0x7fa6d49435d0, name=0x7fa6d4942c60, format=0x7fa6d49722e0, argList=0x7fffdcbee710) at NSException.m:765 #4 0x00007fa6d44af04d in +[NSException raise:format:] (self=0x7fa6d49431a0, _cmd=0x7fa6d4973970, name=0x7fa6d4942c60, format=0x7fa6d49722e0) at NSException.m:751 #5 0x00007fa6d4518e55 in GSPropertyListFromStringsFormat (string=0x1fa72f0) at NSPropertyList.m:1505 #6 0x00007fa6d454dee1 in -[NSString propertyList] (self=0x1fa72f0, _cmd=0x7fa6d49a21e0) at NSString.m:4704 #7 0x00007fa6d457b357 in -[NSUserDefaults __createArgumentDictionary] (self=0x1fdf0b0, _cmd=0x7fa6d49a1e50) at NSUserDefaults.m:1816 #8 0x00007fa6d45775eb in -[NSUserDefaults initWithContentsOfFile:] (self=0x1fdf0b0, _cmd=0x7fa6d49a1d40, path=0x1fdfe50) at NSUserDefaults.m:872 #9 0x00007fa6d4576ca2 in -[NSUserDefaults initWithUser:] (self=0x1fdf0b0, _cmd=0x7fa6d49a1d30, userName=0x1fb7290) at NSUserDefaults.m:774 #10 0x00007fa6d4576c2f in -[NSUserDefaults init] (self=0x1fdf0b0, _cmd=0x7fa6d49a1b70) at NSUserDefaults.m:765 #11 0x00007fa6d4575f32 in +[NSUserDefaults standardUserDefaults] (self=0x7fa6d49a1920, _cmd=0x7fa6d49a1ad0) at NSUserDefaults.m:474 #12 0x00007fa6d45766eb in +[NSUserDefaults userLanguages] (self=0x7fa6d49a1920, _cmd=0x7fa6d4923d30) at NSUserDefaults.m:682 #13 0x00007fa6d4451b3a in +[NSBundle _bundleResourcePathsWithRootPath:subPath:] (self=0x7fa6d49236c0, _cmd=0x7fa6d4923d40, rootPath=0x1fd3550, subPath=0x0) at NSBundle.m:1605 #14 0x00007fa6d4451d57 in +[NSBundle pathForResource:ofType:inRootPath:inDirectory:withVersion:] (self=0x7fa6d49236c0, _cmd=0x7fa6d4923d50, name=0x7fa6d4922ac0, ext=0x7fa6d4922ae0, rootPath=0x1fd3550, subPath=0x0, version=0) at NSBundle.m:1639 #15 0x00007fa6d44521fb in -[NSBundle pathForResource:ofType:inDirectory:] (self=0x1fd8620, _cmd=0x7fa6d4923ab0, name=0x7fa6d4922ac0, ext=0x7fa6d4922ae0, subPath=0x0) at NSBundle.m:1734 #16 0x00007fa6d44520de in -[NSBundle pathForResource:ofType:] (self=0x1fd8620, _cmd=0x7fa6d4923e50, name=0x7fa6d4922ac0, ext=0x7fa6d4922ae0) at NSBundle.m:1715 #17 0x00007fa6d4453bc1 in -[NSBundle infoDictionary] (self=0x1fd8620, _cmd=0x7fa6d4923cd0) at NSBundle.m:2194 #18 0x00007fa6d4453e43 in -[NSBundle bundleIdentifier] (self=0x1fd8620, _cmd=0x7fa6d4923c30) at NSBundle.m:2239 #19 0x00007fa6d4450ad5 in -[NSBundle initWithPath:] (self=0x1fd8620, _cmd=0x7fa6d4923a90, path=0x1fd3550) at NSBundle.m:1317 #20 0x00007fa6d44505a2 in +[NSBundle bundleWithPath:] (self=0x7fa6d49236c0, _cmd=0x7fa6d4923f00, path=0x1fd8530) at NSBundle.m:1194 #21 0x00007fa6d4454309 in +[NSBundle(GNUstep) bundleForLibrary:version:] (self=0x7fa6d49236c0, _cmd=0x7fa6d4923b60, libraryName=0x1fb0d60, interfaceVersion=0x7fa6d49223e0) at NSBundle.m:2354 #22 0x00007fa6d444f623 in +[NSBundle initialize] (self=0x7fa6d49236c0, _cmd=0x7fa6d49a80f0) at NSBundle.m:821 ---Type to continue, or q to quit--- #23 0x00007fa6d3ea9915 in objc_msg_lookup (receiver=0x7fa6d49236c0, op=0x601c80) at /build/buildd/gcc-4.3-4.3.2/src/libobjc/sendmsg.c:327 #24 0x0000000000400ccd in main (argc=5, argv=0x7fffdcbef258, env=0x7fffdcbef288) at test.m:8 (gdb) set environment NOHANDLE=yes (gdb) r '{a=b;c=d}' '(foo,bar)' --eval '(setq foo 1)' The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/george/download/testm/obj/test '{a=b;c=d}' '(foo,bar)' --eval '(setq foo 1)' [Thread debugging using libthread_db enabled] [New Thread 0x7fb9e35ab6e0 (LWP 3866)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fb9e35ab6e0 (LWP 3866)] 0x00007fb9e2f7c048 in NSCountFrames () at NSDebug.m:994 994 NSDebug.m: No such file or directory. in NSDebug.m (gdb) bt #0 0x00007fb9e2f7c048 in NSCountFrames () at NSDebug.m:994 #1 0x00007fb9e2f84545 in GSPrivateStackAddresses () at NSDebug.m:1100 #2 0x00007fb9e2f995a8 in -[NSException raise] (self=0xcd4be0, _cmd=0x7fb9e342d600) at NSException.m:822 #3 0x00007fb9e2f990fa in +[NSException raise:format:arguments:] (self=0x7fb9e342d1a0, _cmd=0x7fb9e342d5d0, name=0x7fb9e342cc60, format=0x7fb9e345c2e0, argList=0x7fffeb6da1e0) at NSException.m:765 #4 0x00007fb9e2f9904d in +[NSException raise:format:] (self=0x7fb9e342d1a0, _cmd=0x7fb9e345d970, name=0x7fb9e342cc60, format=0x7fb9e345c2e0) at NSException.m:751 #5 0x00007fb9e3002e55 in GSPropertyListFromStringsFormat (string=0xc98310) at NSPropertyList.m:1505 #6 0x00007fb9e3037ee1 in -[NSString propertyList] (self=0xc98310, _cmd=0x7fb9e348c1e0) at NSString.m:4704 #7 0x00007fb9e3065357 in -[NSUserDefaults __createArgumentDictionary] (self=0xcd02e0, _cmd=0x7fb9e348be50) at NSUserDefaults.m:1816 #8 0x00007fb9e30615eb in -[NSUserDefaults initWithContentsOfFile:] (self=0xcd02e0, _cmd=0x7fb9e348bd40, path=0xcd1080) at NSUserDefaults.m:872 #9 0x00007fb9e3060ca2 in -[NSUserDefaults initWithUser:] (self=0xcd02e0, _cmd=0x7fb9e348bd30, userName=0xca8490) at NSUserDefaults.m:774 #10 0x00007fb9e3060c2f in -[NSUserDefaults init] (self=0xcd02e0, _cmd=0x7fb9e348bb70) at NSUserDefaults.m:765 #11 0x00007fb9e305ff32 in +[NSUserDefaults standardUserDefaults] (self=0x7fb9e348b920, _cmd=0x7fb9e348bad0) at NSUserDefaults.m:474 #12 0x00007fb9e30606eb in +[NSUserDefaults userLanguages] (self=0x7fb9e348b920, _cmd=0x7fb9e340dd30) at NSUserDefaults.m:682 #13 0x00007fb9e2f3bb3a in +[NSBundle _bundleResourcePathsWithRootPath:subPath:] (self=0x7fb9e340d6c0, _cmd=0x7fb9e340dd40, rootPath=0xcc4740, subPath=0x0) at NSBundle.m:1605 #14 0x00007fb9e2f3bd57 in +[NSBundle pathForResource:ofType:inRootPath:inDirectory:withVersion:] (self=0x7fb9e340d6c0, _cmd=0x7fb9e340dd50, name=0x7fb9e340cac0, ext=0x7fb9e340cae0, rootPath=0xcc4740, subPath=0x0, version=0) at NSBundle.m:1639 #15 0x00007fb9e2f3c1fb in -[NSBundle pathForResource:ofType:inDirectory:] (self=0xcc9810, _cmd=0x7fb9e340dab0, name=0x7fb9e340cac0, ext=0x7fb9e340cae0, subPath=0x0) at NSBundle.m:1734 #16 0x00007fb9e2f3c0de in -[NSBundle pathForResource:ofType:] (self=0xcc9810, _cmd=0x7fb9e340de50, name=0x7fb9e340cac0, ext=0x7fb9e340cae0) at NSBundle.m:1715 #17 0x00007fb9e2f3dbc1 in -[NSBundle infoDictionary] (self=0xcc9810, _cmd=0x7fb9e340dcd0) at NSBundle.m:2194 #18 0x00007fb9e2f3de43 in -[NSBundle bundleIdentifier] (self=0xcc9810, _cmd=0x7fb9e340dc30) at NSBundle.m:2239 #19 0x00007fb9e2f3aad5 in -[NSBundle initWithPath:] (self=0xcc9810, _cmd=0x7fb9e340da90, path=0xcc4740) at NSBundle.m:1317 #20 0x00007fb9e2f3a5a2 in +[NSBundle bundleWithPath:] (self=0x7fb9e340d6c0, _cmd=0x7fb9e340df00, path=0xcc9720) at NSBundle.m:1194 #21 0x00007fb9e2f3e309 in +[NSBundle(GNUstep) bundleForLibrary:version:] (self=0x7fb9e340d6c0, _cmd=0x7fb9e340db60, libraryName=0xca1e00, interfaceVersion=0x7fb9e340c3e0) at NSBundle.m:2354 #22 0x00007fb9e2f39623 in +[NSBundle initialize] (self=0x7fb9e340d6c0, _cmd=0x7fb9e34920f0) at NSBundle.m:821 ---Type to continue, or q to quit--- #23 0x00007fb9e2993915 in objc_msg_lookup (receiver=0x7fb9e340d6c0, op=0x601c80) at /build/buildd/gcc-4.3-4.3.2/src/libobjc/sendmsg.c:327 #24 0x0000000000400ccd in main (argc=5, argv=0x7fffeb6dad28, env=0x7fffeb6dad58) at test.m:8 (gdb)