Re: 'leaks' disappear after a few seconds
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