Bug#913271: [Pkg-rust-maintainers] Bug#913271: segfault - broken rust compiling

Ximin Luo infinity0 at debian.org
Sun Nov 11 00:16:00 GMT 2018


Ximin Luo:
> [..]
> Thread 1 "rustc" received signal SIGSEGV, Segmentation fault.
> 0x00007ffff1e273bc in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> (gdb) bt
> #0  0x00007ffff1e273bc in llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> #1  0x00007ffff1f654c9 in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> #2  0x00007ffff1f65491 in llvm::MDString::get(llvm::LLVMContext&, llvm::StringRef) () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
> #3  0x00007ffff1ee69cd in ?? () from /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1

Hopefully the stack trace is informative even though some stuff is missing. They are missing because the debug symbols are missing for this version of LLVM:

$ dpkg -S /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
libllvm7:amd64: /usr/lib/x86_64-linux-gnu/libLLVM-7.so.1
$ apt-cache policy libllvm7       
libllvm7:
  Installed: 1:7.0.1~+rc2-2
  Candidate: 1:7.0.1~+rc2-2
  Version table:
 *** 1:7.0.1~+rc2-2 500
        500 http://deb.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
$ apt-cache policy libllvm7-dbgsym
libllvm7-dbgsym:
  Installed: (none)
  Candidate: 1:7-8
  Version table:
     1:7-8 500
        500 http://deb.debian.org/debian-debug unstable-debug/main amd64 Packages

Would you be able to re-enable them Sylvestre?

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-llvm-team mailing list