'leaks' disappear after a few seconds
'leaks' disappear after a few seconds
- Subject: 'leaks' disappear after a few seconds
- From: Jerry Krinock <email@hidden>
- Date: Thu, 29 Aug 2013 13:48:53 -0700
Several times during the last few weeks, this has happened.
• Activate Terminal.app.
• Execute the command-line tool 'leaks' on a running instance of my app.
• See that there is a leak or two, for example…
Process 43129: 1 leak for 32 total leaked bytes.
Leak: 0x100cdb5e0 size=32 zone: DefaultMallocZone_0x100724000 __NSArrayI ObjC CoreFoundation item count: 2
• Wait a few seconds
• Hit the up-arrow key.
• Hit the 'return' key, to re-execute 'leaks'
EXPECTED RESULT
Because leaks, by definition, can never be recovered, I should see at least the same leak or two.
ACTUAL RESULT
0 leaks for 0 total leaked bytes
----------------------------------
Are my expectations incorrect, or was the first result a false alarm, or was the second result a detection miss?
Assuming the false alarm, is there any amount of time I could wait and re-test to guarantee that a leak reported by 'leaks' is *really* a leak?
Thanks,
Jerry Krinock
_______________________________________________
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