app-editors/vim-9.0.1776 crashes when opening certain kind of files. I experienced this behavior when trying to open a ruby file (even an empty one, called test.rb) and my .vimrc file. Other files (for example, a .tex file) didn't cause the crash. I tried uninstalling all packages from the app-vim category and running vim with a new user, in the (unlikely) cause the crash was cause by a plugin, but the crash persisted. Reproducible: Always Steps to Reproduce: 1. Create an empty file called test.rb 2. Open the file using vim-9.0.1776 (either by running `vim test.rb` or by launching vim and from within vim issue the `:edit test.rb` command) Actual Results: Vim crashes Expected Results: Vim should open the empty test.rb file Output from emerge --info: Portage 3.0.51 (python 3.11.4-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.37-r4, 6.4.11 x86_64) ================================================================= System uname: Linux-6.4.11-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13900KF-with-glibc2.37 KiB Mem: 65665724 total, 53730500 free KiB Swap: 126565368 total, 126565368 free Timestamp of repository gentoo: Tue, 22 Aug 2023 06:30:01 +0000 Head commit of repository gentoo: 49b1566673b221d2efbed124d38795fd8385859f Timestamp of repository kde: Mon, 21 Aug 2023 20:01:38 +0000 Head commit of repository kde: bdb596efd972f4c53d3456ec218edfa3df6fd90b Timestamp of repository steam-overlay: Mon, 21 Aug 2023 12:46:36 +0000 Head commit of repository steam-overlay: a40851ebde54882e4cb5fda40f294431b1d493fc sh bash 5.2_p15-r6 ld ld di GNU (Gentoo 2.41 p2) 2.41.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_rc1_p3::gentoo dev-lang/rust-bin: 1.71.1::gentoo dev-util/cmake: 3.27.3-r1::gentoo dev-util/meson: 1.2.1-r1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/openrc: 0.48::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/autoconf: 2.71-r7::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.41-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r3::gentoo, 16.0.6::gentoo sys-devel/gcc: 13.2.0::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo, 16.0.6::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r4::gentoo Repositories: gentoo location: /var/portage/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 kde location: /var/portage/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo volatile: True local location: /var/portage/repos/local masters: gentoo volatile: True steam-overlay location: /var/portage/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: True crossdev location: /var/portage/repos/portage-crossdev masters: gentoo priority: 10 volatile: True Installed sets: @cross-avr, @needed-from-outside-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" FCFLAGS="-O2 -pipe -march=native" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j32" PKGDIR="/var/portage/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi activities alsa amd64 bash-completion bluetooth branding bzip2 c++0x cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gui heif iconv icu joystick jpeg kde kwallet lcms libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline scanner screencast sdl seccomp sound spell split-usr ssl startup-notification svg test-rust threads tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput evdev keyboard mouse" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" SANE_BACKENDS="hp hpsj5s" VIDEO_CARDS="amdgpu radeon radeonsi r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 868501 [details] Backtrace from gdb
Might be fixed in 9.0.1777. https://github.com/vim/vim/commit/be07caa071ea93c07b1b2204a17237133f38b2bd
Indeed, crashes even if I just try running `vim /tmp/test.rb`.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c9b89333a0ba3e3b5b4373c9f0ba6d3034a3cf commit f4c9b89333a0ba3e3b5b4373c9f0ba6d3034a3cf Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-08-23 02:19:36 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-08-23 02:19:36 +0000 app-editors/gvim: add 9.0.1777, drop 9.0.1776 Closes: https://bugs.gentoo.org/912841 Signed-off-by: Mike Gilbert <floppym@gentoo.org> app-editors/gvim/Manifest | 2 +- app-editors/gvim/{gvim-9.0.1776.ebuild => gvim-9.0.1777.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c719d131d0f9f17ab211e18e5b94c41e165e6976 commit c719d131d0f9f17ab211e18e5b94c41e165e6976 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-08-23 02:19:17 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-08-23 02:19:17 +0000 app-editors/vim: add 9.0.1777, drop 9.0.1776 Bug: https://bugs.gentoo.org/912841 Signed-off-by: Mike Gilbert <floppym@gentoo.org> app-editors/vim/Manifest | 2 +- app-editors/vim/{vim-9.0.1776.ebuild => vim-9.0.1777.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b549cd2516912bce02b77b0a625ea1e386a26d2b commit b549cd2516912bce02b77b0a625ea1e386a26d2b Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-08-23 02:18:56 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-08-23 02:18:56 +0000 app-editors/vim-core: add 9.0.1777, drop 9.0.1776 Bug: https://bugs.gentoo.org/912841 Signed-off-by: Mike Gilbert <floppym@gentoo.org> app-editors/vim-core/Manifest | 2 +- .../vim-core/{vim-core-9.0.1776.ebuild => vim-core-9.0.1777.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-)