Skip to content
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-14825] Build fails with "Illegal instruction: 4" #57173

Closed
swift-ci opened this issue Jun 25, 2021 · 6 comments
Closed

[SR-14825] Build fails with "Illegal instruction: 4" #57173

swift-ci opened this issue Jun 25, 2021 · 6 comments
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 incremental compilation legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project swift 5.4

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-14825
Radar rdar://79778610
Original Reporter dscoppelletti (JIRA User)
Type Bug
Environment

Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)

XCode 12.5.1

macOS 11.4

iOS Deployment Target: 14.1

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 8d509185bf06f8a7f6db351cfbeabedc

Issue Description:

The building of my project (illegalinstruction.tar.gz) fails with "Illegal instruction: 4" (build log Build-target-ui_2021-06-25T16-04-59.txt).

If I comment out the body of the openMaps method in GuestEventView.swift source file (success.tar.gz), the build has success.

@swift-ci
Copy link
Collaborator Author

Comment by Dario Scoppelletti (JIRA)

Inserted the issue FB9209535 by Feedback Assistant

@typesanitizer
Copy link

Hi Dario, we have deleted the attachments, since this bug tracker is public (feedbacks submitted are confidential) and people don't usually upload full apps.

@swift-ci
Copy link
Collaborator Author

Comment by Dario Scoppelletti (JIRA)

theindigamer (JIRA User), you are right about the attachments, but I was unable to reproduce the issue with a smaller app, and I am afraid no one will be able to solve the issue without my full app or at least the build log.

However, today I made few changes to the code and the build started fail again even with the openMaps method commented out.

@typesanitizer
Copy link

The attachments are present in the feedback, so that should help in investigating the issue.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@xymus
Copy link
Contributor

xymus commented Mar 31, 2023

We stopped using the merge-module logic since Xcode 14. It was prone to this kind of crashes, it shouldn’t reproduce at this point. If you do see such an issue again please notify us here or open a new issue.

@xymus xymus closed this as completed Mar 31, 2023
@AnthonyLatsis AnthonyLatsis added compiler crash legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project incremental compilation crash Bug: A crash, i.e., an abnormal termination of software swift 5.4 labels Apr 4, 2023
@AnthonyLatsis
Copy link
Collaborator

We stopped using the merge-module logic

apple/swift-driver#730

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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 incremental compilation legacy driver Area → compiler: the integrated C++ legacy driver. Succeeded by the swift-driver project swift 5.4
Projects
None yet
Development

No branches or pull requests

4 participants