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-15040] The 5.5 snapshot compiler for linux crashes with "SIL memory lifetime failure" when compiling the NIO tests #57367
Comments
A little more info: I can't reproduce with the official build of the Swift 5.4.2 compiler for linux, but the same compiler crash recurs with the official trunk snapshot builds, implying this has regressed since 5.4 branched. |
CC @gottesmm Yes, Swift 5.5/main fails to build NIO's tests since at least February: https://bugs.swift.org/browse/SR-14590 / https://bugs.swift.org/browse/SR-14268 . I have no idea why this isn't being looked at. CC @tomerd |
I’m surprised that our CI is not reporting this. |
The tests are turned off on the NIO CI for Swift 5.5/trunk because of the bugs Johannes reported earlier. If you were to turn it back on, then remove the two files above as I did to avoid that bug, you would hit this one. |
Just tried again with the latest official snapshot builds for Sep. 9: I can still reproduce with the latest Swift 5.5 snapshot build but not the trunk one. |
The fix was reverted in trunk, so reopening: |
We should probably double check that it actually affects NIO: we added a bunch of code that I suspect worked around the issue. |
I reopened because the revert broke building the NIO tests on my Android CI again, I'm guessing it broke the official NIO CI too. |
Environment
Fedora Core 33
Additional Detail from JIRA
md5: 541806f85ff0c7ce6dab0fad72ded8d3
is duplicated by:
Issue Description:
I've been seeing this on my Android CI, so I had to disable building NIO with Swift 5.5, and I just tried reproducing on Fedora x64 with the latest official prebuilt Swift 5.5 snapshot.
First, I had to remove some test files because of another 5.5 bug with
rm Tests/NIOTests/SocketAddressTest*.swift
, then I built the tests:> ~/swift-5.5-DEVELOPMENT-SNAPSHOT-2021-08-05-a-centos8/usr/bin/swift build --build-tests
It fails on linux too with pretty much the same error:
@eeckstein, maybe you know what's going on. @weissi and @Lukasa, you may be interested too.
The text was updated successfully, but these errors were encountered: