• 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: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?


  • Subject: Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
  • From: Michael Hall <email@hidden>
  • Date: Fri, 22 May 2015 21:12:16 -0500

> On May 22, 2015, at 8:42 PM, Jens Alfke <email@hidden> wrote:
>
>  0xbaddc0dedeadbead

Check Google, or duckduckgo?
It seems to come up in a variety of crashes. I’m not sure that I could pick Swift out of them, but they pretty exclusively seem to be Yosemite.

> This is obviously a magic value that someone put there to indicate the pointer isn’t valid, but I’ve never seen that particular value before. I’m guessing that it’s something to do with the Swift runtime.

It does seem to sort of have the old Apple thing of using hex to make words that are used as magic. But not completely consistently. You would think you could be even more creative these days with 64 bit addresses to work with. I tried to narrow my search to Apple sites to see if I could find it mentioned in doc somewhere but came up empty.

Michael Hall





_______________________________________________

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


References: 
 >What is overwriting 'isa' with 0xbaddc0dedeadbead ? (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Disabling auto-synthesis of property accessors.
  • Next by Date: Re: Custom NSView subclass - expressing the fact that a property affects the displayed image
  • Previous by thread: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
  • Next by thread: Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
  • Index(es):
    • Date
    • Thread