[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915390: marked as done (clazy: Segmentation fault compiling any file)



Your message dated Tue, 18 Dec 2018 21:21:17 +0000
with message-id <E1gZMnl-00036s-PM@fasolo.debian.org>
and subject line Bug#915390: fixed in clazy 1.4-4
has caused the Debian Bug report #915390,
regarding clazy: Segmentation fault compiling any file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
915390: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915390
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: clazy
Version: 1.4-3
Severity: grave
Justification: renders package unusable

Dear Maintainer,

attempting to compile any file on my system results in a segfault.
Could it be that a runtime dependency is missing from d/control?

Steps to reproduce:

> touch a.cpp
> clazy a.cpp 
#0 0x00007f825a95352a llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x92152a)
#1 0x00007f825a95164e llvm::sys::RunSignalHandlers() (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x91f64e)
#2 0x00007f825a9517dd (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x91f7dd)
#3 0x00007f825dc2b8e0 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x128e0)
#4 0x00007f8254bc6ac4 (/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1+0x106dac4)
#5 0x00007f82543e9c78 llvm::WebAssemblyTargetWasmStreamer::emitGlobalImport(llvm::StringRef) (/usr/lib/x86_64-linux-gnu/libLLVM-7.so.1+0x890c78)
#6 0x00007f825dca90ca (/lib64/ld-linux-x86-64.so.2+0xf0ca)
#7 0x00007f825dca91d6 (/lib64/ld-linux-x86-64.so.2+0xf1d6)
#8 0x00007f825dcad253 (/lib64/ld-linux-x86-64.so.2+0x13253)
#9 0x00007f8259a41adf _dl_catch_exception (/lib/x86_64-linux-gnu/libc.so.6+0x133adf)
#10 0x00007f825dcacb1a (/lib64/ld-linux-x86-64.so.2+0x12b1a)
#11 0x00007f82594a0276 __asprintf (/lib/x86_64-linux-gnu/libdl.so.2+0x1276)
#12 0x00007f8259a41adf _dl_catch_exception (/lib/x86_64-linux-gnu/libc.so.6+0x133adf)
#13 0x00007f8259a41b6f _dl_catch_error (/lib/x86_64-linux-gnu/libc.so.6+0x133b6f)
#14 0x00007f82594a0975 (/lib/x86_64-linux-gnu/libdl.so.2+0x1975)
#15 0x00007f82594a0331 dlopen (/lib/x86_64-linux-gnu/libdl.so.2+0x1331)
#16 0x00007f825a93dc53 llvm::sys::DynamicLibrary::HandleSet::DLOpen(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x90bc53)
#17 0x00007f825a93def2 llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) (/usr/lib/x86_64-linux-gnu/libLLVM-6.0.so.1+0x90bef2)
#18 0x000055d0d6d7daba clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/lib/llvm-6.0/bin/clang+0x8e9aba)
#19 0x000055d0d68d8678 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/lib/llvm-6.0/bin/clang+0x444678)
#20 0x000055d0d68c8117 main (/usr/lib/llvm-6.0/bin/clang+0x434117)
#21 0x00007f8259930b17 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x22b17)
#22 0x000055d0d68d665a _start (/usr/lib/llvm-6.0/bin/clang+0x44265a)
Stack dump:
0.      Program arguments: /usr/lib/llvm-6.0/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name a.cpp -mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -resource-dir /usr/lib/llvm-6.0/lib/clang/6.0.1 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/x86_64-linux-gnu/c++/8 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/x86_64-linux-gnu/c++/8 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../include/c++/8/backward -internal-isystem /usr/include/clang/6.0.1/include/ -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-6.0/lib/clang/6.0.1/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdeprecated-macro -fdebug-compilation-dir /home/alberto/tmp/biolim/build_clazy -ferror-limit 19 -fmessage-length 190 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -load ClangLazy.so -add-plugin clang-lazy -o /tmp/a-239fc9.o -x c++ a.cpp 
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.1-9.2 (tags/RELEASE_601/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: error: unable to execute command: Bus error
clang: note: diagnostic msg: Error generating preprocessed source(s).

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clazy depends on:
ii  libc6       2.27-8
ii  libgcc1     1:8.2.0-9
ii  libllvm7    1:7-6
ii  libstdc++6  8.2.0-9

clazy recommends no packages.

clazy suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: clazy
Source-Version: 1.4-4

We believe that the bug you reported is fixed in the latest version of
clazy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 915390@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated clazy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 18 Dec 2018 21:58:07 +0100
Source: clazy
Binary: clazy
Architecture: source
Version: 1.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Description:
 clazy      - Clang plugin for additional warnings
Closes: 915390
Changes:
 clazy (1.4-4) unstable; urgency=medium
 .
   [ Lisandro Damián Nicanor Pérez Meyer ]
   * Fix typo in debian/rules.
 .
   [ Pino Toscano ]
   * Ensure that clazy uses, and requires the same Clang used at build time:
     (Closes: #915390)
     - add a way to enforce a specific clang++ executable; patch
       select-clangpp.diff
     - specify the clang++ executable of the default Clang version
     - depend on the clang package providing the selected clang++ executable
Checksums-Sha1:
 a8964d1ca9786f57638623b8d26e8173c7ecd49c 2315 clazy_1.4-4.dsc
 c3c892ea6e477d28f77d5fb714d73fcb9eb75eec 12232 clazy_1.4-4.debian.tar.xz
 567f31592eb3336f53214459636cf34b9b03cc2d 10375 clazy_1.4-4_source.buildinfo
Checksums-Sha256:
 59bbf4fd651f1c8706cde7f3e6d3461b02a90dac04d73252863970ae7ea3d8d8 2315 clazy_1.4-4.dsc
 6b87362d7a8d3f7d7f637d4cb1242e3655c6ac76b6afd0148cb1d630061e4767 12232 clazy_1.4-4.debian.tar.xz
 2b06114ef3f86873fc831fda673849be6ab556e93c5de67acbe28dfbf1b688fd 10375 clazy_1.4-4_source.buildinfo
Files:
 702c2f07a7d66d36e80f7a17dbcf28fd 2315 devel optional clazy_1.4-4.dsc
 d4e4a608a7c0ae69165ff03c055abbd3 12232 devel optional clazy_1.4-4.debian.tar.xz
 d66c547dd8b4c48a504a109a121e22b2 10375 devel optional clazy_1.4-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAlwZX80ACgkQLRkciEOx
P02k5Q//aw9QOvZzwH8G6sQUqzejCSxWKxgZspzhWnw2DRrtgARzARXbhhlWDol1
g/BYJrFkNSczXy1+K4z9buvipGdliquHJajq9cCwv/DXnHj5eLRkPPDoYIoVBx5/
0UXNExzfm5HP+BNn5uyIPRE15DR2m6iV48eJltFfPwtryhqucG6ft+zN2/ZsXKk6
b0HV73xFgVmNgN7EIWtsZtTJC5nLv32Zl9tzO7yXK4zBUE2GB9YLvK/wmVqGcsXG
9C+4AuygQ8KajvTcS1RMxVthvHE9uLIWrDYmUMXUhYoXocX3w4fbf2rvbj9eKW0t
SCq6a+feVV0t17Ul878HDPb3sLMs1RoMi13JtL9dnYsuT4u1/YX4XLJkv8xTFZHl
/tB1v6WpD8jeqwx5r/88lBLOT1OlmNX2vOiYnDhu3vydSq9eJM9O8aZq47eWxCrI
N8qV8DD9P+Qp+rjCo+k0JlQZ1iAWfNyT3mgStJbXZxfRoUvJpQt38dKGm85DLicV
7CYVTEN+g5HYcx4v1voMQgTUCw5p6eKicek253+pO+4qvXqV/TFkhgfourWJ2YHP
lrK1i9nzqXjaIABTwwvluMTLIgZptyTRPklvTYxvxTglLvl1j7qBL59TBN2gJGrD
a+AhwT+cTtWpD2vLpY/+zdIAKpCDfkjDrqs33eZNx9UdhS50Dl8=
=lgdw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: