• 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
Re: Crash help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Crash help?
      • From: Michael David Crawford <email@hidden>
References: 
 >Crash help? (From: Shane Stanley <email@hidden>)
 >Re: Crash help? (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Private Methods
  • Next by Date: NSSearchField and Dates
  • Previous by thread: Re: Crash help?
  • Next by thread: Re: Crash help?
  • Index(es):
    • Date
    • Thread