> On Aug 20, 2015, at 2:16 AM, Mike Abdullah <mabdul...@karelia.com> 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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to