-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
CmdlineEnter throws "E5500: autocmd has thrown an exception: Vim:E685: Internal error: hash_add()" #19484
Labels
bug-crash
issue reporting a crash or segfault
events
events, autocommands
has:backtrace
issue contains a stacktrace/ASAN log
has:repro
issue contains minimal reproducing steps
Comments
Related: #11273 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug-crash
issue reporting a crash or segfault
events
events, autocommands
has:backtrace
issue contains a stacktrace/ASAN log
has:repro
issue contains minimal reproducing steps
Neovim version (nvim -v)
NVIM v0.7.2 Build type: Release LuaJIT 2.1.0-beta3 Compiled by runner@fv-az164-457 Features: +acl +iconv +tui
Vim (not Nvim) behaves the same?
no, VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 18 2022 19:26:30) Included patches: 1-3995
Operating system/version
Ubuntu 22.4., 5.15.0-41-generic
Terminal name/version
GNOME Terminal 3.44.0 using VTE 0.68.0 +BIDI +GNUTLS +ICU +SYSTEMD
$TERM environment variable
xterm-256color
Installation
Download latest version from github releases. Also happens with latest Ubuntu package (v0.7.0-dev)
How to reproduce the issue
Then type
:
.This issue also occurs when the autocommand executes
normal ?
ornormal /
ornormal q:
, so it probably occurs whenever the command line would be invoked twice.Expected behavior
No error should be produced.
In Vim, nothing happens, so I would guess the auto command most likely aborts execution.
Actual behavior
Vim:E685: Internal error: hash_add()
is produced.Sometimes it crashes with
malloc_consolidate(): unaligned fastbin chunk detected
ordouble free or corruption (fasttop)
orfree(): double free detected in tcache 2
and leaves the terminal in unusable state, but this is not deterministic and I can't reliably reproduce it.The text was updated successfully, but these errors were encountered: