-
Notifications
You must be signed in to change notification settings - Fork 34
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
Error on some large operations #351
Comments
What version of vim/neovim are you using? I'm not able to reproduce that error with your examples on vim 9.0.2190, 9.1.346 or neovim 0.9.5. |
Good point, I probably should have investigated this further... I can reproduce this with the current Neovim master on MacOS; more specifically this commit.
Also, a perhaps more direct way to reproduce:
|
backtrace
There seems to be an error while decoding json ( Coqtail/autoload/coqtail/channel.vim Line 101 in c881047
|
Weird, I'm still not hitting that error with that commit of neovim on MacOS, but thanks to your debugging I think I know what's going on. The first error ( I think I can fix this by actually checking if we have a complete response instead of just blindly trying to decode it. It looks like there should always be an empty string after a complete line so that should be pretty easy to check and I'm not sure why I wasn't doing it to begin with. The only issue would be if neovim also blows up parsing a really long valid JSON string. |
Some operations with particularly large outputs currently cause an error:
Two simple examples that cause this:
This issue might have also locked up my CoqTail (and, by extension, my Vim) instance; although I am not able to reproduce that.
The text was updated successfully, but these errors were encountered: