<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59826>59826</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Crash in ASAN on Arm32: sanitizer_stacktrace.cpp:151 "((count)) < ((size))" (0x0, 0x0)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          thomwiggers
      </td>
    </tr>
</table>

<pre>
    I'm trying to run asan over a bunch of large implementations of cryptography (https://github.com/PQClean/PQClean/pull/469), so unfortunately it's a bit hard to produce an MVP.

I'm getting these kinds of crashes:

```
. > /work/testcases/test_functest_sanitizers__vLy7c0Du/bin/functest_kyber1024-90s_clean
AddressSanitizer: CHECK failed: sanitizer_stacktrace.cpp:151 "((count)) < ((size))" (0x0, 0x0) (tid=1679)
    <empty stack>
```

I'm running Clang 14.0.6 on Debian. 

The relevant function is:
https://github.com/llvm/llvm-project/blob/997852920d52442242fca9173a7b003b1164e26d/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cpp#L151-L157

Should this maybe be a `CHECK_LTE` (if that exists)?

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0lN9v5CYQx_8a9mUUCw_--eCH7W6sVk2rq3Lq6wrbszYNBgtw7nx_fYU3uSRVVakPJ1kGxgx8vx8GS-_VaIgalv_E8vNBrmGyrgmTnb-ocSTnD50dtuYXhuUMwW3KjBAsuNWA9NKAfSYHErrV9BPYK2jpRgI1L5pmMkEGZY2PH3q3LcGOTi7TBgyrKYTFM3Fk2DJsRxWmtUt6OzNsP_1x0iTNh96yas2wzYqaYc3wBN7Caq7WhdXIQHoDFRiWPmpRASbphqhzcXZYewJp4Lc_PyWMnxk_3t43SyOFsHuayBM8KTO8qJV-ol3fuxRW8JdnHybAxD0wbL9Y98SwDeRDLz35l_7lupp-73hpVFDfyPnL5flhK3t-Xhm2nYrWvs962jpyKcfsrub-0u_O942Ow-DI-8fXVZg4wunn-9OvcJVK0xDH37e4-CD7p-BkT0m_LEwc0zwFhsiwYlj1djVhZ1gDEye4Rb36RrcgQ4wx_pVHyntTx0BQAxPntCj3SbssAIhL0LyEDfZdmbj_V1LvibvVmEj8pKUZIc0SnhRgDZypU9Ik8D7j80TgSNOzNAF2TsoaUG_n8h9VpPXza3O3OPsX9SEi17Zj2NZ1WeVYIx9yzDLEDK-9rNNSyLLjXHRpWmSExcCw7e28KE3uzsV8rWL6G-zezrM1H0L_4I_iIc3Tu4c0L99be5zsqgcIk_Iwy60j6AgksILvJ3t5-HzPCh7JqyuESQagr8oHH-mL9rbGYWjEUItaHqhJixIrUZVldZiaqkBBGRFJUaG4yhyvA3Z9zsVQFEVOB9UgR8FTnqUCC14mhcRBVFLWsrySQMEyTrNUOon8EuvGg_J-pSavKywOWnak_etPwzU75G4dPcu4jirf0oIKmppTvE-gDBwfj7_H0z66WeCPrtvD6nTzv0tkNxrv8O717wAAAP__CGeSWg">