Skip to content

Sporadic crashes on Sway/Wezterm #31274

@FredTheDino

Description

@FredTheDino

Problem

Neovim sometimes crashes when I'm editing code. It has happened three or four times now. It always crashes with the same assertion error:

vim: /usr/src/debug/neovim/neovim/src/nvim/normal.c:2539: nv_screengo: Assertion `curwin->w_curswant <= INT_MAX - w' failed.

I don't know if this is an actionable issue - but I expect it happens to other people as well.

Steps to reproduce

I have no idea how to reproduce it - since it for me happens sporadically.

Expected behavior

I expect it not to crash.

Nvim version (nvim -v)

NVIM v0.10.2 Build type: RelWithDebInfo LuaJIT 2.1.1727870382 Run "nvim -V1 -v" for more info

Vim (not Nvim) behaves the same?

Have not been able to verify.

Operating system/version

6.11.5-arch1-1 x86_64 GNU/Linux (Arch Linux)

Terminal name/version

wezterm 20240203-110809-5046fc22

$TERM environment variable

xterm-256color

Installation

Arch public repository - so mainline Neovim on arch linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug-crashissue reporting a crash or segfaultcolumnsign/number columnhas:backtraceissue contains a stacktrace/ASAN loghas:planhas:reproissue contains minimal reproducing stepsnormal-modetext objects, normal commands

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions