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

looking for a memory problem


  • Subject: looking for a memory problem
  • From: Martin Hewitson <email@hidden>
  • Date: Tue, 17 Jul 2012 12:30:39 +0200

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

  • Follow-Ups:
    • Re: looking for a memory problem
      • From: Lakshmi <email@hidden>
    • Re: looking for a memory problem
      • From: Sean McBride <email@hidden>
    • Re: looking for a memory problem
      • From: Charlie Dickman <email@hidden>
    • Re: looking for a memory problem
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: Sensible NSMultipleValuesMarker placeholder alternatives?
  • Next by Date: Re: looking for a memory problem
  • Previous by thread: Re: Sensible NSMultipleValuesMarker placeholder alternatives?
  • Next by thread: Re: looking for a memory problem
  • Index(es):
    • Date
    • Thread