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

    <tr>
        <th>Summary</th>
        <td>
            Exception Code: 0xC000001D in `std::vector::append`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    Hello, I'm the author of the Windhawk project which comes with a bundled package of Clang 20. One of the users [reported the following error](https://github.com/ramensoftware/windhawk/issues/622):

```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Exception Code: 0xC000001D
0x6AA7DDC8, C:\Program Files\Windhawk\Compiler\bin\libLLVM-20.dll(0x000000006A930000) + 0x14DDC8 byte(s), HandleAbort() + 0x8 byte(s)
0x7784C56B, C:\Windows\System32\msvcrt.dll(0x00000000777F0000) + 0x5C56B byte(s), abort() + 0x1B byte(s)
0x66EBE3F7, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x1E3F7 byte(s), _ZNKSt10bad_typeid4whatEv() + 0x67 byte(s)
0x66EA1472, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x1472 byte(s), __cxa_throw_bad_array_new_length() + 0xF2 byte(s)
0x66EBD6CC, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x1D6CC byte(s), _ZSt13get_terminatev() + 0x1C byte(s)
0x66EC05F7, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x205F7 byte(s), __cxa_throw() + 0x57 byte(s)
0x66EC05DE, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x205DE byte(s), __cxa_throw() + 0x3E byte(s)
0x66EE3B2D, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x43B2D byte(s), _ZNSt3__126__write_to_windows_consoleEP6_iobufNS_17basic_string_viewIwNS_11char_traitsIwEEEE() + 0xAD byte(s)
0x66EEF35B, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x4F35B byte(s), _ZNSt3__120__throw_system_errorEiPKc() + 0x2B byte(s)
0x6A9FD1A5, C:\Program Files\Windhawk\Compiler\bin\libLLVM-20.dll(0x000000006A930000) + 0xCD1A5 byte(s), _ZNSt3__16vectorINS_6threadENS_9allocatorIS1_EEE8__appendEj() + 0x585 byte(s)
0x77038E8B, C:\Windows\System32\KERNELBASE.dll(0x0000000076F20000) + 0x118E8B byte(s), FlsGetValue() + 0x1B byte(s)
0x66F3F8D1, C:\Program Files\Windhawk\Compiler\bin\libc++.dll(0x0000000066EA0000) + 0x9F8D1 byte(s), _ZNSt3__122__libcpp_thread_createEPPvPFS0_S0_ES0_() + 0x71 byte(s)
0x77857FB1, C:\Windows\System32\msvcrt.dll(0x00000000777F0000) + 0x67FB1 byte(s), _endthreadex() + 0x91 byte(s)
0x76C067F9, C:\Windows\System32\KERNEL32.DLL(0x0000000076BF0000) + 0x167F9 byte(s), BaseThreadInitThunk() + 0x19 byte(s)
0x77D17F4D, C:\Windows\SYSTEM32\ntdll.dll(0x0000000077CB0000) + 0x67F4D byte(s), RtlGetFullPathName_UEx() + 0xAD byte(s)
0x77D17F1B, C:\Windows\SYSTEM32\ntdll.dll(0x0000000077CB0000) + 0x67F1B byte(s), RtlGetFullPathName_UEx() + 0x7B byte(s)
clang-20: error: linker command failed due to signal (use -v to see invocation)
```

Per the error message request, I'm reporting it here. I suspect it might be an OOM error, in which case it's probably not a bug, but the error handling and the error message could be impoved.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy8l0tv2zgQxz8NfSFiUNT74IMsS23QNDXqbhe7F4KSxhYbSvKSlOXsp19QdtD4kbYoFjYEKJGomd8MHzN_rrXYtAAz5M-Rv5j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