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-3828] Segmentation Fault on Linux for Calendar(identifier: .iso8601) #4113

swift-ci opened this issue Feb 2, 2017 · 1 comment


Copy link

swift-ci commented Feb 2, 2017

Previous ID SR-3828
Radar None
Original Reporter self (JIRA User)
Type Bug
Status Resolved
Resolution Done
swift --version
Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
swift --version
Swift version 3.0.2 (swift-3.0.2-RELEASE)
Target: x86_64-unknown-linux-gnu
Additional Detail from JIRA
Votes 1
Component/s Foundation
Labels Bug, Linux
Assignee saiHema (JIRA)
Priority Medium

md5: 0d169ed4ce316b607c8a300ff7a1b4aa

Issue Description:

Same code works great on Mac, but cause the compiled binary to Seg Fault on Linux.

import Foundation

let formatter = DateFormatter()
formatter.calendar = Calendar(identifier: .iso8601)
let iso8601 = formatter.string(from: Date())

Full instructions at

Copy link
Contributor Author

swift-ci commented Mar 2, 2017

Comment by sai Hema k (JIRA)

PR #880 merged which resolves this issue

@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
None yet

No branches or pull requests

1 participant