Your message dated Tue, 27 Feb 2024 17:14:05 -0400
with message-id <[email protected]>
and subject line Re: Bug#927470: zsh: Segfault on completion menu in large git 
repo's
has caused the Debian Bug report #927470,
regarding zsh: Segfault on completion menu in large git repo's
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
927470: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927470
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 [email protected]: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

--- End Message ---
--- Begin Message ---
X-CrossAssassin-Score: 48289

--- End Message ---

Reply via email to