-
Notifications
You must be signed in to change notification settings - Fork 109
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
bug: nvim crashing on Ubuntu - fixed by removing noice #588
Comments
it would be really helpfull if you could try removing plugins and like this figure out which are needed to reproduce the issue |
I know, tried to do this a few times, but was unable to find the culprit. Since I'm at work currently, I just removed noice locally and will try to find the culprit again later. Maybe I'll write a script to automate it. I'm very sorry. I hoped that somebody could point me to a tool that helps me out there if I posted like this. |
well just comment out half of your plugins |
@Mithrandir2k18 |
I am now on
And the problematic plugin seems to be lsp-zero, at least deleting it solves the issue. I am on branch v1 but the same happens on v2 and v3 on my machine, so it seems there's an issue between these two plugins - but only on ubuntu 20.04 it seems, at least I don't have the issue on my other devices. |
Whenever Neovim crashes, it's a Neovim bug. If you still have segfaults, then you need to get a proper stacktrace (see the Neovim wiki) and report an issue there with a minimal repro. |
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: 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:
$HOME/dotfiles
and run$HOME/dotfiles/neovim/init
nvim
. 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
The text was updated successfully, but these errors were encountered: