You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But CLion just launches clangd with some arguments and has nothing to do with that crash. As you can see from the logs the exception happens somewhere from inside the clangd.
Exception code is 0xC0000005 and I have no idea what should I do with this information. I just want to know does it have something to do with:
clangd
clion
my code
my cmake
my device
Because this project works perfectly on Visual Studio on their c++ analyzer so my assumption is that clangd has some internal bug constructing AST
(This crash doesn't happen on several files after I comment out one single macros from the code but stil crashes on other files which increases my assumptions on internal clangd bug)
CLion uses a fork of clangd that's heavily patched by them (from this support post: "Almost all the main functions are customized."), and they don't make the source code of their patched version available.
So, the investigation needs to start on their side. If they have reason to believe it's an upstream issue they can file one with steps reproducible in the upstream product.
CLion inspection crashes only for some files, couldn't find out any clues on why does it happen. The project works on VisualStudio
Logs
System information
clangd version: 17.0.0 LLVM revision: 22d98280dd8ee70064899eefb973a1c020605874
Editor/LSP plugin:
Clion 2023.1.1, 2023.1.3
Operating system:
Windows 10
Any clues on how to fix this? The problem is consistent and nor reintalling nor cache clearing didn't help
The text was updated successfully, but these errors were encountered: