• 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: error for object : incorrect checksum for freed object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error for object : incorrect checksum for freed object


  • Subject: Re: error for object : incorrect checksum for freed object
  • From: Rush Manbert <email@hidden>
  • Date: Thu, 20 Apr 2006 14:48:50 -0700

Rob Rohan wrote:
I am fairly sure this is not the correct list for this, but I am hoping someone can steer me in the right direction.

I am running into an error in some C code I didn't write that is gacking on some calls to free. It blows up with:

malloc: *** error for object 0x31d8090: incorrect checksum for freed object - object was probably modified after being freed, break at szone_error to debug

It's odd, because I can't see how that's possible. I googled for a clue - there seem to be a lot of these kinds of errors out there but nothing on how to go about fixing it.

If someone could throw me a link on how to either "*** set a breakpoint in szone_error to debug", what exactly this error means, or how to find out what "object" is at location 0x31d8090 I would really appreciate it. (this is happening in some C code... an object?) - any links or tips in general are welcome

If I remember correctly, you can enable guardMalloc in the debugger and also setup a breakpoint when an exception is thrown. That would get you started, because you will break when guardMalloc throws.

- Rush
_______________________________________________
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: error for object : incorrect checksum for freed object
      • From: Rob Rohan <email@hidden>
References: 
 >error for object : incorrect checksum for freed object (From: Rob Rohan <email@hidden>)

  • Prev by Date: Re: error for object : incorrect checksum for freed object
  • Next by Date: Re: Creating Carbon bevel picture buttons w/Interface Builder
  • Previous by thread: Re: error for object : incorrect checksum for freed object
  • Next by thread: Re: error for object : incorrect checksum for freed object
  • Index(es):
    • Date
    • Thread