Re: stepping on memory and guard malloc
Re: stepping on memory and guard malloc
- Subject: Re: stepping on memory and guard malloc
- From: Wesley Smith <email@hidden>
- Date: Tue, 13 Jan 2009 08:59:55 -0800
Probably not as thoroughly as I should. Thanks for the pointer.
wes
On Tue, Jan 13, 2009 at 7:38 AM, Sean McBride <email@hidden> wrote:
> 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