Package: vim-nox
Version: 2:9.1.2103-1
Severity: normal
X-Debbugs-Cc: [email protected]
I observe a bug with the following setup:
docker run --rm -ti debian:testing
apt update
apt install vim-nox
echo
N=2140324650240744961264423072839333563008614715144755017797754920881418023447140136643345519095804679610992851872470914587687396261921557363047454770520805119056493106681
> a.py
vim --clean a.py
The outcome is that vim errors out with:
E363: Pattern uses more memory than 'maxmempattern'
As a consequence of that error, syntax highlighting is then no longer
active in the buffer.
The precise vim version is:
vim --version | head -n 2
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Jan 23 2026 11:27:15)
Included patches: 1-948, 950-2103
Other versions checked:
More recent in Debian: The bug also occurs with 2:9.1.2141-1
Less recent in Debian: The bug does *not* occur with 2:9.1.1230-2
Upsteam has a strinkingly similar issue reported.
https://github.com/vim/vim/issues/19079
Apparently the collection of patches 1-2050 does not encounter the
issue, so the faulty patch might be in the set 949, 2051-2103
Best,
-- Package-specific info:
--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.nox
/usr/bin/vim is /usr/bin/vim.nox
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.11+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages vim-nox depends on:
ii libacl1 2.3.2-2+b2
ii libc6 2.42-11
ii libgpm2 1.20.7-12+b1
ii liblua5.1-0 5.1.5-11+b1
ii libperl5.40 5.40.1-7
ii libpython3.13 3.13.12-1
ii libruby3.3 3.3.8-2
ii libselinux1 3.9-4+b1
ii libsodium23 1.0.18-2
ii libtcl8.6 8.6.17+dfsg-1+b1
ii libtinfo6 6.6+20251231-1
ii vim-common 2:9.1.2103-1
ii vim-runtime 2:9.1.2103-1
vim-nox recommends no packages.
Versions of packages vim-nox suggests:
pn cscope <none>
pn vim-doc <none>
-- no debconf information