Possible Nib problem
Possible Nib problem
- Subject: Possible Nib problem
- From: "Tommy Braas" <email@hidden>
- Date: Mon, 1 Oct 2001 20:54:14 -0700
I've been working on a very simple little piece of software in Cocoa with a simple nib comprising a NSWindow with a couple of controls.
I have made some changes to the Nib and I am seeing some problems that I hope someone has encountered before. If anyone could, then please shed some light! Apparently the problem surfaces after awakeFromNib has been called as I get debug output from that method. After hours of attempts at fixing it ( I am still fairly new to Cocoa ) I give up...
I am using the latest IB and PB.
Thanks!
\tommy
I get the following crash:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0:
#0 0x706bab68 in objc_msgSend
#1 0x708121f0 in NSPopAutoreleasePool
#2 0x70824b04 in -[NSAutoreleasePool release]
#3 0x70c1f09c in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
#4 0x70c69a98 in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
#5 0x70c5e014 in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
#6 0x70c91e74 in NSApplicationMain
#7 0x00001e7c in main
#8 0x00001d6c in _start
#9 0x00001b8c in start
PPC Thread State:
srr0: 0x706bab68 srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x00000020 lr: 0x708121f0 ctr: 0x706bab4c mq: 0x00000000
r0: 0x708121f0 r1: 0xbffff830 r2: 0x012cf3a9 r3: 0x0008f710
r4: 0x706d1b38 r5: 0x00000002 r6: 0x0000002c r7: 0x00000e03
r8: 0x00000000 r9: 0x000004d0 r10: 0x0008a1a0 r11: 0x80810b08
r12: 0x00000000 r13: 0x00000000 r14: 0x00000036 r15: 0x00058e90
r16: 0x00000001 r17: 0x80160e88 r18: 0x0005b7d8 r19: 0x00001807
r20: 0x00000000 r21: 0x0000001c r22: 0x70004bc4 r23: 0x70004c58
r24: 0x7016b214 r25: 0x006bac3c r26: 0x8081ab5c r27: 0xc0d89c00
r28: 0x00000000 r29: 0xbfffef00 r30: 0x00000000 r31: 0x00000001
=====================================================================
Tommy Braas
Sr. Software Engineer
Zero G Software, Inc.
514 Bryant Street
San Francisco, CA 94578
tel: +1.415.512.7771 x340
fax: +1.415.723.7244
mailto:email@hidden
http://www.ZeroG.com
The leading provider of multi-platform software deployment solutions.
=====================================================================