KVO/Bindings problem in 10.3 works in 10.4
KVO/Bindings problem in 10.3 works in 10.4
- Subject: KVO/Bindings problem in 10.3 works in 10.4
- From: John Fox <email@hidden>
- Date: Wed, 24 Aug 2005 18:40:55 -0700
Hello:
I'm seeing a crash in my app running under Panther (10.3) that I
can't reproduce in Tiger (10.4). The crash consistently occurs when
changing the value of a to-one relationship. I am using DataCrux (a
wrapper around sqlite) and not CoreData.
Here's a back trace:
Thread 0 Crashed:
0 com.apple.CoreFoundation 0x901c0b0c CFRelease + 0x24
1 com.treehouseideas.DataCrux 0xc0015e1c unlockBtreeIfUnused
+ 0x64 (btree.c:1257)
2 com.apple.Foundation 0x90ac5b1c
NSKVOPendingNotificationRelease + 0x4c
3 com.apple.CoreFoundation 0x901c43e4
__CFArrayReleaseValues + 0x214
4 com.apple.CoreFoundation 0x901c30a4
_CFArrayReplaceValues + 0x218
5 com.apple.CoreFoundation 0x901d8ca4
CFArrayRemoveValueAtIndex + 0xdc
6 com.apple.Foundation 0x90a366b8 -[NSObject
(NSKeyValueObserverNotification) didChangeValueForKey:] + 0x258
7 com.apple.Foundation 0x90ac4b28
_NSSetObjectValueAndNotify + 0x6c
Has anyone else seen anything like this?
I'm using automatic notification, and I know that there's a lot of
"behind the scenes" work that is done for you to make KVO work, so
I'm kind of at a loss as to how to debug this. Plus, I suck at using
GDB. Lame, I know.
Many thanks in advance.
John
_______________________________________________
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