Open domwst opened 7 months ago
This problem was fixed by removing both ~/.cache/clangd
and <project root>/.cache/clangd
. Previously, after removing some of the entries from compile_commands.json
, I'd only removed ~/.cache/clangd
, which probably caused the problem. However, these actions shouldn't have caused the problem IMO.
I'm working on a relatively large project, and after I start clangd, it crashes after several minutes due to a SIGSEGV with the attached stack trace.
Unfortunately, the project is quite big so it will take up a lot of time to narrow down to the exact file, where the error occurs. The RAM shouldn't be a concern in this case, as I have more than 10GB of a free RAM all the time that clangd works.
I run clangd as follows:
Logs
System information
Output of
clangd --version
:Editor/LSP plugin:
Operating system: