• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _NSKeyValueObservationInfoCreateByRemoving crash in CFRetain()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _NSKeyValueObservationInfoCreateByRemoving crash in CFRetain()


  • Subject: Re: _NSKeyValueObservationInfoCreateByRemoving crash in CFRetain()
  • From: Vincent Le Normand <email@hidden>
  • Date: Fri, 8 Dec 2006 17:19:42 +0100
  • Resent-date: Fri, 8 Dec 2006 17:20:04 +0100
  • Resent-from: Vincent Le Normand <email@hidden>
  • Resent-message-id: <email@hidden>
  • Resent-to: email@hidden

Sure..

But it didn't help. I am almost sure it is a CFRetain(NULL) problem, but.. It's not in my code.

I think the key is to know what is generated in _NSKeyValueObservationInfoCreateByRemoving. I think it use some data generated in my code, possibly some data being NULL, that should not be NULL.

Best regards,

Vincent

Le 8 déc. 06 à 17:11, Sean McBride a écrit :

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


  • Prev by Date: Re: Launch with bundle fails the first time
  • Next by Date: Re: A good book to start with thats recent
  • Previous by thread: Re: _NSKeyValueObservationInfoCreateByRemoving crash in CFRetain()
  • Next by thread: Re-using a custom view
  • Index(es):
    • Date
    • Thread