clangd icon indicating copy to clipboard operation
clangd copied to clipboard

Subject: Frequent Crashes of clangd with Unidentified Code Patterns

Open DYAAL opened this issue 8 months ago • 30 comments

I'm encountering issues with clangd, the Clang Language Server, where it frequently crashes when working with some specific code patterns in my project. I'm not sure what the exact code patterns are causing this issue, as other projects I'm working on seem to work fine. I've attached the clangd-log in hopes that you can help me troubleshoot and resolve this problem. Your assistance would be greatly appreciated. The phenomenon I'm experiencing is that clangd works normally for a short period of time, about ten seconds, every time I open it, and then it crashes, losing all its parsing and jump-to-definition functionalities. This is the first time I've encountered such an issue, and I'm using clangd version 18.1.3. I appreciate your help very much.

clang-log: clangd.log clangd.log

DYAAL avatar Jun 17 '24 20:06 DYAAL