Re: looking for a memory problem
Re: looking for a memory problem
- Subject: Re: looking for a memory problem
- From: Mike Abdullah <email@hidden>
- Date: Tue, 17 Jul 2012 13:07:49 +0100
Have you tried using the zombies instrument?
On 17 Jul 2012, at 11:30, Martin Hewitson <email@hidden> wrote:
> Dear list,
>
> I've been trying to track down a crash that happens sometimes when a document is closed in my NSPersistentDocument based app. This started to appear during the process of going from GC to non-GC. But it only happens after an undetermined number of document closes and reopens. The error message I get in the debugger is
>
> * thread #1: tid = 0x2103, 0x00007fff8f614e90 libobjc.A.dylib`objc_msgSend + 16, stop reason = EXC_BAD_ACCESS (code=1, address=0x10)
> frame #0: 0x00007fff8f614e90 libobjc.A.dylib`objc_msgSend + 16
> frame #1: 0x00000001098147d0
> frame #2: 0x00007fff8f61a03c libobjc.A.dylib`(anonymous namespace)::AutoreleasePoolPage::pop(void*) + 434
> frame #3: 0x00007fff938c8915 CoreFoundation`_CFAutoreleasePoolPop + 37
> frame #4: 0x00007fff8b8bb6cf Foundation`-[NSAutoreleasePool drain] + 154
> frame #5: 0x00007fff90146115 AppKit`-[NSApplication run] + 634
> frame #6: 0x00007fff903c2244 AppKit`NSApplicationMain + 867
> frame #7: 0x0000000100001574 TeXnicle`start + 52
>
>
> I've tried disabling various parts of the app trying to isolate where the issue might be.
>
> Could anyone offer any advice on how I might better track this down? Perhaps using instruments in some way?
>
> Cheers,
>
> Martin
>
>
>
>
>
>
> _______________________________________________
>
> 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