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

[wasm] Random emcc/clang crashes on perf pipeline #76170

Closed
radical opened this issue Sep 26, 2022 · 8 comments
Closed

[wasm] Random emcc/clang crashes on perf pipeline #76170

radical opened this issue Sep 26, 2022 · 8 comments
Labels
arch-wasm WebAssembly architecture area-Build-mono needs-author-action An issue or pull request that requires more info or actions from the author. perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines
Milestone

Comments

@radical
Copy link
Member

radical commented Sep 26, 2022

Log:

clang version 15.0.0 (https://github.com/llvm/llvm-project d58cc0839ee5935e649dbbc18c898a8e4bcd6724)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin
 (in-process)
 "/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15" -cc1 -triple wasm32-unknown-emscripten -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name Microsoft.Diagnostics.Runtime.dll.bc -mrelocation-model static -mframe-pointer=none -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -resource-dir /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/lib/clang/15.0.0 -O2 -Werror=implicit-function-declaration -fdebug-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -ferror-limit 19 -fvisibility default -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /home/helixbot/work/9A41095F/t/tmpZvAtQ0.tmp -x ir /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Microsoft.Diagnostics.Runtime.dll.bc
clang -cc1 version 15.0.0 based upon LLVM 15.0.0git default target x86_64-unknown-linux-gnu
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15 --driver-mode=g++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=12 -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Cache.linux-x64/8.0.0-alpha.1.22462.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O2 -v -c /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Microsoft.Diagnostics.Runtime.dll.bc -o /home/helixbot/work/9A41095F/t/tmpZvAtQ0.tmp
1.	Code generation
2.	Running pass 'Function Pass Manager' on module '/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Microsoft.Diagnostics.Runtime.dll.bc'.
3.	Running pass 'WebAssembly Register Stackify' on function '@Microsoft_Diagnostics_Runtime_System_Collections_Immutable_ImmutableDictionary_2_HashBucket_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_Add_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Generic_IEqualityComparer_1_System_Collections_Generic_KeyValuePair_2_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Generic_IEqualityComparer_1_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Immutable_ImmutableDictionary_2_KeyCollisionBehavior_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Immutable_ImmutableDictionary_2_OperationResult_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_'
 #0 0x000056500bde4053 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da6053)
 #1 0x000056500bde19de llvm::sys::RunSignalHandlers() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da39de)
 #2 0x000056500bde3323 llvm::sys::CleanupOnSignal(unsigned long) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da5323)
 #3 0x000056500bd3ac27 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfcc27)
 #4 0x00007f55b6811980 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12980)
 #5 0x00007f55b58c6a6d free /build/glibc-S9d2JN/glibc-2.27/malloc/malloc.c:3113:0
 #6 0x000056500b186a28 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2148a28)
 #7 0x000056500b186c7d (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2148c7d)
 #8 0x000056500b184430 llvm::MachineRegisterInfo::createVirtualRegister(llvm::TargetRegisterClass const*, llvm::StringRef) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2146430)
 #9 0x000056500aa0181a (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x19c381a)
#10 0x000056500b1424ac llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x21044ac)
#11 0x000056500b601fdd llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25c3fdd)
#12 0x000056500b60b9e3 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25cd9e3)
#13 0x000056500b602e0e llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25c4e0e)
#14 0x000056500c683864 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::__2::unique_ptr<llvm::raw_pwrite_stream, std::__2::default_delete<llvm::raw_pwrite_stream>>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3645864)
#15 0x000056500caf8fe2 clang::CodeGenAction::ExecuteAction() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3abafe2)
#16 0x000056500ca1a945 clang::FrontendAction::Execute() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x39dc945)
#17 0x000056500c97bcd2 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x393dcd2)
#18 0x000056500caf38c3 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3ab58c3)
#19 0x000056500a9a767b cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x196967b)
#20 0x000056500a9a5686 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1967686)
#21 0x000056500c7ad7f2 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f7f2)
#22 0x000056500bd3a6c7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfc6c7)
#23 0x000056500c7ad448 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char>>*, bool*) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f448)
#24 0x000056500c768395 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x372a395)
#25 0x000056500c7890ec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__2::pair<int, clang::driver::Command const*>>&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x374b0ec)
#26 0x000056500a9a4ceb main (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1966ceb)
#27 0x00007f55b5850bf7 __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:344:0
#28 0x000056500a92179a _start (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x18e379a)
clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 15.0.0 (https://github.com/llvm/llvm-project d58cc0839ee5935e649dbbc18c898a8e4bcd6724)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin
 (in-process)
 "/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15" -cc1 -triple wasm32-unknown-emscripten -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name Newtonsoft.Json.dll.bc -mrelocation-model static -mframe-pointer=none -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -resource-dir /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/lib/clang/15.0.0 -O2 -Werror=implicit-function-declaration -fdebug-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -ferror-limit 19 -fvisibility default -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /home/helixbot/work/9A41095F/t/tmppCR6a4.tmp -x ir /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Newtonsoft.Json.dll.bc
clang -cc1 version 15.0.0 based upon LLVM 15.0.0git default target x86_64-unknown-linux-gnu
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15 --driver-mode=g++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=12 -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Cache.linux-x64/8.0.0-alpha.1.22462.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O2 -v -c /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Newtonsoft.Json.dll.bc -o /home/helixbot/work/9A41095F/t/tmppCR6a4.tmp
1.	Code generation
2.	Running pass 'WebAssembly MC Lower Pre Pass' on module '/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Newtonsoft.Json.dll.bc'.
 #0 0x000055717e9d5053 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da6053)
 #1 0x000055717e9d29de llvm::sys::RunSignalHandlers() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da39de)
 #2 0x000055717e9d4323 llvm::sys::CleanupOnSignal(unsigned long) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da5323)
 #3 0x000055717e92bc27 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfcc27)
 #4 0x00007fb3a0e28980 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12980)
 #5 0x000055717d61f82f (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x19f082f)
 #6 0x000055717e1f3e0e llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25c4e0e)
 #7 0x000055717f274864 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::__2::unique_ptr<llvm::raw_pwrite_stream, std::__2::default_delete<llvm::raw_pwrite_stream>>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3645864)
 #8 0x000055717f6e9fe2 clang::CodeGenAction::ExecuteAction() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3abafe2)
 #9 0x000055717f60b945 clang::FrontendAction::Execute() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x39dc945)
#10 0x000055717f56ccd2 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x393dcd2)
#11 0x000055717f6e48c3 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3ab58c3)
#12 0x000055717d59867b cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x196967b)
#13 0x000055717d596686 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1967686)
#14 0x000055717f39e7f2 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f7f2)
#15 0x000055717e92b6c7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfc6c7)
#16 0x000055717f39e448 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char>>*, bool*) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f448)
#17 0x000055717f359395 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x372a395)
#18 0x000055717f37a0ec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__2::pair<int, clang::driver::Command const*>>&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x374b0ec)
#19 0x000055717d595ceb main (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1966ceb)
#20 0x00007fb39fe67bf7 __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:344:0
#21 0x000055717d51279a _start (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x18e379a)
clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation)

Other instances - log, and log.

note: these were on PERFTIGER198. Same as #76167 .

This one on PERFTIGER200, and has a similar crash.

cc @radekdoulik @vargaz
cc @DrewScoggins

@radical radical added arch-wasm WebAssembly architecture area-VM-meta-mono perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines labels Sep 26, 2022
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Sep 26, 2022
@ghost
Copy link

ghost commented Sep 26, 2022

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Log:

clang version 15.0.0 (https://github.com/llvm/llvm-project d58cc0839ee5935e649dbbc18c898a8e4bcd6724)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin
 (in-process)
 "/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15" -cc1 -triple wasm32-unknown-emscripten -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name Microsoft.Diagnostics.Runtime.dll.bc -mrelocation-model static -mframe-pointer=none -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -resource-dir /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/lib/clang/15.0.0 -O2 -Werror=implicit-function-declaration -fdebug-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -ferror-limit 19 -fvisibility default -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /home/helixbot/work/9A41095F/t/tmpZvAtQ0.tmp -x ir /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Microsoft.Diagnostics.Runtime.dll.bc
clang -cc1 version 15.0.0 based upon LLVM 15.0.0git default target x86_64-unknown-linux-gnu
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15 --driver-mode=g++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=12 -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Cache.linux-x64/8.0.0-alpha.1.22462.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O2 -v -c /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Microsoft.Diagnostics.Runtime.dll.bc -o /home/helixbot/work/9A41095F/t/tmpZvAtQ0.tmp
1.	Code generation
2.	Running pass 'Function Pass Manager' on module '/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Microsoft.Diagnostics.Runtime.dll.bc'.
3.	Running pass 'WebAssembly Register Stackify' on function '@Microsoft_Diagnostics_Runtime_System_Collections_Immutable_ImmutableDictionary_2_HashBucket_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_Add_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Generic_IEqualityComparer_1_System_Collections_Generic_KeyValuePair_2_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Generic_IEqualityComparer_1_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Immutable_ImmutableDictionary_2_KeyCollisionBehavior_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_System_Collections_Immutable_ImmutableDictionary_2_OperationResult_uint_Microsoft_Diagnostics_Runtime_Utilities_thread_state_t_'
 #0 0x000056500bde4053 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da6053)
 #1 0x000056500bde19de llvm::sys::RunSignalHandlers() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da39de)
 #2 0x000056500bde3323 llvm::sys::CleanupOnSignal(unsigned long) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da5323)
 #3 0x000056500bd3ac27 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfcc27)
 #4 0x00007f55b6811980 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12980)
 #5 0x00007f55b58c6a6d free /build/glibc-S9d2JN/glibc-2.27/malloc/malloc.c:3113:0
 #6 0x000056500b186a28 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2148a28)
 #7 0x000056500b186c7d (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2148c7d)
 #8 0x000056500b184430 llvm::MachineRegisterInfo::createVirtualRegister(llvm::TargetRegisterClass const*, llvm::StringRef) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2146430)
 #9 0x000056500aa0181a (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x19c381a)
#10 0x000056500b1424ac llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x21044ac)
#11 0x000056500b601fdd llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25c3fdd)
#12 0x000056500b60b9e3 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25cd9e3)
#13 0x000056500b602e0e llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25c4e0e)
#14 0x000056500c683864 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::__2::unique_ptr<llvm::raw_pwrite_stream, std::__2::default_delete<llvm::raw_pwrite_stream>>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3645864)
#15 0x000056500caf8fe2 clang::CodeGenAction::ExecuteAction() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3abafe2)
#16 0x000056500ca1a945 clang::FrontendAction::Execute() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x39dc945)
#17 0x000056500c97bcd2 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x393dcd2)
#18 0x000056500caf38c3 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3ab58c3)
#19 0x000056500a9a767b cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x196967b)
#20 0x000056500a9a5686 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1967686)
#21 0x000056500c7ad7f2 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f7f2)
#22 0x000056500bd3a6c7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfc6c7)
#23 0x000056500c7ad448 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char>>*, bool*) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f448)
#24 0x000056500c768395 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x372a395)
#25 0x000056500c7890ec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__2::pair<int, clang::driver::Command const*>>&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x374b0ec)
#26 0x000056500a9a4ceb main (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1966ceb)
#27 0x00007f55b5850bf7 __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:344:0
#28 0x000056500a92179a _start (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x18e379a)
clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 15.0.0 (https://github.com/llvm/llvm-project d58cc0839ee5935e649dbbc18c898a8e4bcd6724)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin
 (in-process)
 "/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15" -cc1 -triple wasm32-unknown-emscripten -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name Newtonsoft.Json.dll.bc -mrelocation-model static -mframe-pointer=none -ffp-contract=on -fno-rounding-math -mconstructor-aliases -target-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -resource-dir /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/lib/clang/15.0.0 -O2 -Werror=implicit-function-declaration -fdebug-compilation-dir=/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/bin/for-running/MicroBenchmarks/e1414e18-f3f0-4092-94af-f278808e3e06 -ferror-limit 19 -fvisibility default -fgnuc-version=4.2.1 -vectorize-loops -vectorize-slp -iwithsysroot/include/SDL -iwithsysroot/include/compat -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -o /home/helixbot/work/9A41095F/t/tmppCR6a4.tmp -x ir /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Newtonsoft.Json.dll.bc
clang -cc1 version 15.0.0 based upon LLVM 15.0.0git default target x86_64-unknown-linux-gnu
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15 --driver-mode=g++ -target wasm32-unknown-emscripten -DEMSCRIPTEN -D__EMSCRIPTEN_major__=3 -D__EMSCRIPTEN_minor__=1 -D__EMSCRIPTEN_tiny__=12 -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-cxx-exceptions -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -Werror=implicit-function-declaration -Xclang -iwithsysroot/include/SDL --sysroot=/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Cache.linux-x64/8.0.0-alpha.1.22462.1/tools/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -O2 -v -c /home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Newtonsoft.Json.dll.bc -o /home/helixbot/work/9A41095F/t/tmppCR6a4.tmp
1.	Code generation
2.	Running pass 'WebAssembly MC Lower Pre Pass' on module '/home/helixbot/work/9A41095F/w/AEAB09AC/e/performance/artifacts/obj/BenchmarkDotNet.Autogenerated/Release/net7.0/browser-wasm/wasm/for-publish/Newtonsoft.Json.dll.bc'.
 #0 0x000055717e9d5053 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da6053)
 #1 0x000055717e9d29de llvm::sys::RunSignalHandlers() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da39de)
 #2 0x000055717e9d4323 llvm::sys::CleanupOnSignal(unsigned long) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2da5323)
 #3 0x000055717e92bc27 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfcc27)
 #4 0x00007fb3a0e28980 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12980)
 #5 0x000055717d61f82f (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x19f082f)
 #6 0x000055717e1f3e0e llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x25c4e0e)
 #7 0x000055717f274864 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::__2::unique_ptr<llvm::raw_pwrite_stream, std::__2::default_delete<llvm::raw_pwrite_stream>>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3645864)
 #8 0x000055717f6e9fe2 clang::CodeGenAction::ExecuteAction() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3abafe2)
 #9 0x000055717f60b945 clang::FrontendAction::Execute() (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x39dc945)
#10 0x000055717f56ccd2 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x393dcd2)
#11 0x000055717f6e48c3 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x3ab58c3)
#12 0x000055717d59867b cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x196967b)
#13 0x000055717d596686 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1967686)
#14 0x000055717f39e7f2 (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f7f2)
#15 0x000055717e92b6c7 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x2cfc6c7)
#16 0x000055717f39e448 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::__2::basic_string<char, std::__2::char_traits<char>, std::__2::allocator<char>>*, bool*) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x376f448)
#17 0x000055717f359395 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x372a395)
#18 0x000055717f37a0ec clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__2::pair<int, clang::driver::Command const*>>&) (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x374b0ec)
#19 0x000055717d595ceb main (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x1966ceb)
#20 0x00007fb39fe67bf7 __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:344:0
#21 0x000055717d51279a _start (/home/helixbot/work/9A41095F/p/dotnet/packs/Microsoft.NET.Runtime.Emscripten.3.1.12.Sdk.linux-x64/8.0.0-alpha.1.22462.1/tools/bin/clang-15+0x18e379a)
clang-15: error: clang frontend command failed with exit code 139 (use -v to see invocation)

Another instance - log

note: these were on PERFTIGER198. Same as #76167 .

cc @DrewScoggins

Author: radical
Assignees: -
Labels:

arch-wasm, area-VM-meta-mono, perf-pipeline

Milestone: -

@radical radical added this to the 8.0.0 milestone Sep 26, 2022
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Sep 26, 2022
@radical
Copy link
Member Author

radical commented Sep 26, 2022

cc @lewing

@lewing
Copy link
Member

lewing commented Jan 5, 2023

Is this hardware related?

@DrewScoggins
Copy link
Member

They could be. Do we have a more recent example? It seems the log link is broken now.

@radical
Copy link
Member Author

radical commented Jan 10, 2023

@lewing
Copy link
Member

lewing commented Jul 24, 2023

Have we seen this with current emscripten?

@lewing lewing added the needs-author-action An issue or pull request that requires more info or actions from the author. label Jul 24, 2023
@ghost
Copy link

ghost commented Jul 24, 2023

This issue has been marked needs-author-action and may be missing some important information.

@lewing lewing modified the milestones: 8.0.0, 7.0.x Jul 24, 2023
@radical
Copy link
Member Author

radical commented Jul 24, 2023

These are being hit regularly on PERFTIGER200. Closing as duplicate of #88148 .

@radical radical closed this as completed Jul 24, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Build-mono needs-author-action An issue or pull request that requires more info or actions from the author. perf-pipeline Issues with dotnet-runtime-perf, or runtime-wasm-perf pipelines
Projects
None yet
Development

No branches or pull requests

3 participants