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

    <tr>
        <th>Summary</th>
        <td>
            [clang] clang frontend command failed with exit code 139
        </td>
    </tr>

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

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

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

<pre>
    I was building a project with CMake, Ninja, with clang-14, and the clang frond end crashed (139).
Here is the clang version information (clang -v):

```
Ubuntu clang version 14.0.0-1ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/12
Candidate multilib: .;@m64
Selected multilib: .;@m64
```
And [clang_14_frontend_crashes_UTCplus8_22081422.log](https://github.com/llvm/llvm-project/files/9333513/clang_14_frontend_crashes_UTCplus8_22081422.log) is the full stacktrace produced by clang-14, preprocessed sources and run scripts are [clang_14_frontend_crashes_UTCplus8_22081422.zip](https://github.com/llvm/llvm-project/files/9333507/clang_14_frontend_crashes_UTCplus8_22081422.zip).
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1VEtvnDAQ_jVwsUBg3gcOyabb5tBekp5XxjbgxGDkR7LJr-8Ydps0lSqtlEq7g-15-PvGM9Mp9tLeomdiUOeEZGIeEEGLVg-cWvQs7Ih238kjD_AO_RDzA_GL9ZhKMg9RmvsDMjNkR76doV4r2HP4U03MyBkKcJ1mTYCbOEhuguTqG9ccCfPO54lrI9SMxNwrPRHr1-C1KaMncA2yq835JMvk9Fu3Pzs3W_chWJrHSZxEqVuV6WZ5T_TALURDx7o8lHm00EiK2R2jYXYnk1FzwtCkGJfecFFGHDfV7WwskZKzG6G9KsB7ZzTITsybxV45zxxSIhixHH3d7YDV6rXS-ssL7-MYhBQdyIFSkCdkb7DwPk3_b3i8hb_jEh4enuyT4-5-A56ctMJ7QcA4yK6DPJnK_MPt_zL68PJXkI6guF5f_pDmB199ForvsBWfOfy83y3SmfqAcVKnOcaxVENQ3EB5jdYuxhcW3nsSUNaui6maPC_5dP5Ep3aAbS8kN_Btsiwr0gxWl96Lm3Ph905KBAmmj1YTyn3TMUeBfPfyR3MtmoOKcmNAZ5TTsFw7TrsZGarFYmEPDXVhFl7F8hlZSKoLs-DvhUkQ8jYtyySvqyQpQtZmrMkaElphJW_PVADgu6Fi15mipsmz7wmgYNss4kdhQcE4gjETOi3bizkJY9xKqqgAZTi2rKpZ2eCqSPu0zDBnlPaUZKTmaVbVBQsl6bg0HiqgDEWLk40iuGdAE7OcY9InVZHlPWM9lDCfAHPsL46VHkLdrhg6NxhQSmGseVMSY8Qwc36OT5wdlW5fR6LuRvFltiORy0u4wm5XzL8A9DvWpg">