What have you tried? First step with something like this is almost always to 
turn on NSZombie.

On 29 Jul 2012, at 11:28, Martin Hewitson wrote:

> Dear list,
> 
> I have a document based app which uses ARC. I have occasional crashes when 
> closing a document. I'm guessing it's a memory issue somewhere, but I'm 
> looking for clues as to where to start looking, or how to sensibly debug 
> this. The backtrace looks like this:
> 
> * thread #1: tid = 0x2503, 0x00007fff8c7682d0 libobjc.A.dylib`objc_msgSend + 
> 16, stop reason = EXC_BAD_ACCESS (code=13, address=0x0)
>    frame #0: 0x00007fff8c7682d0 libobjc.A.dylib`objc_msgSend + 16
>    frame #1: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #2: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #3: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #4: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #5: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #6: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #7: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #8: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #9: 0x00007fff8665a6c7 AppKit`forwardMethod + 125
>    frame #10: 0x00007fff86622243 AppKit`-[NSWindow sendEvent:] + 7994
>    frame #11: 0x00007fff8661dbec AppKit`-[NSApplication sendEvent:] + 4969
>    frame #12: 0x00007fff86533c7a AppKit`-[NSApplication run] + 636
>    frame #13: 0x00007fff864d8656 AppKit`NSApplicationMain + 869
> 
> 
> Any hints and tips, gratefully received.
> 
> Best wishes,
> 
> Martin
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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:
> https://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net
> 
> This email sent to [email protected]


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to