Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-2510] NSMutableCharacterSet.formUnion crashes on Linux #4452

Closed
swift-ci opened this issue Aug 28, 2016 · 1 comment
Closed

[SR-2510] NSMutableCharacterSet.formUnion crashes on Linux #4452

swift-ci opened this issue Aug 28, 2016 · 1 comment

Comments

@swift-ci
Copy link
Contributor

Previous ID SR-2510
Radar None
Original Reporter tomquist (JIRA User)
Type Bug
Status Closed
Resolution Done
Environment

Linux ubuntu 4.2.0-36-generic #42-Ubuntu SMP Thu May 12 22:05:35 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
swift-DEVELOPMENT-SNAPSHOT-2016-08-26-a

Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Bug, Linux, RunTimeCrash
Assignee None
Priority Medium

md5: a34d3bf38d3d15d29e46da6d2b616f09

Issue Description:

The following code crashes:

let charset = NSMutableCharacterSet(charactersIn: "abc")
charset.formUnion(with: CharacterSet(charactersIn: "ABC"))
0  swift           0x00000000033f9e18 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1  swift           0x00000000033f8616 llvm::sys::RunSignalHandlers() + 54
2  swift           0x00000000033fa946
3  libpthread.so.0 0x00007fb1b1dc9d10
Stack dump:
0.  Program arguments: /home/tom/.swiftenv/versions/DEVELOPMENT-SNAPSHOT-2016-08-26-a/usr/bin/swift -frontend -interpret bla.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -color-diagnostics -module-name bla 
Speicherzugriffsfehler
@swift-ci
Copy link
Contributor Author

Comment by Alexander Belonogov (JIRA)

This issue is fixed:
#1307

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant