Nixpkgs: Neovim Segmentation Fault

Created on 26 Nov 2019  路  6Comments  路  Source: NixOS/nixpkgs

Describe the bug
Neovim crashes when resizing windows under some circumstances.

To Reproduce
There are many different ways to repro, these are some reliable steps to reproduce the behavior:

  1. nvim -u NORC
  2. Press <C-W> S to create a split
  3. :te to open a terminal
  4. <C-W> J to go to other window
  5. <C-W> _ to maximize window

Expected behavior
Windows should resize and there should be no crash.

Additional context
Originally filed at https://github.com/neovim/neovim/issues/11458 but it seems to only be affecting NixOS. The crashes only started since I upgraded from NixOS _19.03_ to _19.09_.

Metadata

  • system: "x86_64-linux"

    • host os: Linux 5.3.9, NixOS, 20.03pre-git (Markhor)

    • multi-user?: yes

    • sandbox: yes

    • version: nix-env (Nix) 2.3.1

    • channels(root): "nixos"

    • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: neovim
# a list of nixos modules affected by the problem
module: applications/editors/neovim/default.nix

cc @rvolosatovs @manveru

bug vim

All 6 comments

If you have a known-good nixos revision and a known-bad nixos revision you could try bisecting the issue.

The earliest local generation on which this happens is from 2019-10-29. The latest known-good generation is from 2019-10-11. I'm not sure these are accurate though, I'd have expected this to have happened later.

That looks helpful. Maybe you can report upstream that the libvterm update is responsible, and ask if someone on non-nixos can reproduce it with that version of libvterm (or report which version they use).

Thanks for guiding me in the right path @timokau, I opened a PR with a fix. :point_up:

Thanks for fixing this :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ayyess picture ayyess  路  3Comments

rzetterberg picture rzetterberg  路  3Comments

yawnt picture yawnt  路  3Comments

grahamc picture grahamc  路  3Comments

retrry picture retrry  路  3Comments