Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
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