Skip to content

clangd: crash with current parser token 'PROPPAGEINFO', parsing struct/union/class body 'tagPROPPAGEINFO' #114013

@linzj

Description

@linzj

Stack dump:
0. C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\OCIdl.h:1809:8: current parser token 'PROPPAGEINFO'

  1. C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\OCIdl.h:1801:9: parsing struct/union/class body 'tagPROPPAGEINFO'
    Signalled during AST worker action: Update
    Filename: d:\linzjUbuntu2204\hello\windows\runner\sr\src\image_processor_interface.h
    Directory: D:/linzjUbuntu2204/hello/build/windows
    Command Line: C:\Program Files\LLVM\bin\clang-cl.exe --driver-mode=cl /nologo -DONNXSR -DONNXSR_EXPORTS -DUNICODE -D_UNICODE -ID:\linzjUbuntu2204\hello\windows\runner\sr\src -imsvcD:\linzjUbuntu2204\hello\windows\runner\sr\onnxruntime\include\onnxruntime /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MDd /Zi /Ob0 /Od /RTC1 /EHsc /Fdrunner\sr\CMakeFiles\ONNXSR.dir\ -c -resource-dir=C:\Users\linzj\AppData\Roaming\Code\User\globalStorage\llvm-vs-code-extensions.vscode-clangd\install\18.1.3\clangd_18.1.3\lib\clang\18 /TP /std:c++20 -- d:\linzjUbuntu2204\hello\windows\runner\sr\src\image_processor_interface.h
    Version: 198
    [Error - 15:47:24] Client Clang Language Server: connection to server is erroring. Shutting down server.
    [Error - 15:47:24] Connection to server got closed. Server will not be restarted.
    [Error - 15:47:24] Request textDocument/semanticTokens/full/delta failed.
    [object Object]
    [Error - 15:47:24] Stopping server failed
    Message: Pending response rejected since connection got disposed
    Code: -32097
    [Error - 15:47:24] Stopping server failed
    Message: Pending response rejected since connection got disposed
    Code: -32097

Metadata

Metadata

Assignees

No one assigned

    Labels

    clangdcrashPrefer [crash-on-valid] or [crash-on-invalid]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions