• 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: 'leaks' disappear after a few seconds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 'leaks' disappear after a few seconds


  • Subject: Re: 'leaks' disappear after a few seconds
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 29 Aug 2013 15:06:49 -0700

On 2013 Aug 29, at 13:57, Jens Alfke <email@hidden> wrote:

> The leak detector is conservative,

Thank you, Jens, but "conservative" can be ambiguous when the task is to detect something bad.  I think you mean that "when in doubt, 'leaks' does *not* report the leak".  Correct?

> so on the second run it may have seen a sequence of bytes in a memory block or a stack that happened to look like a pointer to one of your leaked blocks.

Interesting.  I thought it used magic.

> (I’d think this would be really rare in a 64-bit process, though.)

I'm not so sure of that.  The pointers in my 64-bit app always look something like 0x100724000, for example.  So I think the system is only using 33 of 64 bits?  Sequences of zeros are probably common.

Anyhow, you're saying that it probably really *is* a leak; that the first run, which detected the leak, was correct, and the second run (and subsequent runs) are missing it.

Not the answer that I wanted to see :(


 _______________________________________________
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: 'leaks' disappear after a few seconds
      • From: Jens Alfke <email@hidden>
References: 
 >'leaks' disappear after a few seconds (From: Jerry Krinock <email@hidden>)
 >Re: 'leaks' disappear after a few seconds (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: 'leaks' disappear after a few seconds
  • Next by Date: Re: 'leaks' disappear after a few seconds
  • Previous by thread: Re: 'leaks' disappear after a few seconds
  • Next by thread: Re: 'leaks' disappear after a few seconds
  • Index(es):
    • Date
    • Thread