New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SR-5284] Reproducible segfault at swift::ModuleFile::getTypeChecked #47859
Comments
To confirm: this doesn't fail in Xcode 8.3? |
@swift-ci create |
Comment by George King (JIRA) Yes, this code used to compile fine using the XCode 8.3.2 toolchain. |
Comment by George King (JIRA) I tried this on Xcode 9b2 and it fails in the same way. |
Comment by George King (JIRA) Still failing on Xcode 9b3. |
Comment by George King (JIRA) I have produced a minimal repro of the bug, attached here. Just running the single file under the swift interpreter exits cleanly, but building the package crashes similarly to the initial trace above. swift-crflex-bug.zip |
Prospective fix at #10956 |
Follow-up work in #11018 |
4.0 branch: #11013 |
Merged into swift-4.0-branch, will be in a future Xcode release. |
Comment by George King (JIRA) I'm still seeing this crash after installing Xcode 9 beta4 and the corresponding command line tools. Did this fix not make it into that release? $ swift --version |
It did not, sorry. |
Comment by George King (JIRA) OK, thanks - better than the alternative! |
Attachment: Download
Environment
OSX 10.12...10.13b3; Xcode 9b1...9b3.
Additional Detail from JIRA
md5: ca543f0c1a4225dd18f7cee68a6331e5
Issue Description:
Repro as follows; let me know if there is something more useful I can provide.
The text was updated successfully, but these errors were encountered: