Program Crash
Program Crash
- Subject: Program Crash
- From: Jacob Lukas <email@hidden>
- Date: Wed, 22 Sep 2004 02:04:44 -0700
I'm writing a document-based program called Time It, and whenever I
close a document, the program crashes. It seems that it's trying to
remove an observer but something is nil. I'm having a hard time
debugging it as none of my classes are directly related to the crash.
Here's the crash log:
Date/Time: 2004-09-22 01:53:38 -0700
OS Version: 10.3.5 (Build 7M34)
Report Version: 2
Command: Time It
Path: /Users/jlukas/Documents/Developer/Time It/build/Time
It.app/Contents/MacOS/Time It
Version: ??? (1.0a4)
PID: 2468
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x90192c30 CFArrayGetCount + 0x34
1 com.apple.Foundation 0x90a933f0
_NSKeyValueObservationInfoGetForwarderForObserver + 0x30
2 com.apple.Foundation 0x90a95f68
-[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:]
+ 0x7c
3 com.apple.AppKit 0x931d8984 -[NSController
removeObserver:forKeyPath:] + 0xb8
4 com.apple.AppKit 0x931b8604 -[NSBinder
_updateObservingRegistration:] + 0x374
5 com.apple.AppKit 0x931ba148 -[NSBinder releaseConnection]
+ 0x34
6 com.apple.AppKit 0x92e1a7a8
-[NSObject(_NSBindingAdaptorAccess) _releaseBindingAdaptor] + 0xd8
7 com.apple.AppKit 0x931d84f0 -[NSController dealloc] + 0x24
8 com.apple.AppKit 0x931bac30 -[_NSBindingInfo dealloc] +
0x5c
9 com.apple.CoreFoundation 0x9019440c __CFArrayReleaseValues + 0x214
10 com.apple.CoreFoundation 0x90195394 __CFArrayDeallocate + 0x3c
11 com.apple.CoreFoundation 0x90190cf8 CFRelease + 0x1e8
12 com.apple.AppKit 0x931b6930 -[NSBinder _dealloc] + 0x38
13 com.apple.AppKit 0x931b9188 -[NSBinder dealloc] + 0x4c
14 com.apple.Foundation 0x909f15d4 NSPopAutoreleasePool + 0x164
15 com.apple.AppKit 0x92dfcfd4 -[NSApplication run] + 0x264
16 com.apple.AppKit 0x92eb948c NSApplicationMain + 0x1d0
17 main.ob 0x00205f74 main + 0x38 (main.m:13)
18 com.bloodsoft.timeit 0x00002738 start + 0x1c8
19 dyld 0x8fe1a558 _dyld_start + 0x64
Thread 1:
0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007018 mach_msg + 0x38
2 com.apple.CoreFoundation 0x90191708 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x90195e94 CFRunLoopRunSpecific + 0x148
4 com.apple.Foundation 0x909fc850 -[NSRunLoop
runMode:beforeDate:] + 0xac
5 com.apple.Foundation 0x90a15454 -[NSRunLoop run] + 0x4c
6 com.apple.Foundation 0x90a6747c
+[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 0x20c
7 com.apple.Foundation 0x90a39b74 forkThreadForFunction + 0x6c
8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28
Thread 2:
0 libSystem.B.dylib 0x9000b20c select + 0xc
1 com.apple.Foundation 0x909f205c _loadRunLoop + 0xd4
2 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28
Thread 3:
0 libSystem.B.dylib 0x900074c8 mach_msg_trap + 0x8
1 libSystem.B.dylib 0x90007018 mach_msg + 0x38
2 com.apple.CoreFoundation 0x90191708 __CFRunLoopRun + 0x350
3 com.apple.CoreFoundation 0x90195e94 CFRunLoopRunSpecific + 0x148
4 com.apple.Foundation 0x909fc850 -[NSRunLoop
runMode:beforeDate:] + 0xac
5 com.apple.Foundation 0x90a15454 -[NSRunLoop run] + 0x4c
6 com.apple.Foundation 0x90a679bc +[NSURLCache
_diskCacheSyncLoop:] + 0xa8
7 com.apple.Foundation 0x90a39b74 forkThreadForFunction + 0x6c
8 libSystem.B.dylib 0x900246e8 _pthread_body + 0x28
PPC Thread State:
srr0: 0x90192c30 srr1: 0x0200f030 vrsave: 0x00000000
cr: 0x24004242 xer: 0x00000000 lr: 0x90192c04 ctr: 0x90192bfc
r0: 0x00300ad0 r1: 0xbfffe120 r2: 0xa01901f4 r3: 0x00000000
r4: 0x00377ce0 r5: 0x00377fb0 r6: 0x00377fd0 r7: 0x003560d0
r8: 0x5e4e3e2c r9: 0x00000010 r10: 0x00000009 r11: 0xa09f0f28
r12: 0x90192bfc r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00377ce0
r24: 0x00000000 r25: 0x00377fb0 r26: 0x00377fd0 r27: 0x00377ce0
r28: 0x00000000 r29: 0x00000000 r30: 0x00377f80 r31: 0x90192c04
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden