[llvm-bugs] [Bug 50108] New: [11.1.0, 12.0.0] AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0x7ffdc47fa0b0 sp 0x7ffdc47f9e18 T0)

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 23 16:57:31 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50108

            Bug ID: 50108
           Summary: [11.1.0, 12.0.0] AddressSanitizer: SEGV on unknown
                    address 0x000000000000 (pc 0x000000000000 bp
                    0x7ffdc47fa0b0 sp 0x7ffdc47f9e18 T0)
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: asan
          Assignee: unassignedbugs at nondot.org
          Reporter: sebastian at pipping.org
                CC: llvm-bugs at lists.llvm.org

Hi!

Many thanks for developing Clang and its sanitizers as software libre, it's
been of great help to me multiple times.

I'm running into a situation with AddressSanitizer that could be a bug in
AddressSanitizer, hence this report.  The context is libexpat and the related
libexpat issue on GitHub is at https://github.com/libexpat/libexpat/issues/332
.

Here's how to reproduce it and the related output:

  # cd "$(mktemp -d)"
  # git clone --depth 1 --branch
issue-332-drop-clang-asan-plus-min-size-workaround
https://github.com/libexpat/libexpat
  # cd libexpat/
  # CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address
CMAKE_ARGS=-DEXPAT_MIN_SIZE=ON ./.travis.sh
  [..]
  AddressSanitizer:DEADLYSIGNAL
  =================================================================
  ==30109==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc
0x000000000000 bp 0x7ffc68554570 sp 0x7ffc685542d8 T0)
  ==30109==Hint: pc points to the zero page.
  ==30109==The signal is caused by a READ memory access.
  ==30109==Hint: address points to the zero page.
      #0 0x0  (<unknown module>)
      #1 0x7f43fba7671f  (/lib64/libpthread.so.0+0x1271f)

  AddressSanitizer can not provide additional info.
  SUMMARY: AddressSanitizer: SEGV (<unknown module>) 
  ==30109==ABORTING
  [..]

  # clang --version
  clang version 12.0.0
  Target: x86_64-pc-linux-gnu
  Thread model: posix
  InstalledDir: /usr/lib/llvm/12/bin

Is this a bug?

Many thanks in advance!

Best



Sebastian

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210423/5fb361f7/attachment-0001.html>


More information about the llvm-bugs mailing list