Re: nib corruption - please help
Re: nib corruption - please help
- Subject: Re: nib corruption - please help
- From: email@hidden (Simon Fraser)
- Date: Mon, 10 Mar 2003 15:27:56 -0800
Dave Thorup wrote:
For some reason my nib file keeps getting corrupted and I can't figure out
what the problem is. The nib will load into Interface Builder without any
problems, but when I try to run it I get this from the debugger:
Program received signal: "EXC_BAD_ACCESS".
And this from the console (w/o debugger):
<application> has exited due to signal 10 (SIGBUS).
The top of the stack trace from the debugger is as follows (I'll include the
full stack trace at the end):
#0 0x9313ebe0 in -[NSSplitView isOpaque]
#1 0x9318b938 in -[NSSplitView _setIsGrabber:]
#2 0x9318b530 in -[NSSplitView _compatibility_initWithUnkeyedCoder:]
#3 0x9318b248 in -[NSSplitView initWithCoder:]
#4 0x907e4cf8 in _decodeObject
So it's definitely when the nib is being loaded and appears to have
something to do with the split view. I keep getting this error whenever I
add something new to the nib file. The only way to get around it is to
delete the nib file I've been working on (which sucks because I lose all my
changes) and restore the last working version from CVS.
Deleting the things I've added to the nib file doesn't solve the problem
either, I have to completely restore the nib from a backup. This is getting
increasingly annoying as I'm trying to add things to my application. My
only workaround has been to add things one at a time to the nib, every time
rebuilding and running the app to make sure the nib hasn't been corrupted.
This is very slow, annoying, and unneeded.
I've also tried re-saving a copy of the nib and using that, but that doesn't
work either.
Does anyone have any suggestions? (short of recreating the nib from
scratch) Anyone else run into anything like this?
If you change the type of the splitter in IB, does that fix it?
Simon
_______________________________________________
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.