<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - hwasan sizes test case is failing on every Phabricator Harbormaster build"
   href="https://bugs.llvm.org/show_bug.cgi?id=48274">48274</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>hwasan sizes test case is failing on every Phabricator Harbormaster build
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>hwasan
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>eugeni.stepanov@gmail.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>rnk@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, peter@pcc.me.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>See this patch to clang-format:
<a href="https://reviews.llvm.org/D91507">https://reviews.llvm.org/D91507</a>
See the output:
<a href="https://reviews.llvm.org/harbormaster/unit/view/197721/">https://reviews.llvm.org/harbormaster/unit/view/197721/</a>

...

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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>