Things are working mostly fine with my app, but I discover an exception if I close a document which has not been saved, and elect to discard the document:

* thread #1: tid = 0x51dfe8, 0x00007fff9393b743 libobjc.A.dylib`objc_exception_throw, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x00007fff9393b743 libobjc.A.dylib`objc_exception_throw
frame #1: 0x00007fff8e722eed CoreFoundation`+[NSException raise:format:] + 205 frame #2: 0x00007fff93556896 Foundation`-[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 604 frame #3: 0x00007fff935565d9 Foundation`-[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 114 frame #4: 0x00007fff9355b8e7 Foundation`-[NSKeyValueNestedProperty object:didRemoveObservance:recurse:] + 291 frame #5: 0x00007fff935567a1 Foundation`-[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 359 frame #6: 0x00007fff935565d9 Foundation`-[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 114 frame #7: 0x00007fff96503dae AppKit`-[NSController removeObserver:forKeyPath:] + 96 frame #8: 0x00007fff964fdde8 AppKit`-[NSBinder _updateObservingRegistration:] + 818 frame #9: 0x00007fff9674f367 AppKit`-[NSBinder releaseConnectionWithSynchronizePeerBinders:] + 44 frame #10: 0x00007fff964ef380 AppKit`-[NSObject(_NSBindingAdaptorAccess) _releaseBindingAdaptor] + 196 frame #11: 0x00007fff96412e3a AppKit`-[NSView _releaseBindingAdaptor] + 69 frame #12: 0x00007fff96411af7 AppKit`-[NSView _finalizeWithReferenceCounting] + 1863
    frame #13: 0x00007fff9641137e AppKit`-[NSView dealloc] + 151
    frame #14: 0x00007fff964eed24 AppKit`-[NSControl dealloc] + 169
frame #15: 0x00007fff9394e89c libobjc.A.dylib`objc_object::sidetable_release(bool) + 236 frame #16: 0x00007fff93934e8f libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 575
    frame #17: 0x00007fff8e5f96f2 CoreFoundation`_CFAutoreleasePoolPop + 50
frame #18: 0x00007fff9352e762 Foundation`-[NSAutoreleasePool drain] + 153
    frame #19: 0x00007fff96413cc1 AppKit`-[NSApplication run] + 800
    frame #20: 0x00007fff96390354 AppKit`NSApplicationMain + 1832
* frame #21: 0x0000000100186ff2 MyApp`main(argc=3, argv=0x00007fff5fbff700) + 34 at main.m:13
    frame #22: 0x00007fff9350d5c9 libdyld.dylib`start + 1

My problem is that I don't know what binding would be causing the problem. Is there a way to find out which it is?

John
--
John Brownie, john_brow...@sil.org or j.brow...@sil.org.pg
Summer Institute of Linguistics      | Mussau-Emira language, Mussau Is.
Ukarumpa, Eastern Highlands Province | New Ireland Province
Papua New Guinea                     | Papua New Guinea
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to