Did you check docs and existing issues?
Neovim version (nvim -v)
v0.9.1
Operating system/version
Ubuntu 20.04, Linux mypc 5.11.0-42-generic #46~20.04.1-Ubuntu x86_64 GNU/Linux
Describe the bug
Full build info
nvim --version
NVIM v0.9.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/nvim/parts/nvim/build/.deps/usr/include/luajit-2.1 -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/build/src/nvim/auto -I/build/nvim/parts/nvim/build/build/include -I/build/nvim/parts/nvim/build/build/cmake.config -I/build/nvim/parts/nvim/build/src -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Just recently added noice to my config and it has been working great on archlinux. I just now pulled my config to my Ubuntu 20.04 laptop and nvim would instantly crash after installing noice and then also at launch. It would only extremely briefly show this message (or print it out if I pipe neovims output to a file):
nvim: /build/nvim/parts/nvim/build/src/nvim/message.c:2418: msg_scroll_flush: Assertion to_scroll >= 0' failed.`
Removing noice from lazy fixes the issue, so I am pretty sure it is related. I run the default noice config
Steps To Reproduce
I was able to reproduce it within the latest ubuntu:20.04 docker image:
- `docker run -it ubuntu:20.04 bash
- Install latest neovim from unstable branch (as stable is v0.7): https://github.com/neovim/neovim/wiki/Installing-Neovim#ubuntu
- clone my dotfiles to
$HOME/dotfiles and run $HOME/dotfiles/neovim/init
- run
nvim. It should install all plugins, then crash. relaunching also crashes
- to get the error message on stdout run
nvim > /dev/null, it'll crash and print out: nvim: /build/nvim/parts/nvim/build/src/nvim/message.c:2418: msg_scroll_flush: Assertion 'to_scroll >= 0' failed.
Expected Behavior
Run neovim normally, not crash instantly
Repro
I tried to narrow it down to a minimal init.lua, but sadly failed to reproduce it this way. It must therefore be my seemingly weird combination of plugins+running on Ubuntu 20.04, as I could not reproduce the issue on the debian:latest dockerimage, and also don't have this issue on my archlinux install at home.
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.9.1
Operating system/version
Ubuntu 20.04, Linux mypc 5.11.0-42-generic #46~20.04.1-Ubuntu x86_64 GNU/Linux
Describe the bug
Full build info
nvim --version NVIM v0.9.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/nvim/parts/nvim/build/.deps/usr/include/luajit-2.1 -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/build/src/nvim/auto -I/build/nvim/parts/nvim/build/build/include -I/build/nvim/parts/nvim/build/build/cmake.config -I/build/nvim/parts/nvim/build/src -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/includesystem vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Just recently added noice to my config and it has been working great on archlinux. I just now pulled my config to my Ubuntu 20.04 laptop and nvim would instantly crash after installing noice and then also at launch. It would only extremely briefly show this message (or print it out if I pipe neovims output to a file):
nvim: /build/nvim/parts/nvim/build/src/nvim/message.c:2418: msg_scroll_flush: Assertionto_scroll >= 0' failed.`Removing noice from lazy fixes the issue, so I am pretty sure it is related. I run the default noice config
Steps To Reproduce
I was able to reproduce it within the latest ubuntu:20.04 docker image:
$HOME/dotfilesand run$HOME/dotfiles/neovim/initnvim. It should install all plugins, then crash. relaunching also crashesnvim > /dev/null, it'll crash and print out:nvim: /build/nvim/parts/nvim/build/src/nvim/message.c:2418: msg_scroll_flush: Assertion 'to_scroll >= 0' failed.Expected Behavior
Run neovim normally, not crash instantly
Repro