Re: GuardMalloc question
Re: GuardMalloc question
- Subject: Re: GuardMalloc question
- From: Mailing list subscriptions <email@hidden>
- Date: Thu, 14 Sep 2006 16:48:17 +0200
man libgmalloc ?
http://developer.apple.com/documentation/Darwin/Reference/ManPages/
man3/libgmalloc.3.html
http://developer.apple.com/technotes/tn2004/tn2124.html
El 14/09/2006, a las 16:25, Arthur C. escribió:
I suspect that my program has either a memory leak, or a variable
that gets released prematurely, or both...
Now when I run GuardMalloc, after a while I get the following message:
GuardMalloc[TestGraphs-4113]: free: magic is df7648e4, not deadbeef.
GuardMalloc[TestGraphs-4113]: free: pointer probably not from
heap, or header has been trashed.
GuardMalloc[TestGraphs-4113]: Explicitly trapping into debugger!!!
Does anyone know what this means? What is 'deadbeef', and what kind
of 'magic' is meant here?
And, more importantly, does this give me a clue about the program
position where the error is?
The debug window gives no further information other than a bunch of
assembly code and a sequence of positions that are not from my code
(such as run loop, graphics calls etc.).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden