-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Crash in picker when file no longer exists #6183
Labels
Comments
kirawi
added
C-bug
Category: This is a bug
A-language-server
Area: Language server client
labels
Mar 9, 2023
rcorre
changed the title
Crash in workspace symbol picker with old compiledb and clangd
Crash in picker when file no longer exists
Mar 27, 2023
I've updated the description. This doesn't appear to be limited to the symbol picker. I just hit it with the global search picker, by suspending helix, switching to a distant branch, resuming helix, and hitting a search on a changed file:
|
This was fixed by #5639 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I was working on a cpp project, and my compile_commands.json was out of date.
Searching for symbols in the workspace symbol picker caused a crash.
Reproduction Steps
I tried this:
cd ~/src/godot
git checkout 3.5.1-stable
scons compiledb=true compile_commands.json
git checkout 4.0.2-stable
hx editor/project_converter_3_to_4.cpp
/\.find
gd
-- takes me to an empty buffer, because it can't findString::find
due to the old compiledb, the file moved<space>Sfind
Helix log
~/.cache/helix/helix.log
helix.log
Platform
Linux
Terminal Emulator
st 0.8.5
Helix Version
22.12-294-g6494fc1d
The text was updated successfully, but these errors were encountered: