Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
- Subject: Re: What is overwriting 'isa' with 0xbaddc0dedeadbead ?
- From: Jens Alfke <email@hidden>
- Date: Sat, 23 May 2015 15:31:26 -0700
I’m now convinced this is a Swift code-gen error. I’ve confirmed that the object that’s prematurely freed is the temporary NSString created by swift_convertStringToNSString. It’s being freed by a call to swift_release that occurs inside the method that the NSString gets passed into. In other words, the compiled code is over-releasing this ephemeral NSString that never appears in the source code at all.
I’m not sure I can simplify this into a test case, but I’ll try.
—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