Re: Crash help?
Re: Crash help?
- Subject: Re: Crash help?
- From: Jens Alfke <email@hidden>
- Date: Thu, 20 Aug 2015 08:36:27 -0700
> On Aug 20, 2015, at 2:16 AM, Mike Abdullah <email@hidden> wrote:
>
> You can repro? That’s a great start! Considering it’s a crash in objc_msgSend, my first suspicion is a zombie.
Yup. A valuable things to know in Obj-C debugging is that:
* 99% of the time, a crash in objc_msgsend means that the receiver of a method-call is a dealloced object. (Enabling Zombies will help track it down.)
* The other 1% of the time, it’s a live object that’s been overwritten by a buffer overflow or random heap corruption. (Guard Malloc or, in Xcode 7, the Address Sanitizer, can help.)
—Jens
_______________________________________________
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