Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings crash on quit.



I'm suffering an internal bindings crash, reproducable 100% of the time. Some object is being sent removeObserver: forKeyPath, but it doesn't exist.

It looks like this:

Thread 0 Crashed:
0 libobjc.A.dylib 0x90a59391 objc_msgSend + 33
1 com.apple.Foundation 0x9288b6bf -[NSObject (NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 233
2 com.apple.AppKit 0x93521f02 -[NSController removeObserver:forKeyPath:] + 208
3 com.apple.AppKit 0x934fd04a -[NSBinder _updateObservingRegistration:] + 1125
4 com.apple.AppKit 0x937ba1a1 -[NSBinder releaseConnectionWithSynchronizePeerBinders:] + 53
5 com.apple.AppKit 0x9329f3c5 -[NSObject (_NSBindingAdaptorAccess) _releaseBindingAdaptor] + 224
6 com.apple.AppKit 0x9352ff16 -[NSController dealloc] + 66
7 com.apple.AppKit 0x937b8283 -[_NSBindingInfo dealloc] + 121
8 com.apple.CoreFoundation 0x9080f094 CFRelease + 130
9 com.apple.CoreFoundation 0x90812930 __CFArrayReleaseValues + 451
10 com.apple.CoreFoundation 0x9080f169 _CFRelease + 188
11 com.apple.AppKit 0x934f9546 -[NSBinder _dealloc] + 58
12 com.apple.AppKit 0x934f9504 -[NSValueBinder _dealloc] + 133
13 com.apple.AppKit 0x93522aa3 -[NSTextValueBinder _dealloc] + 154
14 com.apple.AppKit 0x934f9446 -[NSBinder dealloc] + 82
15 com.apple.Foundation 0x927cb8cf NSPopAutoreleasePool + 530
16 com.apple.Foundation 0x927ea816 +[NSAutoreleasePool releaseAllPools] + 57
17 com.apple.AppKit 0x934067eb -[NSApplication _deallocHardCore:] + 305
18 com.apple.AppKit 0x934062a5 -[NSApplication terminate:] + 629
19 com.apple.AppKit 0x9336cd88 -[NSApplication sendAction:to:from:] + 107
20 com.apple.AppKit 0x9341ace7 -[NSMenu performActionForItemAtIndex:] + 455
21 com.apple.AppKit 0x9341aa29 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 103
22 com.apple.AppKit 0x9341a680 -[NSMenu performKeyEquivalent:] + 766
23 com.apple.AppKit 0x9341a121 -[NSApplication _handleKeyEquivalent:] + 381
24 com.apple.AppKit 0x9334dd87 -[NSApplication sendEvent:] + 3542
25 com.apple.AppKit 0x93278dfe -[NSApplication run] + 547
26 com.apple.AppKit 0x9326cd2f NSApplicationMain + 573


Any help would be much appreciated. This is from an older app which has been converted to bindings, and the model objects being bound to are prebindings like which I have converted to bindings compatibility. Anyone know of any gotchas or something I should look out for?


-Mathieu Tozer _______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.