Genio-The-Haiku-IDE / Genio

The Haiku IDE
Other
69 stars 8 forks source link

clangd crashes on editing #434

Open grexe opened 1 month ago

grexe commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

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

grexe commented 1 month ago

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