Re: _NSKeyValueObservationInfoCreateByRemoving crash in CFRetain()
Re: _NSKeyValueObservationInfoCreateByRemoving crash in CFRetain()
- Subject: Re: _NSKeyValueObservationInfoCreateByRemoving crash in CFRetain()
- From: "Sean McBride" <email@hidden>
- Date: Fri, 8 Dec 2006 11:11:32 -0500
- Organization: Rogue Research
On 2006-12-08 17:01, Vincent Le Normand said:
>I have currently a problem which make my application crash during a
>didChangeFalueForKey: notification:
>
>0 com.apple.CoreFoundation 0x907bf584 CFRetain + 60
>1 com.apple.Foundation 0x929e7724
>_NSKeyValueObservationInfoCreateByRemoving + 440
>2 com.apple.Foundation 0x929e74fc -[NSObject
>(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 56
>3 com.apple.Foundation 0x929e73ec -[NSObject
>(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 436
>4 com.apple.Foundation 0x929e8054 -
>[NSKeyValueObservationForwarder
>observeValueForKeyPath:ofObject:change:context:] + 268
>5 com.apple.Foundation 0x9296facc -[NSObject
>(NSKeyValueObserverNotification) didChangeValueForKey:] + 512
>
>I'd like to know witch kind of problem could cause this issue.
>Anybody have an idea?
>
>I have tried to enable NSZombie, but it didn't help.
NSZombieEnabled does not catch problems with toll free bridged classes,
for that you need CFZombieLevel. Since there is a CFRetain involved it
may help you. See:
<http://www.cocoadev.com/index.pl?NSZombieEnabled>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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:
This email sent to email@hidden