Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clangd crashes on editing #434

Open
grexe opened this issue Oct 5, 2024 · 3 comments
Open

clangd crashes on editing #434

grexe opened this issue Oct 5, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@grexe
Copy link

grexe commented Oct 5, 2024

Using Genio from master branch as of 4. Oct 2024, I had clangd crash while editing a function call, see log attached.
Genio was still running fine, but of course without any code assist.

This happens very rarely, maybe a race condition with invoking the tooltip help?
While this is not resolved, maybe Genio could restart clangd if it didn't crash for the last x minutes, to avoid a crash-restart-loop, or ask the user.
clangd-5169-debug-04-10-2024-15-56-28.report.txt

maybe related to #29

@jackburton79 jackburton79 added the bug Something isn't working label Oct 5, 2024
@jackburton79
Copy link
Collaborator

jackburton79 commented Oct 5, 2024

I can't reproduce this nor #29, but maybe it depends on the fact that my system only has two cores so it's less likely to happen.
Restarting clang is a nice idea, anyway.

@jackburton79
Copy link
Collaborator

Oh I forgot: which clangd version are you using ?
Just do clangd --version in a terminal window

@grexe
Copy link
Author

grexe commented Oct 7, 2024

it's 18.1.7, always running on latest stable stuff and as an exception Haiku nightly... ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants