You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macOS 10.12: Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38), Target: x86_64-apple-macosx10.9
Ubuntu 15.10: Swift version 3.0 (swift-3.0-RELEASE), Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
Votes
0
Component/s
Compiler, Foundation
Labels
Bug, RunTimeCrash
Assignee
jaspa (JIRA)
Priority
Medium
md5: fe2b6a271eadd347bd49b6137b371a8f
Issue Description:
Attempting to insert U+D7FF into a CharacterSet crashes when that UnicodeScalar is contained in a ClosedRange<UnicodeScalar>. A crash also occurs when trying to construct a CharacterSet directly with init(charactersIn: ClosedRange<UnicodeScalar>). No such crash occurs when initializing or inserting into a CharacterSet with that single UnicodeScalar.
On macOS, the crash results in: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
On linux, the crash results in: signal SIGILL: illegal instruction operand
The text was updated successfully, but these errors were encountered:
Attachment: Download
Environment
Verified on both:
macOS 10.12: Apple Swift version 3.0 (swiftlang-800.0.46.2 clang-800.0.38), Target: x86_64-apple-macosx10.9
Ubuntu 15.10: Swift version 3.0 (swift-3.0-RELEASE), Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
md5: fe2b6a271eadd347bd49b6137b371a8f
Issue Description:
Attempting to insert U+D7FF into a CharacterSet crashes when that UnicodeScalar is contained in a ClosedRange<UnicodeScalar>. A crash also occurs when trying to construct a CharacterSet directly with init(charactersIn: ClosedRange<UnicodeScalar>). No such crash occurs when initializing or inserting into a CharacterSet with that single UnicodeScalar.
On macOS, the crash results in: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
On linux, the crash results in: signal SIGILL: illegal instruction operand
The text was updated successfully, but these errors were encountered: