Re: strange malloc error
Re: strange malloc error
- Subject: Re: strange malloc error
- From: Mark Dalrymple <email@hidden>
- Date: Mon, 28 Apr 2003 13:41:29 -0400
Hi Sascha,
> *** malloc[1396]: error for object 0x48: Incorrect checksum for freed
object -
> object was probably modified after being freed; break at szone_error
> But what can I do against it?
That memory may have been scribbled on by code other than what's in
that stack trace - that's what makes memory problems such a PITA to
track down. Maybe setting the MallocCheckHeapStart environment
variable can help narrow down the problem (it'll do more sanity checks
on malloc's data structures as the program runs, maybe narrowing down
the problem). I've got notes on some of the built-in malloc debug
tools at
http://macedition.com/bolts/bolts_20021210.php .
Cheers,
++Mark Dalrymple, email@hidden
http://borkware.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.