Skip to content

E315 ml_get:invalid_lnum: [number] in terminal buffer with large termwinscroll and program exceeding the limit #15351

@user202729

Description

@user202729

Steps to reproduce

I don't know how to reproduce this, but I have a stack traceback. It happens occasionally.

Roughly speaking, it happens when I have a terminal buffer (:term), run some program that prints out lots of stuff, go away to another buffer, then look back some time later.

There's a stack traceback below.

Expected behaviour

No error happens.

Version of Vim

9.0.749

Environment

Ubuntu

Logs and stack traces

#0  0x00005555556086e7 in siemsg ()
#1  0x00005555555fd46e in  ()
#2  0x000055555572c662 in plines_win_nofold ()
#3  0x000055555572c862 in plines_win_nofill ()
#4  0x0000555555736c90 in mouse_comp_pos ()
#5  0x000055555573738c in jump_to_mouse ()
#6  0x0000555555738453 in do_mouse ()
#7  0x0000555555741d72 in normal_cmd ()
#8  0x0000555555908d09 in main_loop ()
#9  0x0000555555901abe in vim_main2 ()
#10 0x00007ffff5a29d90 in __libc_start_call_main (main=main@entry=0x555555609010 <main>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdfb8) at ../sysdeps/nptl/libc_start_call_main.h:58
#11 0x00007ffff5a29e40 in __libc_start_main_impl (main=0x555555609010 <main>, argc=1, argv=0x7fffffffdfb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdfa8) at ../csu/libc-start.c:392
#12 0x000055555560ac15 in _start ()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions