-
-
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
Panic when calling :reload-all
(sometimes)
#4878
Comments
I have not experienced this, with a reproducible set of steps is hard to debug. |
I'll see if I can come up with something. I manage to reproduce this accidentally almost hourly. All I'm doing is routine editing, and then |
I did experience this once(but I think I forgot to finish the bug report) I'll try and run with backtrace for the next couple days and see if I can reproduce |
I think I got this after I formatted the whole directory or something |
Here's my first backtrace:
I'm now running with |
Ok, here's a full backtrace:
Again, I ran |
@ocharles can you check if you get the same when reloading a single doc? Also thanks for the backtrace 👍 would be great to try and narrow down the reproducing steps. I'll give it a go as well locally to try and find a way to trigger it |
Do you mean |
I meant reload but that's a good test as well. Just trying to figure out if this is something with the existing code that didn't manifest before because we were only updating one doc and one view |
I can reproduce this. The problem is that when we close a split we don't get rid of the split's ViewId on all buffers, just the focused one.
This panics when trying to reload
|
I made reload-all a bit more defensive so we don't have a regression, let me know what you think @the-mikedavis |
Summary
Sometimes when I run
:reload-all
I get:This doesn't /always/ happen.
Reproduction Steps
So far, all I know is that I open a bunch of files and at some point call
:reload-all
. This causes a panic.Helix log
No response
Platform
Linux
Terminal Emulator
Konsole
Helix Version
e6dad96
The text was updated successfully, but these errors were encountered: