Segfaults in swift-build bootstrap on Linux?


(Greg Parker) #1

I have seen two PR test runs today on Linux that have crashed in swift-build bootstrap. Is anyone tracking this?

https://ci.swift.org/job/swift-PR-Linux-smoke-test/1381
https://ci.swift.org/job/swift-PR-Linux/702

--- bootstrap: note: building self-hosted 'swift-build': env SWIFT_EXEC=/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux/release/swiftc SWIFT_BUILD_PATH=/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/swiftpm-linux-x86_64 /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux/release/swift-build-stage1 --disable-sandbox -Xlinker -rpath -Xlinker $ORIGIN/../lib/swift/linux -Xlinker -L -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation -Xlinker -rpath -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation/usr/lib/swift -Xlinker -L -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/xctest-linux-x86_64 -Xlinker -rpath -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/xctest-linux-x86_64 -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/xctest-linux-x86_64 -Xlinker -L/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/libdispatch-linux-x86_64/src/.libs -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/libdispatch-linux-x86_64/src -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/libdispatch-linux-x86_64/src/swift -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swift-corelibs-libdispatch -Xcc -fblocks -Xswiftc -enable-testing --configuration release --build-tests
--- bootstrap: error: build failed with exit status -11
/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

···

--
Greg Parker gparker@apple.com <mailto:gparker@apple.com> Runtime Wrangler


(Roman Levenstein) #2

I have seen two PR test runs today on Linux that have crashed in swift-build bootstrap. Is anyone tracking this?

https://ci.swift.org/job/swift-PR-Linux-smoke-test/1381
https://ci.swift.org/job/swift-PR-Linux/702

--- bootstrap: note: building self-hosted 'swift-build': env SWIFT_EXEC=/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux/release/swiftc SWIFT_BUILD_PATH=/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/swiftpm-linux-x86_64 /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/swiftpm-linux-x86_64/x86_64-unknown-linux/release/swift-build-stage1 --disable-sandbox -Xlinker -rpath -Xlinker $ORIGIN/../lib/swift/linux -Xlinker -L -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation -Xlinker -rpath -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/foundation-linux-x86_64/Foundation/usr/lib/swift -Xlinker -L -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/xctest-linux-x86_64 -Xlinker -rpath -Xlinker /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/xctest-linux-x86_64 -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/xctest-linux-x86_64 -Xlinker -L/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/libdispatch-linux-x86_64/src/.libs -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/libdispatch-linux-x86_64/src -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/buildbot_linux/libdispatch-linux-x86_64/src/swift -Xswiftc -I/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swift-corelibs-libdispatch -Xcc -fblocks -Xswiftc -enable-testing --configuration release --build-tests
--- bootstrap: error: build failed with exit status -11
/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting

I’m running into the same issue with my PR testing.

I’m currently trying to reproduce on Linux and fix it.

-Roman

···

On Oct 3, 2017, at 6:58 PM, Greg Parker via swift-dev <swift-dev@swift.org> wrote:

--
Greg Parker gparker@apple.com <mailto:gparker@apple.com> Runtime Wrangler

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Atul Sowani) #3

@gparker42 @Roman_Levenstein I came across this discussion and I am facing the same issue on Ubuntu 16.04, so I am curious to know if this problem got resolved or if it is still work-in-progress... Best regards!