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 "nvim: /home/runner/work/neovim/neovim/src/nvim/message.c:2392: msg_scroll_flush: Assertion `to_scroll >= 0' failed." #28331
Comments
is this different than #21056 or the other open issues: https://github.com/neovim/neovim/issues?q=is%3Aissue+is%3Aopen+msg_scroll_flush+ ? |
Cannot reproduce #21056 (could not reproduce with the same commands). My case is more similar to one reply of #21056 as I also have VM (wsl 2 is a sort of light VM), ubuntu 22.04, Noice plugin. The post does not give reproductible steps unlike I do but still likely to be the same problem. I can reproduce #26505 with the exact same commands so same problem yeah. I cannot reproduce this post from #20673 For the record and to be fair both noice.nvim and "set cmdheight=0" are marked as experimental. |
We don't support that. If you can't reproduce without it, it's out of scope here. |
Why is not supported ? A popular plugin leading to a crash because it uses experimental API (I assume it's the reason ?) seems like a problem that should be addressed. At the very least by documenting this somewhere (in the help page ? In the assertion failure message ?). Or better by fixing crashes in the software. It took me +10 hours to debug this I find it a tad suprising the official answer is that you're fine with bugs and crashes without context. |
Why should we document that someone somewhere is using unstable functions/ABIs without any guarantees? Caveat emptor.
You assume wrong. |
Also see #27874 |
The problem will be addressed but it will be in 0.11 as we are looking to use these API:s in core. |
Alright thanks a lot for the explanations and I am glad the issue seems s not totally "out of scope" as said earlier but the issue has been identified and will be taken care of in the next version. I will let know the package manager of Noice that this issue (or another) could be referenced somewhere in the readme or in the list of known issues as many other engineers might lose a lot of precious time otherwise :) |
To be clear, noice will remain out of scope. If you install a plugin, it's on you to evaluate the pros and cons. There's no guarantee noice will restrict itself to whatever will be declared stable. |
Problem
Crash on startup with nvim: /home/runner/work/neovim/neovim/src/nvim/message.c:2392: msg_scroll_flush: Assertion `to_scroll >= 0' failed.
Steps to reproduce
env -i TERM=ansi-256color "$(which nvim-unstable)" --clean -u minimal.lua
Minimal.lua :
There is no backtrace. I compiled vim in Debug mode and ran with gdb
If I add a breakpoint at _exit and then
thread apply all bt full
I haveExpected behavior
Not crash on startup
Neovim version (nvim -v)
NVIM v0.10.0-dev-2898+g 4c31a1b Build type: RelWithDebInfo LuaJIT 2.1.1710088188 Run "nvim -V1 -v" for more info
Vim (not Nvim) behaves the same?
Cannot test as crash requires lua config
Operating system/version
windows 11 with WSL 2 (5.15.146.1-microsoft-standard-WSL2) ubuntu 22.04
Terminal name/version
Windows terminal
$TERM environment variable
xterm-256color
Installation
Downloaded from git release appimage
The text was updated successfully, but these errors were encountered: