Skip to content

Clangd crash Exception Code: 0xC0000005 #143261

Open
@krupenkov-e

Description

@krupenkov-e

windows 11
vscode
clangd version 21.0.0git (https://github.com/llvm/llvm-project 2d261dc)

    "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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangdcrashPrefer [crash-on-valid] or [crash-on-invalid]incompleteIssue not complete (e.g. missing a reproducer, build arguments, etc.)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions