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
May 22, 2019
· 2 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
When using the default toolchain from Xcode 10.2.1, I get a Segmentation fault: 11
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug, CompilerCrash
Assignee
None
Priority
Medium
md5: 7fdd9df278adf93b643010b7472d86d9
duplicates:
SR-8814 GenericSignatureBuilder should re-introduce conformance requirements when adding a superclass requirement
Issue Description:
Hi there
I have a compiler crash with my project when I try to move it to Swift 5.0 (I get a Segmentation fault: 11). It's still happening with swift-5.1 toolchain but I get an Abort trap: 6 instead.
I saw SR-10128 which might be close to what I encounter (I'll let you set the link if needed because testing it with the 5.1 do not resolve my issue).
So, I made some progress on this issue since otherwise I'm stuck to make my project evolving.
As a reminder, the idea of this code was to share duplicated behaviors between table views and collection views. Our base code is handling both of them with the same inputs and outputs. That's the purpose of ListView.
That being said, we have two protocols (ListViewDataSourceTraits & ListViewDelegateTraits) for which there are extensions. These extensions implement default behaviors for some of the protocol's methods. And that's why it is not working.
If I remove the code in the extension and duplicate it in TableViewDataSource, CollectionViewDataSource, ... then the compiler stops yelling at me.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Attachment: Download
Environment
Xcode 10.2.1 (10E1001)
Toolchain: Swift 5.1 Snapshot 2019-05-09 (a)
When using the default toolchain from Xcode 10.2.1, I get a Segmentation fault: 11
Additional Detail from JIRA
md5: 7fdd9df278adf93b643010b7472d86d9
duplicates:
Issue Description:
Hi there
I have a compiler crash with my project when I try to move it to Swift 5.0 (I get a Segmentation fault: 11). It's still happening with swift-5.1 toolchain but I get an Abort trap: 6 instead.
I saw SR-10128 which might be close to what I encounter (I'll let you set the link if needed because testing it with the 5.1 do not resolve my issue).
I attached a project which demos the crash. All the code might not be required but I isolated the parts from my project which are causing an issue.
The text was updated successfully, but these errors were encountered: