Re: App crashes while loading nibs?
Re: App crashes while loading nibs?
- Subject: Re: App crashes while loading nibs?
- From: Michael McCracken <email@hidden>
- Date: Wed, 4 Feb 2004 15:55:16 -0800
Minutes later, I realize that these reports are all coming from people
using 10.2.8 with my most recent build, built on Panther.
I've included NSSearchField in there, so I'm not surprised that it's
failing to work. But why does it crash like this, instead of with an
exception of some kind? Is there something else wrong?
Thanks,
-mike
On Feb 4, 2004, at 3:46 PM, Michael McCracken wrote:
>
Hi - I've gotten a few reports of crashing when my app opens, or when
>
it opens files, but I'm a little stumped about how to debug it.
>
>
The crash logs show that it isn't in my code, instead it's in the
>
sequence of unarchiving calls that happen in NSWindowController's
>
loadWindow method, all before it sends any delegate messages to my
>
code.
>
>
Does anyone have suggestions for what might be going wrong here? It
>
always works on my development machine...
>
>
Here's the top of an example log:
>
>
> Exception: EXC_BAD_ACCESS (0x0001)
>
> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006
>
>
>
> Thread 0 Crashed:
>
> #0 0x90131ea8 in CFRelease
>
> #1 0x97e201a4 in _decodeObjectBinary
>
> #2 0x97e4cad8 in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:]
>
> #3 0x97e0c724 in -[NSArray initWithCoder:]
>
> #4 0x97e20328 in _decodeObjectBinary
>
> #5 0x97e284a4 in _decodeObject
>
> #6 0x930ad944 in -[NSView initWithCoder:]
>
> ... more similar calls ...
>
> #28 0x97e4cad8 in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:]
>
> #29 0x97e0c724 in -[NSArray initWithCoder:]
>
> #30 0x97e20328 in _decodeObjectBinary
>
> #31 0x97e284a4 in _decodeObject
>
> #32 0x93149b88 in -[NSIBObjectData initWithCoder:]
>
> #33 0x97e20328 in _decodeObjectBinary
>
> #34 0x97e284a4 in _decodeObject
>
> #35 0x931b3268 in loadNib
>
> #36 0x930ea9b4 in +[NSBundle(NSNibLoading)
>
> _loadNibFile:nameTable:withZone:ownerBundle:]
>
> #37 0x93149a5c in +[NSBundle(NSNibLoading)
>
> loadNibFile:externalNameTable:withZone:]
>
> #38 0x931c7214 in -[NSWindowController loadWindow]
>
> #39 0x931c6ffc in -[NSWindowController window]
>
> #40 0x931ca1a4 in -[NSWindowController showWindow:]
>
> #41 0x931ca164 in -[NSDocument showWindows]
>
> #42 0x931c4ab4 in -[NSDocumentController
>
> _openDocumentFileAt:display:]
>
> #43 0x93283cd8 in -[NSDocumentController _openFile:]
>
>
Thanks!
>
-mike
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.