Closed swift-ci closed 5 years ago
@swift-ci create
I could reproduce it with Xcode 9, but not anymore with Xcode 10. Seems to be fixed.
Can you please check with the latest Xcode 10 release?
Comment by Gleb Rurenko (JIRA)
It's not reproduced on Xcode 10.
Environment
Xcode 9.4.1 (9F2000) Swift 4.1, Release configuration iPhone X iOS 11.4Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug, OptimizedOnly, RunTimeCrash | |Assignee | None | |Priority | Medium | md5: eb8edd80a4f3d57f6f5cb37762d08d21Issue Description:
What I do:
Build code below in Release configuration:
What I expect:
Will print "Success!"
What I receive:
Fatal error: Attempted to read an unowned reference but object was already deallocated.
Possible workarounds:
1) Remove unowned from Bazz.bar property
2) Remove anyField property or chage type of effectView to UIView
3) Remove closure2 from Graph