• 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: strange malloc error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: strange malloc error (From: Sascha Matzke <email@hidden>)

  • Prev by Date: windowDidExpose Not Being Called
  • Next by Date: Re: Transparent backgroundcolors ?
  • Previous by thread: Re: strange malloc error
  • Next by thread: Type to select a row in NSTableView?
  • Index(es):
    • Date
    • Thread