• 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
release sent to deallocated instance under ARC .. how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

release sent to deallocated instance under ARC .. how?


  • Subject: release sent to deallocated instance under ARC .. how?
  • From: Roland King <email@hidden>
  • Date: Sat, 24 Dec 2011 12:38:26 +0800

I can't find this one. I have a crash in my app, message being sent to deallocated instance. I enabled zombies and get the following (first line is a log in the dealloc() method of my object, second one is from the zombies framework).

2011-12-24 12:23:04.317 Hippo[17279:fb03] HIPTopicView 0x6b6f230 deallocing
2011-12-24 12:23:10.962 Hippo[17279:fb03] *** -[HIPTopicView release]: message sent to deallocated instance 0x6b6f230

This app uses entirely ARC and nothing else, there is no manual reference counting anywhere in the whole app. The message sent is release, which means we have an overrelease. I can think of no way barring a bug in ARC itself that could possibly happen, can anyone else think of a way you could get an overrelease with purely ARC code? The stack trace shows this to be in an autorelease pool pop, so it really looks as if ARC has generated one more autorelease than it has retain.

Secondly, can anyone think of a way to dig down deeper and find where it might be, even so I can file a bug report on it. I'm just about to try wild random code refactoring as I'm running rapidly out of ideas.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: release sent to deallocated instance under ARC .. how?
      • From: Roland King <email@hidden>
  • Prev by Date: Re: Core Audio Help
  • Next by Date: Re: Core Audio Help
  • Previous by thread: Re: Tabs Not Blue Under Lion
  • Next by thread: Re: release sent to deallocated instance under ARC .. how?
  • Index(es):
    • Date
    • Thread