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

'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


  • Follow-Ups:
    • Re: 'leaks' disappear after a few seconds
      • From: Jens Alfke <email@hidden>
    • Re: 'leaks' disappear after a few seconds
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: re: Project dependencies
  • Next by Date: Re: 'leaks' disappear after a few seconds
  • Previous by thread: Re: Multiple Versions of XCode
  • Next by thread: Re: 'leaks' disappear after a few seconds
  • Index(es):
    • Date
    • Thread