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

[Source compatibility suite] Projects failing to build due to compiler crash - compile command failed due to signal 11 (use -v to see invocation) #73802

Open
justice-adams-apple opened this issue May 21, 2024 · 0 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. source compatibility suite Flag: An issue that surfaced in the source compatibility suite triage needed This issue needs more specific labels

Comments

@justice-adams-apple
Copy link
Contributor

justice-adams-apple commented May 21, 2024

Description

Multiple projects are failing to build projects on the main branch with a compiler crash. The projects in question are:

The crash trace seen in the log

Eror: compile command failed due to signal 11 (use -v to see invocation)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: <ARGS>
1.	Apple Swift version 6.0-dev (LLVM d5c188027e398b3, Swift 55a2a412dccc898)
2.	Compiling with effective version 5.10
3.	While evaluating request IRGenRequest(IR Generation for file "/Users/ec2-user/jenkins/workspace/swift-main-source-compat-suite-debug/swift-source-compat-suite/project_cache/Doggie/Sources/DoggieGPU/CoreImage/WrapTileKernel.swift")
4.	While emitting IR SIL function "@$sSo7CIImageC9DoggieGPUE14WrapTileKernel33_42EA69ED33F43DAF97AE39F7AD2894A3LLC7process4with9arguments6outputySaySo0A14ProcessorInput_pGSg_SDySSypGSgSo0aS6Output_ptKFZ".
 for 'process(with:arguments:output:)' (at /Users/ec2-user/jenkins/workspace/swift-main-source-compat-suite-debug/swift-source-compat-suite/project_cache/Doggie/Sources/DoggieGPU/CoreImage/WrapTileKernel.swift:40:18)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x00000001078700d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 40
1  swift-frontend           0x000000010786e278 llvm::sys::RunSignalHandlers() + 248
2  swift-frontend           0x000000010787073e SignalHandler(int) + 270
3  libsystem_platform.dylib 0x00007ff8047a55ed _sigtramp + 29
4  libc++abi.dylib          0x00007ff804733b7a operator new(unsigned long) + 26
5  swift-frontend           0x000000010182feb4 swift::irgen::ClassTypeInfo::strongCustomRetain(swift::irgen::IRGenFunction&, swift::irgen::Explosion&, bool) const + 100
6  swift-frontend           0x000000010182f073 (anonymous namespace)::SyncCallEmission::emitCallToUnmappedExplosion(llvm::CallBase*, swift::irgen::Explosion&) + 531
7  swift-frontend           0x0000000101817e8d swift::irgen::CallEmission::emitToExplosion(swift::irgen::Explosion&, bool) + 1037
8  swift-frontend           0x0000000101a28e8b (anonymous namespace)::IRGenSILFunction::visitFullApplySite(swift::FullApplySite) + 4363
9  swift-frontend           0x0000000101a03a7c (anonymous namespace)::IRGenSILFunction::visitSILBasicBlock(swift::SILBasicBlock*) + 1692
10 swift-frontend           0x0000000101a0229d (anonymous namespace)::IRGenSILFunction::emitSILFunction() + 11389
11 swift-frontend           0x00000001019fefed swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 2253
12 swift-frontend           0x000000010187dbd4 swift::irgen::IRGenerator::emitGlobalTopLevel(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>> const&) + 836
13 swift-frontend           0x00000001019a37a0 swift::IRGenRequest::evaluate(swift::Evaluator&, swift::IRGenDescriptor) const + 2720
14 swift-frontend           0x00000001019fe261 swift::GeneratedModule swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule (swift::IRGenDescriptor), (swift::RequestFlags)9>::callDerived<0ul>(swift::Evaluator&, std::__1::integer_sequence<unsigned long, 0ul>) const + 209
15 swift-frontend           0x00000001019fe14e swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule (swift::IRGenDescriptor), (swift::RequestFlags)9>::evaluateRequest(swift::IRGenRequest const&, swift::Evaluator&) + 14
16 swift-frontend           0x00000001019acb6f swift::IRGenRequest::OutputType swift::Evaluator::getResultUncached<swift::IRGenRequest, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()>(swift::IRGenRequest const&, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()) + 191
17 swift-frontend           0x00000001019a5edc swift::performIRGeneration(swift::FileUnit*, swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::GlobalVariable**) + 284
18 swift-frontend           0x000000010141ac44 generateIR(swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, llvm::GlobalVariable*&, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>) + 180
19 swift-frontend           0x0000000101416103 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1491
20 swift-frontend           0x0000000101415357 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 727
21 swift-frontend           0x00000001014296bf withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 143
22 swift-frontend           0x00000001014180f0 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 928
23 swift-frontend           0x0000000101416e41 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3137
24 swift-frontend           0x00000001011f1d6b swift::mainEntry(int, char const**) + 2539
25 dyld                     0x00007ff80441e41f start + 1903

Reproduction

Expected behavior

Expected the projects to build correctly

Environment

Apple Swift version 6.0-dev (LLVM d5c188027e398b3, Swift 55a2a41)

Additional information

Looks like this started on May 18th:
https://ci.swift.org/job/swift-main-source-compat-suite-debug/779/

@justice-adams-apple justice-adams-apple added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels labels May 21, 2024
@justice-adams-apple justice-adams-apple changed the title [Source compatibility suite] Projects failing to build due to compiler crash - (anonymous namespace)::SyncCallEmission::emitCallToUnmappedExplosion(llvm::CallBase*, swift::irgen::Explosion&) [Source compatibility suite] Projects failing to build due to compiler crash - compile command failed due to signal 11 (use -v to see invocation) May 21, 2024
@justice-adams-apple justice-adams-apple added the source compatibility suite Flag: An issue that surfaced in the source compatibility suite label May 21, 2024
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. source compatibility suite Flag: An issue that surfaced in the source compatibility suite triage needed This issue needs more specific labels
Projects
None yet
Development

No branches or pull requests

1 participant