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-320] reference counting problem with NSCalendar.currentCalendar() #4370
Comments
Is this with optimization? |
Comment by markus sähn (JIRA) no optimization. |
Since NSCalendar is a bridged CF type it may be a failure in the ref counting from the bridge itself. |
I added a unit test (currently disabled); this only exhibits on linux builds -
|
Comment by Collin Hundley (JIRA) This is an old issue, but I'm experiencing the exact same problem on Swift 3 snapshot 08-23. Was this issue ever resolved? |
Attachment: Download
Environment
swift2.2 (10.12.15), ubuntu 14.04
Additional Detail from JIRA
md5: 65e4db0691d09d7231be031ea0f38322
Issue Description:
when i use NSCalendar.currentCalendar() after a short time (in my example after the 4. call) the program crashs with the output:
The text was updated successfully, but these errors were encountered: