-
Notifications
You must be signed in to change notification settings - Fork 10
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
Frequent crashes after updating neovim from 0.9.5 to 0.10.1 #121
Comments
Does this happen when you're doing tab completion (also, what does |
Also JFYI - it might be worth updating and trying the changes I'm going to push in just a moment. I started being able to reliably crash neovim-gtk with some rust code, and eventually traced the problem down to nvim-rs being a bit out of date - resulting in us panicking because we're getting return values from neovim's API that we're not expecting.... EDIT: nevermind, it's still a problem it seems. I'm a little stumped on what's happening here - it seems like rpmv is returning an error saying it can't properly decode a message being received, but I can't seem to figure out why that is. I'm almost worried this might be a neovim bug, but I'll have to keep looking :s. In the mean time I wrote up a quick workaround in my local branch that I'm going to try out and push if it ends up working around the problem. |
Mind seeing if this helps at all? https://github.com/Lyude/neovim-gtk/tree/wip/nvim-rpc-wrong-type-workaround |
OK - I think I might be a bit closer to understanding what's happening after seeing this a few times. I think this might have some kind of relation to how we're informing neovim about the bounds of popups, but I'll have to take a closer look soon. |
Try this branch https://github.com/Lyude/neovim-gtk/tree/wip/input-crash |
Maybe the following backtrace can help... Using:
with branch
I got this backtrace:
|
@marcelometal a bit, but I could use someone else trying the branch I just pushed. I -think- I actually have it this time, I made it so we do this call synchronously and since then I haven't had any crashes over the last few weeks: https://github.com/Lyude/neovim-gtk/tree/wip/input-crash |
I just upgraded to F41 and that upgraded my nvim, so ran into this again (sorry for not testing earlier). I just
I was running with RUST_BACKTRACE=1 but it didn't show anything extra. I'm not getting it when auto-completing now, it happened when I tried to backspace erase some code in a file I had open. |
So I think it may be a race condition of some sort still, because my previous fix definitely lowered how often this problem happens but I managed to just hit it again myself |
I can reproduce it at will, as soon as I press backspace in my session I usually |
@jadahl Oh! That's super useful
And get me the output that comes up from right when things crash, that should tell me what kind of interactions are actually causing this with neovim |
fhsjhsdfjhdsjfakfdhsdjafh oh i hate this
I'm going to file a bug and reference this here |
OK so - right now we need to come up with the simplest reproducer possible for this problem. If anyone has a very basic config with neovim-gtk that can trigger this, please let the people in this issue know about it! I'm going to try my best to come up with something before thanksgiving or after that hopefully the folks over at neovim can use to see the issue on their end. |
When editing code, it often crashes and logs
and nothing else.
Technical information:
The text was updated successfully, but these errors were encountered: