Genio-The-Haiku-IDE / Genio

The Haiku IDE
Other
69 stars 9 forks source link

clangd crashes on editing #434

Open grexe opened 10 hours ago

grexe commented 10 hours 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 8 hours 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.