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
swift-ci opened this issue
Feb 21, 2019
· 2 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
That's a new one for me. Pretty interesting crash. The reproducer crashes on a recent build from master. Looks like disagreement as to whether this reference should use Swift or ObjC unowned semantics.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
Environment
Xcode 10.2 beta 3 (10P99q)
Swift compiler swiftlang-1001.0.63.8 clang-1001.0.44
Additional Detail from JIRA
md5: f92bd658577ff89456d76693b6af0dca
Issue Description:
The following code reliably crashes at runtime:
with the following stack trace:
Ways to make the crash go away:
Remove `Bar.str2` (the entire property)
Make the struct non-generic
Change the struct to a class
Removed `unowned` (to weak or strong)
We have seen a handful of reports of this happening with current tooling (Xcode 10.1) as well, but can't reliably reproduce.
The text was updated successfully, but these errors were encountered: