• 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: looking for a memory problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: looking for a memory problem


  • Subject: Re: looking for a memory problem
  • From: Lakshmi <email@hidden>
  • Date: Tue, 17 Jul 2012 16:16:07 +0530

Hi Martin,

The issue exists in "[pool drain]" part of code.

Hope these links might help you:
http://developer.apple.com/library/mac/#technotes/tn2124/_index.html
http://stackoverflow.com/questions/7194586/help-with-crash-log

Regards,
Lakshmi

On 17-Jul-2012, at 4:00 PM, Martin Hewitson 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

References: 
 >looking for a memory problem (From: Martin Hewitson <email@hidden>)

  • Prev by Date: icon overlay the official way
  • Next by Date: iTunes Match vs DRM
  • Previous by thread: Re: looking for a memory problem
  • Next by thread: Help with strange NSInvalidArgumentException
  • Index(es):
    • Date
    • Thread