• 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
using object after being released. How to find which is ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using object after being released. How to find which is ?


  • Subject: using object after being released. How to find which is ?
  • From: Daniel Luis dos Santos <email@hidden>
  • Date: Fri, 3 Apr 2009 16:41:55 +0100

Hello,

I am having a problem with an object that is being used after it has been released. I am using auto release pools. In the gdb log it tells me :

IsolatedTestRunner(9952,0xb013e000) malloc: *** error for object 0x821800: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug

How can I find which object is it from the address ? Until now I have been stepping over the code and I can't find the address (besided the fact that it is difficult remembering memory addresses). I have the block of code isolated and know more or less what is the scope of the error. Besides, the messages refers an object. Does this mean an objective C object or just any memory that was allocated with malloc ?


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: using object after being released. How to find which is ?
      • From: Ken Thomases <email@hidden>
    • Re: using object after being released. How to find which is ?
      • From: David Blanton <email@hidden>
  • Prev by Date: re breakpoints not honoured
  • Next by Date: Re: using object after being released. How to find which is ?
  • Previous by thread: re breakpoints not honoured
  • Next by thread: Re: using object after being released. How to find which is ?
  • Index(es):
    • Date
    • Thread