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
Ubuntu 15.10 Desktop on Parallels 12
MacBook Pro ca 2012 (1st gen retina), OSX El Capitan
Additional Detail from JIRA
Votes
2
Component/s
Foundation
Labels
Bug, Linux, RunTimeCrash
Assignee
None
Priority
Medium
md5: eadbe71e96fe163f2418e8f283419c9e
relates to:
SR-2462 Compiler is sometimes overreleasing CF objects
Issue Description:
Printing date 4 times triggers segmentation fault. The following code prints the date three times. It is always on the fourth iteration the segfault occurs.
for_in0..<4 { print(Date()) }
The bug apparently is in Date.description. The following code behaves similarly:
for_in0..<4 { _ = Date().description }
(swift-DEVELOPMENT-SNAPSHOT-2016-08-24-a)
The text was updated successfully, but these errors were encountered:
Welcome to Swift version 3.0-dev (LLVM fff9c29ba5, Clang e7fc81033c, Swift b03e7c3385). Type :help for assistance.
1> import Foundation
2> let date = Date()
date: Foundation.Date = 2016-09-27 03:26:32 GMT
3> date.description
$R0: String = "2016-09-27 03:26:32 +0000"
4> date.description
Execution interrupted. Enter code to recover and continue.
Enter LLDB commands to investigate (type :help for assistance.)
5>
Environment
Ubuntu 15.10 Desktop on Parallels 12
MacBook Pro ca 2012 (1st gen retina), OSX El Capitan
Additional Detail from JIRA
md5: eadbe71e96fe163f2418e8f283419c9e
relates to:
Issue Description:
Printing date 4 times triggers segmentation fault. The following code prints the date three times. It is always on the fourth iteration the segfault occurs.
The bug apparently is in Date.description. The following code behaves similarly:
(swift-DEVELOPMENT-SNAPSHOT-2016-08-24-a)
The text was updated successfully, but these errors were encountered: