Closed
Description
Previous ID | SR-320 |
Radar | None |
Original Reporter | papierschiff (JIRA User) |
Type | Bug |
Status | Resolved |
Resolution | Done |
Attachment: Download
Environment
swift2.2 (10.12.15), ubuntu 14.04
Additional Detail from JIRA
Votes | 0 |
Component/s | Foundation |
Labels | Bug, CoreFoundation, Linux |
Assignee | None |
Priority | Medium |
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:
/home/buildslave/jenkins/workspace/oss-swift-linux-packages-ubuntu_14_04/swift/include/swift/Runtime/../../../stdlib/public/SwiftShims/RefCount.h:207: bool StrongRefCount::doDecrementShouldDeallocate() [ClearPinnedFlag = false]: Assertion `newval + quantum >= RC_ONE && "releasing reference with a refcount of zero"' failed.
Aborted (core dumped)