[vim/vim] Visual Block Mode "Out of Memory" and "lalloc(0, )" warning (Issue #14734)

12 views
Skip to first unread message

Jamarley

unread,
May 8, 2024, 2:18:49 PM5/8/24
to vim/vim, Subscribed

Steps to reproduce

  1. Open Vim, make a text file, write:
    ab
  2. Navigate over b
  3. Ctrl + V for Visual Block mode
  4. Press left to mark the letter a
  5. Now press Shift + I to switch to insert mode
  6. Press the Delete key
  7. Escape

You have successfully triggered the bug.
It spits out E340 and E341.
On some occasions it tells me that it tried to allocate a few gigabytes of memory and that it is now out of memory, though I have been unable to reproduce that behavior consistently.

Expected behaviour

The command should not error out and should correctly remove the letter from Visual Block mode to Insert Mode.

Version of Vim

Managed to reproduce this in 9.1.380 and 9.1.346

Environment

Reproduced this on Both Artix Linux 6.8.8 and Arch Linux 6.6.30 LTS
Was done in Alacritty and using zsh, although this seems to be an internal error

Logs and stack traces

Executing CursorMovedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing TextChangedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing CursorMovedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing TextChangedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing CursorMovedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing TextChangedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing CursorMovedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing TextChangedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()


Executing CursorMoved Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()
-- VISUAL BLOCK --
Executing CursorMoved Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()
-- INSERT --
Executing CursorMovedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()

Executing TextChangedI Autocommands for "*"
autocommand call s:Highlight_Matching_Pair()


E340: Internal error; if you can reproduce please report a bug
E341: Internal error: lalloc(0, )


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14734@github.com>

Christian Brabandt

unread,
May 8, 2024, 4:22:50 PM5/8/24
to vim/vim, Subscribed

Closed #14734 as completed via d5c8c09.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/14734/issue_event/12748911700@github.com>

Reply all
Reply to author
Forward
0 new messages