[X] You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain
Bug description
After build pytorch with option USE_CUDA=0 and USE_CUDNN=0, I load the source code into emacs and found the clangd repeatedly crash during code navigation. The screenshot is:
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
After build pytorch with option USE_CUDA=0 and USE_CUDNN=0, I load the source code into emacs and found the clangd repeatedly crash during code navigation. The screenshot is:![image](https://github.com/emacs-lsp/lsp-mode/assets/1155134/52621f67-1d8b-439f-af3b-46aef34bf853)
The stack(filtered) print in the lsp stderr is:
The lsp-mode version: Status: Installed in ‘lsp-mode-20240408.57/’ (unsigned). Version: 20240408.57 Commit: 5b0198457e4e6570677b3e443cda0ba73d63343b
Steps to reproduce
Refer to the description.. the issue can be reproduced with clean environment: M-x lsp-start-plain.
Expected behavior
The lsp-clangd should not crash during code navigation, and make responses
Which Language Server did you use?
clangd for c source code.
OS
Linux
Error callstack
Anything else?
n/a