<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/163284>163284</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang frontend command failed with exit code 135
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
urvangjoshi
</td>
</tr>
</table>
<pre>
For our project AVM (https://gitlab.com/AOMediaCodec/avm), we build using `clang` with different sanitizers enabled as part of the Gitlab CI.
Recently, we have noticed that `clang` occasionally crashes with this type of error message:
```
clang: error: clang frontend command failed with exit code 135 (use -v to see invocation)
clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-18/bin
clang: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/av1_config-260c0e.c
clang: note: diagnostic msg: /tmp/av1_config-260c0e.sh
clang: note: diagnostic msg:
********************
```
Example log: https://gitlab.com/AOMediaCodec/avm/-/jobs/11702400258
(The compilation enabled `Thread` sanitizer in this case -- but transient errors have occurred for other sanitizers like `address` or `undefined` as well).
Attaching:
- The 2 diagnostic files generated by clang.
- The full log from the link above (in case link is not accessible / expires).
Pls let me know if any additional information will help.
[clang_crash_artifacts.zip](https://github.com/user-attachments/files/22893797/clang_crash_artifacts.zip)
[clang_crash.log.txt](https://github.com/user-attachments/files/22893799/clang_crash.log.txt)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy8VV1v2zgQ_DX0y8IGRVm29OAHNY3aAOklaH13jwFFriS2FCmQlGP31x9IJWmK-8AVPRxAwAa93hnOcobce9UbxAMp3pDi7YrPYbDuMLsTN_1n6we1aq28HBrrwM4OJmc_owhQ__YBC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