Issue |
141749
|
Summary |
[clangd] [lrt] [Vulkan-hpp] LanguageClient clangd for lrt crashes in a project with vulkan-hpp
|
Labels |
new issue
|
Assignees |
|
Reporter |
Txordi00
|
I constantly get the following crashes:
```
LanguageClient clangd for lrt: The command "/usr/lib64/llvm20/bin/clangd --background-index --header-insertion=never --limit-results=100 --limit-references=0 --clang-tidy=0 --background-index-priority=low --rename-file-limit=0 --compile-commands-dir=/home/jordi/Documents/lrt/build/Desktop-Debug/.qtc_clangd --use-dirty-headers" terminated abnormally. (see logs in "/tmp/QtCreator-lBaaPB/lspclient.ghxeeY.log")
LanguageClient clangd for lrt: Unexpectedly finished. Restarting in 5 seconds.
```
in a project which uses the vulkan-hpp helper library. It happens when trying to autocomplete functions from certain headers, in this case, `vulkan_funcs.hpp`. I know when it's about to happen because the autocompletion preview shows the functions without arguments. It makes Qt Creator crash and it's extremely annoying. I attach the log here. Maybe the mistake is on my end and I have something not properly configured? The code compiles alright both with gcc and clang.
[lspclient.ghxeeY.log](https://github.com/user-attachments/files/20482676/lspclient.ghxeeY.log)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs