On Mar 1, 2006, at 8:36 AM, Zachery Bir wrote: > On Mar 1, 2006, at 11:32 AM, Zachery Bir wrote: > >> Can someone help me read this Crash log? >> >> <http://www.urbanape.com/downloads/ >> TestUserDefaultsAppDelegate.crash.log> > > From the crash log: > > Exception: EXC_BAD_INSTRUCTION (0x0002) > Code[0]: 0x0000000d > Code[1]: 0x00000000 > > > Thread 0 Crashed: > 0 com.apple.CoreFoundation 0x90823daa _CFReadBytesFromFile > + 76 > 1 com.apple.CoreFoundation 0x90823793 > CFURLCreateDataAndPropertiesFromResource + 284 > 2 com.apple.CoreFoundation 0x9082d67a _loadXMLDomainIfStale > + 299 > 3 com.apple.CoreFoundation 0x90839978 fetchXMLValue + 38 > 4 com.apple.CoreFoundation 0x908396ad > _CFPreferencesDomainCreateValueForKey + 35 > 5 com.apple.Foundation 0x926e0df8 -[NSUserDefaults > initWithUser:] + 765 > 6 com.apple.Foundation 0x926e096c +[NSUserDefaults > standardUserDefaults] + 131 > > Reading bytes from file == endian issue?
Maybe, but it says XML... The first thing I would do is take gdb and figure out what file it's looking at... that's the second argument to CFURLCreateDataAndPropertiesFromResource. I'm guessing it would live on the stack, but I haven't used gdb on intel enough lately to remember what the offset is. Alternatively you could run it under ktrace to see which file it opens. There should be a NAMI with the path it's opening. -bob _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig