Over-release bug Crash in Xcode6.3b1 or near Swift.String.lowercaseString.getter : Swift.String

Originator:carlb.aus
Number:rdar://19898922 Date Originated:19-Feb-2015 09:22 PM
Status:Open Resolved:
Product:iOS SDK Product Version:Xcode Version 6.3 (6D520o)
Classification:Crash Reproducible:Always
 
Summary:
In the attached sample project, I'm getting a crash when a string I lowercased is being released.  Stack trace:

Foundation	-[NSString lowercaseStringWithLocale:]
libswiftCore.dylib	Swift.String.lowercaseString.getter : Swift.String
libswiftCore.dylib	swift_stdlib_CFStringCreateCopy
libswiftCore.dylib	Swift.String.lowercaseString.getter : Swift.String
Foundation	__NSThreadPerformPerform

Note that in the sample project, if I use line 81 instead of 82 in MasterViewController.swift, it works (that line adds an extra String() call).

Steps to Reproduce:
Build andRun sample project included (I'm using the 8.1 sim) with Xcode6.3beta 1
tap in the search bar
type a letter

Expected Results:
Search bar should accept input and filter tableview

Actual Results:
crash

Version:
Xcode Version 6.3 (6D520o)

Notes:
I included a trace from the NSZombie instrument in case that helps.

Configuration:
MacBook Air 10.10.2 (14C109)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!