Package: clang-6.0
Version: 1:6.0.1-6

Programs built with -fsanitize=address seem completely broken:

  $ printf '#include <stdio.h>\nint main(int argc,char**argv){printf("Hello 
world!\\n");}' > hello.c
  $ clang-6.0 -fsanitize=address hello.c -o hello
  $ ./hello
  AddressSanitizer:DEADLYSIGNAL
  =================================================================
  ==7617==ERROR: AddressSanitizer: SEGV on unknown address 0xf7ee9430 (pc 
0xf7ee9444 bp 0xff9c367c sp 0xff9c363c T16777215)
  ==7617==The signal is caused by a WRITE memory access.
      #0 0xf7ee9443 in _dl_get_tls_static_info (/lib/ld-linux.so.2+0x12443)
      #1 0x8159e89 in __sanitizer::InitTlsSize() (/home/jwilk/hello+0x8159e89)
      #2 0x813ed32 in __asan::AsanInitInternal() [clone .part.3] 
(/home/jwilk/hello+0x813ed32)
      #3 0xf7ee6eda  (/lib/ld-linux.so.2+0xfeda)
      #4 0xf7ed8299  (/lib/ld-linux.so.2+0x1299)
AddressSanitizer can not provide additional info.
  SUMMARY: AddressSanitizer: SEGV (/lib/ld-linux.so.2+0x12443) in 
_dl_get_tls_static_info
  ==7617==ABORTING


-- System Information:
Architecture: i386

Versions of packages clang-6.0 depends on:
ii  libc6                    2.27-6
ii  libgcc1                  1:8.2.0-5
ii  libjsoncpp1              1.7.4-3
ii  libllvm6.0               1:6.0.1-6
ii  libstdc++6               8.2.0-5
ii  libstdc++-8-dev          8.2.0-5
ii  libgcc-8-dev             8.2.0-5
ii  libobjc-8-dev            8.2.0-5
ii  libclang-common-6.0-dev  1:6.0.1-6
ii  libclang1-6.0            1:6.0.1-6
ii  libc6-dev                2.27-6
ii  binutils                 2.31.1-5

Versions of packages clang-6.0 recommends:
ii  llvm-6.0-dev  1:6.0.1-6
ii  python        2.7.15-3
ii  libomp-dev    6.0.1-1

--
Jakub Wilk

Reply via email to