swift-foundation icon indicating copy to clipboard operation
swift-foundation copied to clipboard

compile command failed due to signal 11

Open theLastOfCats opened this issue 1 year ago • 1 comments

Got a strange crush while building SwiftFoundation

Gist with dump: https://gist.github.com/theLastOfCats/1c3969e4c3c238d1faa88e4fd31562f5 Action where it happened: https://github.com/theLastOfCats/FrameworkBenchmarks/actions/runs/9806491582/job/27078329706#step:9:8520 Source code: https://github.com/theLastOfCats/FrameworkBenchmarks/tree/master/frameworks/Swift/vapor/vapor-swifql

theLastOfCats avatar Jul 05 '24 10:07 theLastOfCats

I believe that this was a bug that was resolved in Swift 6 with https://github.com/swiftlang/swift/pull/73012. IIRC this bug should only reproduce when building in release mode, so are you able to either build in debug mode (if applicable) or update to the swift 6 compiler to get the bug fix (I believe at this point you'll likely need a Swift 6 compiler to compile this project for other reasons anyways). Perhaps that will resolve the crash you're experiencing?

jmschonfeld avatar Jul 11 '24 16:07 jmschonfeld