Issue |
135496
|
Summary |
crash
|
Labels |
new issue
|
Assignees |
|
Reporter |
MacroModel
|
see:
https://github.com/MacroModel/uwvm2/tree/659415f92e64ec669580bd419c347d2f3d160487
https://github.com/MacroModel/uwvm2/actions/runs/14420900303/job/40443327096
https://github.com/MacroModel/uwvm2/actions/runs/14420900303/job/40443327102
```bash
Stack dump:
0. Program arguments: /usr/lib/llvm-20/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name execute_wasm.cppm -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu znver3 -target-feature +prfchw -target-feature -cldemote -target-feature +avx -target-feature +aes -target-feature +sahf -target-feature +pclmul -target-feature -xop -target-feature +crc32 -target-feature -amx-fp8 -target-feature +xsaves -target-feature -avx512fp16 -target-feature -usermsr -target-feature -sm4 -target-feature -egpr -target-feature +sse4.1 -target-feature -avx512ifma -target-feature +xsave -target-feature +sse4.2 -target-feature -tsxldtrk -target-feature -sm3 -target-feature -ptwrite -target-feature -widekl -target-feature -movrs -target-feature +invpcid -target-feature +64bit -target-feature +xsavec -target-feature -avx10.1-512 -target-feature -avx512vpopcntdq -target-feature +cmov -target-feature -avx512vp2intersect -target-feature -avx512cd -target-feature +movbe -target-feature -avxvnniint8 -target-feature -ccmp -target-feature -amx-int8 -target-feature -kl -target-feature -avx10.1-256 -target-feature -sha512 -target-feature -avxvnni -target-feature -rtm -target-feature +adx -target-feature +avx2 -target-feature -hreset -target-feature -movdiri -target-feature -serialize -target-feature +vpclmulqdq -target-feature -avx512vl -target-feature -uintr -target-feature -cf -target-feature +clflushopt -target-feature -raoint -target-feature -cmpccxadd -target-feature +bmi -target-feature -amx-tile -target-feature +sse -target-feature -avx10.2-256 -target-feature -gfni -target-feature -avxvnniint16 -target-feature -amx-fp16 -target-feature -zu -target-feature -ndd -target-feature +xsaveopt -target-feature +rdrnd -target-feature -avx512f -target-feature -amx-bf16 -target-feature -avx512bf16 -target-feature -avx512vnni -target-feature -push2pop2 -target-feature +cx8 -target-feature -avx512bw -target-feature +sse3 -target-feature -pku -target-feature -nf -target-feature -amx-tf32 -target-feature -amx-avx512 -target-feature +fsgsbase -target-feature +clzero -target-feature -mwaitx -target-feature -lwp -target-feature +lzcnt -target-feature +sha -target-feature -movdir64b -target-feature -ppx -target-feature -wbnoinvd -target-feature -enqcmd -target-feature -amx-transpose -target-feature -avx10.2-512 -target-feature -avxneconvert -target-feature -tbm -target-feature -pconfig -target-feature -amx-complex -target-feature +ssse3 -target-feature +cx16 -target-feature +bmi2 -target-feature +fma -target-feature +popcnt -target-feature -avxifma -target-feature +f16c -target-feature -avx512bitalg -target-feature +rdpru -target-feature +clwb -target-feature +mmx -target-feature +sse2 -target-feature +rdseed -target-feature -avx512vbmi2 -target-feature -prefetchi -target-feature -amx-movrs -target-feature +rdpid -target-feature -fma4 -target-feature -avx512vbmi -target-feature +shstk -target-feature +vaes -target-feature -waitpkg -target-feature -sgx -target-feature +fxsr -target-feature -avx512dq -target-feature +sse4a -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -fdebug-compilation-dir=/home/runner/work/uwvm2/uwvm2 -fcoverage-compilation-dir=/home/runner/work/uwvm2/uwvm2 -resource-dir /usr/lib/llvm-20/lib/clang/20 -O0 -Wall -Wextra -Werror -Wno-braced-scalar-init -std=c++26 -fdeprecated-macro -ferror-limit 19 -fno-rtti -fgnuc-version=4.2.1 -fno-implicit-modules -fmodule-file=fast_io=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/fast_io.pcm -fmodule-file=parser.wasm.base=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.base.pcm -fmodule-file=parser.wasm.base:abi=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.base-abi.pcm -fmodule-file=parser.wasm.base:mode=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.base-mode.pcm -fmodule-file=parser.wasm.concepts=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.concepts.pcm -fmodule-file=parser.wasm.concepts:operation=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.concepts-operation.pcm -fmodule-file=parser.wasm.concepts:root=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.concepts-root.pcm -fmodule-file=parser.wasm.standard.wasm1.type=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.type.pcm -fmodule-file=parser.wasm.standard.wasm1.type:modules=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.type-modules.pcm -fmodule-file=parser.wasm.standard.wasm1.type:section_type=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.type-section_type.pcm -fmodule-file=parser.wasm.standard.wasm1.type:value_binfmt=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.type-value_binfmt.pcm -fmodule-file=parser.wasm.standard.wasm1.type:value_type=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.type-value_type.pcm -fmodule-file=uwvm.wasm.feature=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/uwvm.wasm.feature.pcm -fmodule-file=parser.wasm.standard=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.pcm -fmodule-file=parser.wasm.standard.wasm1=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.pcm -fmodule-file=parser.wasm.standard.wasm1.features=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.features.pcm -fmodule-file=parser.wasm.standard.wasm1.features:binfmt=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.features-binfmt.pcm -fmodule-file=parser.wasm.binfmt.binfmt_ver1=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.binfmt.binfmt_ver1.pcm -fmodule-file=parser.wasm.binfmt.binfmt_ver1:def=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.binfmt.binfmt_ver1-def.pcm -fmodule-file=parser.wasm.binfmt.base=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.binfmt.base.pcm -fmodule-file=parser.wasm.binfmt.binfmt_ver1:section=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.binfmt.binfmt_ver1-section.pcm -fmodule-file=utils.io=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/utils.io.pcm -fmodule-file=utils.io:io_device=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/utils.io-io_device.pcm -fmodule-file=parser.wasm.standard.wasm1.section=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.section.pcm -fmodule-file=parser.wasm.standard.wasm1.section:funcbody=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.section-funcbody.pcm -fmodule-file=parser.wasm.standard.wasm1.section:section_type=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.section-section_type.pcm -fmodule-file=parser.wasm.standard.wasm1.opcode=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.opcode.pcm -fmodule-file=parser.wasm.standard.wasm1.opcode:mvp=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1.opcode-mvp.pcm -fmodule-file=parser.wasm.standard.wasm1p1=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1p1.pcm -fmodule-file=parser.wasm.standard.wasm1p1.type=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1p1.type.pcm -fmodule-file=parser.wasm.standard.wasm1p1.type:value_binfmt=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1p1.type-value_binfmt.pcm -fmodule-file=parser.wasm.standard.wasm1p1.type:value_type=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm1p1.type-value_type.pcm -fmodule-file=parser.wasm.standard.wasm2=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm2.pcm -fmodule-file=parser.wasm.standard.wasm2_MultiMemory=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm2_MultiMemory.pcm -fmodule-file=parser.wasm.standard.wasm2_TailCalls=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm2_TailCalls.pcm -fmodule-file=parser.wasm.standard.wasm2_TailCalls_FunctionReference=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm2_TailCalls_FunctionReference.pcm -fmodule-file=parser.wasm.standard.wasm2_TailCalls_FunctionReference_GC=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm2_TailCalls_FunctionReference_GC.pcm -fmodule-file=parser.wasm.standard.wasm2_thread=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm2_thread.pcm -fmodule-file=parser.wasm.standard.wasm3=build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/parser.wasm.standard.wasm3.pcm -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o build/.objs/uwvm/linux/x86_64/debug/src/uwvm/wasm/storage/execute_wasm.cppm.o -x pcm build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/uwvm.wasm.storage-execute_wasm.pcm
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'build/.gens/uwvm/linux/x86_64/debug/rules/bmi/cache/modules/63f7f4c9/uwvm.wasm.storage-execute_wasm.pcm'.
4. Running pass 'X86 Assembly Printer' on function '@_ZGIW4uwvmW4wasmW7storageWP12execute_wasm'
#0 0x00007f88f262bc7f llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x102bc7f)
#1 0x00007f88f2629989 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x1029989)
#2 0x00007f88f262c390 (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x102c390)
#3 0x00007f88f0e45330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007f88f2fff5e2 llvm::DwarfUnit::getOrCreateSubprogramDIE(llvm::DISubprogram const*, bool) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19ff5e2)
#5 0x00007f88f2fff65d llvm::DwarfUnit::getOrCreateSubprogramDIE(llvm::DISubprogram const*, bool) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19ff65d)
#6 0x00007f88f2fff65d llvm::DwarfUnit::getOrCreateSubprogramDIE(llvm::DISubprogram const*, bool) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19ff65d)
#7 0x00007f88f2fff65d llvm::DwarfUnit::getOrCreateSubprogramDIE(llvm::DISubprogram const*, bool) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19ff65d)
#8 0x00007f88f2fcb747 llvm::DwarfCompileUnit::updateSubprogramScopeDIE(llvm::DISubprogram const*, llvm::MCSymbol*) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19cb747)
#9 0x00007f88f2fcee80 llvm::DwarfCompileUnit::constructSubprogramScopeDIE(llvm::DISubprogram const*, llvm::LexicalScope*, llvm::MCSymbol*) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19cee80)
#10 0x00007f88f2fe1717 llvm::DwarfDebug::endFunctionImpl(llvm::MachineFunction const*) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19e1717)
#11 0x00007f88f2fc11fd llvm::DebugHandlerBase::endFunction(llvm::MachineFunction const*) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19c11fd)
#12 0x00007f88f2fa93be llvm::AsmPrinter::emitFunctionBody() (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x19a93be)
#13 0x00007f88f57ca746 (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x41ca746)
#14 0x00007f88f2a43c23 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x1443c23)
#15 0x00007f88f278869f llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x118869f)
#16 0x00007f88f278e614 llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x118e614)
#17 0x00007f88f2788ea7 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.1+0x1188ea7)
#18 0x00007f88fbe80b82 clang::emitBackendOutput(clang::CompilerInstance&, clang::CodeGenOptions&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>, clang::BackendConsumer*) (/usr/lib/llvm-20/bin/../lib/libclang-cpp.so.20.1+0x1e80b82)
#19 0x00007f88fc247393 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/usr/lib/llvm-20/bin/../lib/libclang-cpp.so.20.1+0x2247393)
#20 0x00007f88fad6e7b9 clang::ParseAST(clang::Sema&, bool, bool) (/usr/lib/llvm-20/bin/../lib/libclang-cpp.so.20.1+0xd6e7b9)
#21 0x00007f88fccd14b2 clang::FrontendAction::Execute() (/usr/lib/llvm-20/bin/../lib/libclang-cpp.so.20.1+0x2cd14b2)
#22 0x00007f88fcc49e54 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/lib/llvm-20/bin/../lib/libclang-cpp.so.20.1+0x2c49e54)
#23 0x00007f88fcd54e8c clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-20/bin/../lib/libclang-cpp.so.20.1+0x2d54e8c)
#24 0x0000559db278b72f cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/lib/llvm-20/bin/clang+0x1372f)
#25 0x0000559db27885b4 (/usr/lib/llvm-20/bin/clang+0x105b4)
#26 0x0000559db27879e2 clang_main(int, char**, llvm::ToolContext const&) (/usr/lib/llvm-20/bin/clang+0xf9e2)
#27 0x0000559db2794ef3 main (/usr/lib/llvm-20/bin/clang+0x1cef3)
#28 0x00007f88f0e2a1ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#29 0x00007f88f0e2a28b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#30 0x0000559db2786415 _start (/usr/lib/llvm-20/bin/clang+0xe415)
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Ubuntu clang version 20.1.2 (++20250[402](https://github.com/MacroModel/uwvm2/actions/runs/14420900303/job/40443327096#step:5:403)124932+58df0ef89dd6-1~exp1~20250402004952.98)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-20/bin
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/execute_wasm-fa7a11.cppm
clang: note: diagnostic msg: /tmp/execute_wasm-fa7a11.sh
clang: note: diagnostic msg:
********************
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs