llvm / llvm/llvm-project

received SIGSEGV (-11)

Open
#192,273 2 comments 0 reactions 0 assignees View on GitHub
crash incomplete lld:wasm
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
#0 0x00006232bbb9cf48 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/john/work/emsdk/upstream/bin/wasm-ld+0x1043f48)
#1 0x00006232bbb9a29e llvm::sys::RunSignalHandlers() (/home/john/work/emsdk/upstream/bin/wasm-ld+0x104129e)
#2 0x00006232bbb9db3f SignalHandler(int) Signals.cpp:0:0
#3 0x00007f0b40a45330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00006232bc004097 lld::wasm::ObjFile::calcNewValue(llvm::wasm::WasmRelocation const&, unsigned long, lld::wasm::InputChunk const*) const (/home/john/work/emsdk/upstream/bin/wasm-ld+0x14ab097)
#5 0x00006232bc001dc7 lld::wasm::InputChunk::relocate(unsigned char*) const (/home/john/work/emsdk/upstream/bin/wasm-ld+0x14a8dc7)
#6 0x00006232bc035cf3 lld::wasm::CustomSection::writeTo(unsigned char*) (/home/john/work/emsdk/upstream/bin/wasm-ld+0x14dccf3)
#7 0x00006232bbc09abc void std::__2::__function::__policy_invoker::__call_impl[abi:nn200000])::$_0, void ()>>(std::__2::__function::__policy_storage const*) (.llvm.10579936028825759309) Parallel.cpp:0:0
#8 0x00006232bbc099de void std::__2::__function::__policy_invoker::__call_impl[abi:nn200000], bool)::$_0, void ()>>(std::__2::__function::__policy_storage const*) (.llvm.10579936028825759309) Parallel.cpp:0:0
#9 0x00006232bbc090ef llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::work(llvm::ThreadPoolStrategy, unsigned int) Parallel.cpp:0:0
#10 0x00006232bbc09289 void* std::__2::__thread_proxy[abi:nn200000]>, llvm::parallel::detail::(anonymous namespace)::ThreadPoolExecutor::ThreadPoolExecutor(llvm::ThreadPoolStrategy)::'lambda'()::operator()() const::'lambda'()>>(void*) Parallel.cpp:0:0
#11 0x00007f0b40a9caa4 start_thread ./nptl/pthread_create.c:447:8
#12 0x00007f0b40b29c6c clone3 ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:80:0
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.