• 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: stepping on memory and guard malloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: stepping on memory and guard malloc
      • From: Wesley Smith <email@hidden>
References: 
 >stepping on memory and guard malloc (From: Wesley Smith <email@hidden>)

  • Prev by Date: Re: transferring preprocessor macros (or similar) to project dependencies
  • Next by Date: Re: stepping on memory and guard malloc
  • Previous by thread: stepping on memory and guard malloc
  • Next by thread: Re: stepping on memory and guard malloc
  • Index(es):
    • Date
    • Thread