<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/143261>143261</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clangd crash Exception Code: 0xC0000005
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
krupenkov-e
</td>
</tr>
</table>
<pre>
windows 11
vscode
clangd version 21.0.0git (https://github.com/llvm/llvm-project 2d261dc5c4393475b42eb7edc472695c53ff91f0)
```
"clangd.arguments": [
"--background-index",
"--compile-commands-dir=${workspaceFolder}/build/",
"--compile_args_from=filesystem",
"--background-index-priority=normal",
"-j", "12",
"--pch-storage=disk",
],
```
```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. C:\work\project\src\UnitTestApplication\VisualTests\RecursiveGeneratorCoroutineTests.cpp:21:67: current parser token ';'
1. C:\work\project\src\UnitTestApplication\VisualTests\RecursiveGeneratorCoroutineTests.cpp:11:1: parsing function body 'RecursiveGeneratorCoroutine_IntSequence_Test::TestBody'
2. C:\work\project\src\UnitTestApplication\VisualTests\RecursiveGeneratorCoroutineTests.cpp:11:1: in compound statement ('{}')
3. C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\vector:627:18: instantiating function definition 'std::vector<int>::vector<Visual::RecursiveGeneratorCoroutine<int>::Iterator, 0>'
Exception Code: 0xC0000005
The Clang Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzEVV2P4yYU_TXk5SoWBhPHD3nwOJNqpa20arZ9HRG4dtjY4PKR2fn3FfZsOzuqVmof2sgxX5fDgcs5liGYwSIeiHgg4riRKV6dP9x8mtHe3H2Lm4vTL4dnY7V7DlCWhLb3oJxGQls1SjtouKMPxllgZUELOpgIhO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