Re: error for object : incorrect checksum for freed object
Re: error for object : incorrect checksum for freed object
- Subject: Re: error for object : incorrect checksum for freed object
- From: Rob Rohan <email@hidden>
- Date: Thu, 20 Apr 2006 15:08:53 -0700
Excellent - thanks Rush. In Debug>Enable Guard Malloc, if anyone else
is interested.
On Apr 20, 2006, at 2:48 PM, Rush Manbert wrote:
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