[SR-5330] Swift 4 Segmentation Faults Constantly on Realm #47904
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
regression
serialization
Area → compiler: Serialization & deserialization
swift 4.0
Environment
Additional Detail from JIRA
md5: cbfd64381e21f6216f34f44c12e8c9b2
Issue Description:
Since upgrading to Swift 4 and Xcode 9 Beta 2. The amount of segfaults I have received have increased tenfold. At this point the compiler is segfaulting for simple spelling mistakes. There are no actual errors given just the basic
Command failed due to signal: Segmentation fault: 11 error.
Not exactly sure what is causing all these segfaults but I have noticed that Realm seems be involved in causing these. Removing my import for RealmSwift when the compiler has segfaulted and rebuilding seems to generate actual error messages and such.
Here is a log of a segfault where spelling statu as status inside a switch caused a segfault:
A full project can be found here using the ios11 branch while running on Xcode 9 Beta 1 - 2. Just writing basic code causes issues on my setup, and im guessing it will happen for anyone else too.
The text was updated successfully, but these errors were encountered: