Re: Crash when loading NSViewController view with NSArrayController
Re: Crash when loading NSViewController view with NSArrayController
- Subject: Re: Crash when loading NSViewController view with NSArrayController
- From: Ken Thomases <email@hidden>
- Date: Sat, 29 Sep 2012 08:40:16 -0500
On Sep 29, 2012, at 7:58 AM, Markus Spoettl wrote:
> I need help.
>
> I'm still stuck with a crash a posted here a couple of weeks back and there is some more information now but I'm still at a loss understanding what is going on.
I sympathize. It can be very hard to debug these sorts of things.
A couple of things I would try:
1) Examine the registers for the stack frame of the objc_msgSend_vtable5() call to see if you can figure out what message was being sent and possibly its arguments. <http://sealiesoftware.com/blog/archive/2008/09/22/objc_explain_So_you_crashed_in_objc_msgSend.html>
2) Run under the Zombies instrument, which collects history for object addresses. At the crash point, try to identify the address of the object being messaged (see above) and then examine its history to figure what that is/was, where it was allocated, and what might have happened to it. You can also use MallocStackLoggingNoCompact to collect the history without the Zombies instrument, if that's easier. Either use the malloc_history command or gdb's "info malloc-history" command.
Good luck,
Ken
_______________________________________________
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