Closed as duplicate of#139019
Description
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.
My setup is Fedora 42 + cmake 3.31.6 + gpp-15.1.1