Re: stepping on memory and guard malloc
Re: stepping on memory and guard malloc
- Subject: Re: stepping on memory and guard malloc
- From: "Sean McBride" <email@hidden>
- Date: Tue, 13 Jan 2009 10:38:49 -0500
- Organization: Rogue Research Inc.
On 1/13/09 12:16 AM, Wesley Smith said:
>I have an app that I can get to crash regularly and I have strong
>suspicions that something is stepping on memory. Usually in a Debug
>build, I get the crash after 1 minute or so. The only way I know how
>to debug this is by enabling GuardMalloc.
Have you read through this?
<http://developer.apple.com/technotes/tn2004/tn2124.html>
These might help you: MallocScribble, MallocGuardEdges,
MALLOC_PROTECT_BEFORE, etc.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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