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
Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?
Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.
Description
swift-container-plugin's CI has a scheduled GitHub Action which installs the Static Linux SDK in an Ubuntu VM and uses it to build some example projects. This job fails intermittently with a segmentation fault. The scheduled job has only been running for a couple of days, but I also saw this problem once while working on the CI job so it has happened at least twice. The earlier failure log seems to have been lost because I re-ran the job.
I have not yet reproduced this issue in a local Linux machine, and I have never seen it on macOS.
The CI runs two examples in parallel. I don't know if these run in the same underlying VM: if they do, the problem might be caused by two processes trying to install the SDK at the same time. If that is the case, SwiftPM still shouldn't segfault.
Is it reproducible with SwiftPM command-line tools:
swift build
,swift test
,swift package
etc?swift build
,swift test
,swift package
etc.Description
swift-container-plugin's CI has a scheduled GitHub Action which installs the Static Linux SDK in an Ubuntu VM and uses it to build some example projects. This job fails intermittently with a segmentation fault. The scheduled job has only been running for a couple of days, but I also saw this problem once while working on the CI job so it has happened at least twice. The earlier failure log seems to have been lost because I re-ran the job.
I have not yet reproduced this issue in a local Linux machine, and I have never seen it on macOS.
Expected behavior
The SDK should install successfully.
Actual behavior
The SDK install sometimes segfaults:
https://github.com/apple/swift-container-plugin/actions/runs/12269075412/job/34232032783
Steps to reproduce
Attempt to install the released version of the Static Linux SDK on an Ubuntu 24.04 VM in GitHub actions.
https://github.com/apple/swift-container-plugin/blob/main/.github/workflows/endtoend_tests.yml
https://github.com/apple/swift-container-plugin/actions?query=event%3Aschedule+branch%3Amain
Swift Package Manager version/commit hash
6.0.2
Swift & OS version (output of
swift --version ; uname -a
)OS Version: 22.04.5 LTS
Kernel Version: 6.5.0-1025-azure
Image Version: 20241201.1.0
Swift 6.0.2
Full list of included software is at: https://github.com/actions/runner-images/blob/ubuntu22/20241201.1/images/ubuntu/Ubuntu2204-Readme.md
The text was updated successfully, but these errors were encountered: