[llvm-bugs] [Bug 48274] New: hwasan sizes test case is failing on every Phabricator Harbormaster build

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 23 13:04:08 PST 2020


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

            Bug ID: 48274
           Summary: hwasan sizes test case is failing on every Phabricator
                    Harbormaster build
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: hwasan
          Assignee: eugeni.stepanov at gmail.com
          Reporter: rnk at google.com
                CC: llvm-bugs at lists.llvm.org, peter at pcc.me.uk

See this patch to clang-format:
https://reviews.llvm.org/D91507
See the output:
https://reviews.llvm.org/harbormaster/unit/view/197721/

...

Command Output (stdout):
--
==2647946==WARNING: HWAddressSanitizer failed to allocate 0x10000000001 bytes
HWAddressSanitizer:DEADLYSIGNAL
==2647946==ERROR: HWAddressSanitizer: SEGV on unknown address (pc
0x7fb9b5e20b91 bp 0x7ffe5980a1a0 sp 0x7ffe59809c48 T2647946)
==2647946==The signal is caused by a READ memory access.
==2647946==Hint: this fault was caused by a dereference of a high value address
(see register values below).  Dissassemble the provided pc to learn which
register was used.
    #0 0x7fb9b5e20b91  (/lib/x86_64-linux-gnu/libc.so.6+0x15fb91)
    #1 0x7fb9b5d2d02d  (/lib/x86_64-linux-gnu/libc.so.6+0x6c02d)
    #2 0x7fb9b5d3e6f0  (/lib/x86_64-linux-gnu/libc.so.6+0x7d6f0)
    #3 0x7fb9b5d18095 in asprintf (/lib/x86_64-linux-gnu/libc.so.6+0x57095)
    #4 0x7fb9b5cf549f  (/lib/x86_64-linux-gnu/libc.so.6+0x3449f)
    #5 0x7fb9b5cf55b1 in __assert_fail
(/lib/x86_64-linux-gnu/libc.so.6+0x345b1)
    #6 0x562a10530106 in main
/mnt/disks/ssd0/agent/llvm-project/compiler-rt/test/hwasan/TestCases/sizes.cpp:53:5
    #7 0x7fb9b5ce7cc9 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x26cc9)
    #8 0x562a10501169 in _start
(/mnt/disks/ssd0/agent/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/sizes.cpp.tmp+0x1e169)

HWAddressSanitizer can not provide additional info.
SUMMARY: HWAddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x15fb91) 
==2647946==ABORTING

The test passes for me locally on Linux. The behavior started some time in the
last month.

-- 
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/20201123/4a3df624/attachment.html>


More information about the llvm-bugs mailing list