Package: zsh Version: 5.7.1-1 Severity: important Tags: upstream Dear Maintainer,
ZSH seems to segfault in the following scenario in larger git repositories: ``` vi Zaaksysteem::Bar::voo::vooo::voo<tab><ctrl-c> # you'll receive the following message: Killed by signal in compadd after 0s vi <tab> # segfault ``` Steps to reproduce this: * cd /tmp * git clone g...@github.com:git/git.git * cd git * zsh -f * Set the following options: ``` autoload -Uz compinit zstyle ':completion:*' completer _complete _match _approximate zstyle ':completion:*:match:*' original only zstyle ':completion:*:approximate:*' max-errors 1 numeric zstyle ':completion:*' menu select zstyle -e ':completion:*:approximate:*' \ max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3))numeric)' zstyle ':completion:*' squeeze-slashes true _ZCOMP=${ZDOTDIR:-$HOME}/.zcompdump today=$(date --date '00:00 today' +%s) if [[ ! -e $_ZCOMP || $today -gt $(stat --format %Y $_ZCOMP) ]]; then compinit -i touch ${_ZCOMP} else compinit -C; fi unset _ZCOMP ``` * now execute the following commands ``` vi Zaaksysteem::Bar::voo::vooo::voo<tab><ctrl-c> # you'll receive the following message: Killed by signal in compadd after 0s vi <tab> # segfault ``` I've submitted this bug already to upstream[1]. Cheers, Wesley [1]: http://www.zsh.org/mla/workers/2019/msg00251.html -- Package-specific info: Packages which provide vendor completions: Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-================-===========================-============-======================================================== ii curl 7.64.0-2 amd64 command line tool for transferring data with URL syntax ii docker-ce-cli 5:18.09.5~3-0~debian-buster amd64 Docker CLI: the open-source application container engine ii git-buildpackage 0.9.14 all Suite to help with Debian packages in Git repositories ii lastpass-cli 1.3.2-1 amd64 command line interface to LastPass.com ii mpv 0.29.1-1 amd64 video player based on MPlayer/mplayer2 ii pulseaudio 12.2-4 amd64 PulseAudio sound server ii systemd 241-3 amd64 system and service manager ii udev 241-3 amd64 /dev/ and hotplug management daemon ii vlc-bin 3.0.6-1 amd64 binaries from VLC ii youtube-dl 2019.01.17-1 all downloader of videos from YouTube and other sites dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/ -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (300, 'unstable'), (50, 'experimental'), (10, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages zsh depends on: ii libc6 2.28-8 ii libcap2 1:2.25-2 ii libtinfo6 6.1+20181013-2 ii zsh-common 5.7.1-1 Versions of packages zsh recommends: ii libc6 2.28-8 ii libncursesw6 6.1+20181013-2 ii libpcre3 2:8.39-12 Versions of packages zsh suggests: pn zsh-doc <none> -- no debconf information