Nib Loading Related Crash
Nib Loading Related Crash
- Subject: Nib Loading Related Crash
- From: Kevin <email@hidden>
- Date: Thu, 19 Jun 2003 04:57:03 -0400
I need help. Ive been trying to find the solution to this crash to no
avail. I'm hoping that I can pull on the expertise of the lists to help
me find the problem. I'm still a newbie at all this, so im not sure
exactly what is happening here.
I don't know what happened to cause the problem. I created and added an
NSPanel object to the Nib and connected it up to a bunch of outlets,
but I don't see why it should be crashing like this. I remove the
object and it still crashes. There has to be something going on, but I
dont know what it could be... any thoughts on the subject would be of
great help.
the crash occurs when the program comes to the line:
[NSBundle loadNibName:@"dealers" owner:self];
a crash log follows. hopefully someone can make some sense of this.
Date/Time: 2003-06-19 04:10:15 -0400
OS Version: 10.2.6 (Build 6L60)
Host: shire
Command: Our Town
PID: 1877
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006
Thread 0 Crashed:
#0 0x90131ea8 in CFRelease
#1 0x90810268 in _decodeObjectBinary
#2 0x908185d4 in _decodeObject
#3 0x930c9a18 in -[NSCell initWithCoder:]
#4 0x930e0c48 in -[NSActionCell initWithCoder:]
#5 0x9310e680 in -[NSTextFieldCell initWithCoder:]
#6 0x908103ec in _decodeObjectBinary
#7 0x908185d4 in _decodeObject
#8 0x930e7948 in -[NSControl initWithCoder:]
#9 0x9310b05c in -[NSTextField initWithCoder:]
#10 0x908103ec in _decodeObjectBinary
#11 0x9083cb0c in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:]
#12 0x907fcac8 in -[NSArray initWithCoder:]
#13 0x908103ec in _decodeObjectBinary
#14 0x908185d4 in _decodeObject
#15 0x930ad944 in -[NSView initWithCoder:]
#16 0x908103ec in _decodeObjectBinary
#17 0x9083cb0c in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:]
#18 0x907fcac8 in -[NSArray initWithCoder:]
#19 0x908103ec in _decodeObjectBinary
#20 0x908185d4 in _decodeObject
#21 0x930ad944 in -[NSView initWithCoder:]
#22 0x9311bb34 in -[NSBox initWithCoder:]
#23 0x908103ec in _decodeObjectBinary
#24 0x9083cb0c in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:]
#25 0x907fcac8 in -[NSArray initWithCoder:]
#26 0x908103ec in _decodeObjectBinary
#27 0x908185d4 in _decodeObject
#28 0x930ad944 in -[NSView initWithCoder:]
#29 0x908103ec in _decodeObjectBinary
#30 0x908185d4 in _decodeObject
#31 0x930e2f74 in -[NSResponder initWithCoder:]
#32 0x930ad8c0 in -[NSView initWithCoder:]
#33 0x9311bb34 in -[NSBox initWithCoder:]
#34 0x908103ec in _decodeObjectBinary
#35 0x908185d4 in _decodeObject
#36 0x930e2f74 in -[NSResponder initWithCoder:]
#37 0x930ad8c0 in -[NSView initWithCoder:]
#38 0x908103ec in _decodeObjectBinary
#39 0x908185d4 in _decodeObject
#40 0x930e2f74 in -[NSResponder initWithCoder:]
#41 0x930ad8c0 in -[NSView initWithCoder:]
#42 0x930e7738 in -[NSControl initWithCoder:]
#43 0x9310b05c in -[NSTextField initWithCoder:]
#44 0x908103ec in _decodeObjectBinary
#45 0x908185d4 in _decodeObject
#46 0x930fd984 in -[NSNibConnector initWithCoder:]
#47 0x930f1194 in -[NSNibOutletConnector initWithCoder:]
#48 0x908103ec in _decodeObjectBinary
#49 0x9083cb0c in -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:]
#50 0x907fcac8 in -[NSArray initWithCoder:]
#51 0x908103ec in _decodeObjectBinary
#52 0x908185d4 in _decodeObject
#53 0x93149b88 in -[NSIBObjectData initWithCoder:]
#54 0x908103ec in _decodeObjectBinary
#55 0x908185d4 in _decodeObject
#56 0x931b3268 in loadNib
#57 0x930ea9b4 in +[NSBundle(NSNibLoading)
_loadNibFile:nameTable:withZone:ownerBundle:]
#58 0x93149a5c in +[NSBundle(NSNibLoading)
loadNibFile:externalNameTable:withZone:]
#59 0x9314981c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#60 0x0000683c in -[dealersController showDealersWindow:]
(dealersController.m:225)
#61 0x930f9cac in -[NSApplication sendAction:to:from:]
#62 0x9316ec5c in -[NSMenu performActionForItemAtIndex:]
#63 0x931af2fc in -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:]
#64 0x930ec730 in _NSHandleCarbonMenuEvent
#65 0x9308e22c in _DPSNextEvent
#66 0x930a0158 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#67 0x930b1d88 in -[NSApplication run]
#68 0x9315fc58 in NSApplicationMain
#69 0x00003f48 in main (main.m:13)
#70 0x00003ccc in _start (crt.c:267)
#71 0x00003b4c in start
Thread 1:
#0 0x9003ea88 in semaphore_wait_signal_trap
#1 0x9003e8a4 in _pthread_cond_wait
#2 0x90824180 in -[NSConditionLock lockWhenCondition:]
#3 0x930819a0 in -[NSUIHeartBeat _heartBeatThread:]
#4 0x9081cd38 in forkThreadForFunction
#5 0x90020d28 in _pthread_body
PPC Thread State:
srr0: 0x90131ea8 srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x00000000 lr: 0x90131e98 ctr: 0x90131e80 mq: 0x00000000
r0: 0x90810268 r1: 0xbfffbe30 r2: 0x28044242 r3: 0x00000000
r4: 0x906ade3c r5: 0x00000000 r6: 0x00000072 r7: 0x656c6570
r8: 0xa0131e98 r9: 0xa0131e98 r10: 0x00000000 r11: 0xa07e0c70
r12: 0x90131e80 r13: 0x00000000 r14: 0x00000000 r15: 0xa3099abc
r16: 0x000d6950 r17: 0xa309a6d4 r18: 0xa3099abc r19: 0xa309a6d4
r20: 0xa07dfd2c r21: 0x00000125 r22: 0x00000000 r23: 0x011329a0
r24: 0x908d3664 r25: 0x00000000 r26: 0x00005e3d r27: 0x01131a50
r28: 0x00000000 r29: 0x00000000 r30: 0x00000000 r31: 0x90131e98
_______________________________________________
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.