• 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: Diagnosing memory problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Diagnosing memory problems


  • Subject: Re: Diagnosing memory problems
  • From: Rob Petrovec <email@hidden>
  • Date: Tue, 27 Nov 2018 16:53:26 -0700

Actually, you want the Zombies tool.  That finds overreleased objects like ones
that cause the spew you are seeing.

—Rob


> On Nov 27, 2018, at 4:52 PM, Rob Petrovec <email@hidden> wrote:
>
> Check out the Leaks tool in Instruments (inside Xcode.app)
>
> —Rob
>
>
>> On Nov 27, 2018, at 3:56 PM, Casey McDermott <email@hidden> wrote:
>>
>> Our main window has a tool bar across the top, an outline view on the left,
>> and a tab view on the right.  Choosing an item from the outline view fills a
>> data entry screen into a new tab on the right.
>>
>> We started out using OS 10.11, but just switched to newer OS versions.
>> 10.12 has a couple display quirks but runs OK.  In 10.13 and newer,
>> switching tabs often crashes.  It gives a warning about releasing a data
>> entry field that is already released.
>>
>> In C++, we would diagnose this with a breakpoint in the destructor and then
>> check the stack trace.  But with ARC, a breakpoint at dealloc just shows
>> performDelayedCleanup and then main.  No clues to what's wrong.
>>
>> Is there lore or are there tools for tracking object lifetimes in Obj-C/ARC?
>>
>> Anything that changed in 10.13 that might be biting us?
>>
>> Thanks,
>>
>> Casey McDermott
>> TurtleSoft.com
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Diagnosing memory problems
      • From: Sean McBride <email@hidden>
References: 
 >Diagnosing memory problems (From: Casey McDermott <email@hidden>)
 >Re: Diagnosing memory problems (From: Rob Petrovec <email@hidden>)

  • Prev by Date: Re: Diagnosing memory problems
  • Next by Date: Re: Diagnosing memory problems
  • Previous by thread: Re: Diagnosing memory problems
  • Next by thread: Re: Diagnosing memory problems
  • Index(es):
    • Date
    • Thread