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-14680] Compiler crash during verification of SIL function (Linux only) #57031

Open
swift-ci opened this issue May 31, 2021 · 3 comments
Open
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

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-14680
Radar rdar://problem/78698170
Original Reporter Polzin (JIRA User)
Type Bug

Attachment: Download

Environment

Swift 5.4.1
Linux (official swift:5.4-xenial Docker image, though all official Swift 5.4 Docker images exhibit the crash)

CI for OpenAPIKit project (link to failing check: https://github.com/mattpolzin/OpenAPIKit/pull/198/checks?check_run_id=2712963638)

Additional Detail from JIRA
Votes 1
Component/s Compiler
Labels Bug, CompilerCrash
Assignee None
Priority Medium

md5: a2edc956fc3fe71f123e8ad9530f2b5d

is duplicated by:

  • SR-14743 Compiler Crash with Swift 5.4.1/5.5/main on Linux

Issue Description:

The Swift 5.4 compiler is currently crashing when verifying a SIL function for the OpenAPIKit project but only under Linux. I only know about the problem because I was adding Linux Swift 5.4 tests to my CI configuration. A full log of the test run is attached, complete with crash logging from the compiler.

Unfortunately, I do not have time to pare this crasher down to a smaller example, although the project is open source so the bug is easily reproducible for anyone using the same code and environment.

@typesanitizer
Copy link

@swift-ci create

@PSchmiedmayer
Copy link

As pointed out by Mathew Polzin (mattpolzin/OpenAPIKit#224 the following issue seems to track the same problem: https://bugs.swift.org/browse/SR-14743

@PSchmiedmayer
Copy link

@weissi As noted in your tweet I have checked it with the nightly builds for Swift 5.4 and Swift 5.5: https://github.com/PSchmiedmayer/OpenAPIKit/actions/runs/920890077. The build fails on the nightly builds of Swift 5.4 and Swift 5.5 as well as the nightly builds on the main branch. The builds run fine on macOS. As far as I can see it started failing with Swift 5.4, Swift 5.3 builds seem to be fine.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 2022
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
Projects
None yet
Development

No branches or pull requests

4 participants