Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Fwd (potential regression in 5.0.3): Bug#732726: zsh function freeze
- X-seq: zsh-workers 32162
- From: Axel Beckert <abe@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Fwd (potential regression in 5.0.3): Bug#732726: zsh function freeze
- Date: Fri, 20 Dec 2013 20:24:35 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: DeuxChevaux.org -- The Citroën 2CV Database
Hi,
this has been reported[1] against zsh 5.0.3 in Debian today. Looks like
some regression in 5.0.3 on a first glance. Maybe related to the
test-suite freezes which have been reported on a few architectures.
[1] http://bugs.debian.org/732726
Since 5.0.4 seems close, I thought I'd better forward it soon despite
I haven't looked at it closer yet.
----- Forwarded message from Vincent Lefevre <vincent@xxxxxxxxxx> -----
Date: Fri, 20 Dec 2013 19:14:36 +0100
From: Vincent Lefevre <vincent@xxxxxxxxxx>
Subject: [Pkg-zsh-devel] Bug#732726: zsh function freeze
Reply-To: Vincent Lefevre <vincent@xxxxxxxxxx>, 732726@xxxxxxxxxxxxxxx
Package: zsh
Version: 5.0.3-1
Severity: important
This is an important regression (no problems after downgrading to
5.0.2-6), always reproducible.
With a private SVN repository, "svncdiff -c65935 ~/wd | head" freezes, where
svncdiff is the following zsh function (I have "autoload -U svncdiff"):
------------------------------------------------------------------------
#!/usr/bin/env zsh
# Wrapper to "svn diff", written by Vincent Lefevre <vincent@xxxxxxxxxx>
# Needs my tdiff utility to process the diff output; otherwise you need
# to remove the "| tdiff" at the end.
# Example of svncdiff usage:
# svncdiff -5 -x -p file
# for 5 lines of unified context and function information.
emulate -LR zsh
local -a args xopt
setopt EXTENDED_GLOB
while [[ $# -ge 1 ]]
do
if [[ "x$1" == x-[0-9]# ]] then
args=($args --diff-cmd diff)
xopt=($xopt -U${1[2,-1]})
elif [[ $# -ge 2 && "x$1" == x-x ]] then
shift
xopt=($xopt $1)
else
args=($args $1)
fi
shift
done
[[ $#xopt -ge 1 ]] && args=(-x "$xopt" $args)
svnwrapper diff "$args[@]" | tdiff
# $Id: svncdiff 38442 2010-08-05 11:41:16Z vinc17/ypig $
------------------------------------------------------------------------
The dependencies can be found on <https://www.vinc17.net/unix/>.
When svncdiff is called as a script, this is no such problem.
With my tps utility, I can observe:
10987 sshd: vlefevre@pts/2
└─> 10988 -zsh
└─> 11262 -zsh
├─> 11264 zsh -f -- /home/vlefevre/bin/svnwrapper diff -c65935 /home/vlefevre/wd
│ └─> 11269 svn diff -c65935 /home/vlefevre/wd
│ ├─> 11273 zsh /home/vlefevre/scripts/ssh mysvn svnserve -t
│ │ ├─> 11295 cat
│ │ └─> 11298 ssh -F /home/vlefevre/.ssh/config -C mysvn svnserve -t
│ └─> 11299 zsh /home/vlefevre/scripts/ssh mysvn svnserve -t
│ ├─> 11317 cat
│ └─> 11320 ssh -F /home/vlefevre/.ssh/config -C mysvn svnserve -t
└─> 11265 perl /home/vlefevre/bin/tdiff
I think that this occurs on big changesets.
$ svncdiff -c65935 ~/wd | wc
2166 14746 212680
I'll try to investigate, but any idea about which zsh change could
trigger the problem?
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages zsh depends on:
ii libc6 2.17-97
ii libcap2 1:2.22-1.2
ii libtinfo5 5.9+20130608-1
ii zsh-common 5.0.3-1
Versions of packages zsh recommends:
ii libncursesw5 5.9+20130608-1
ii libpcre3 1:8.31-2
Versions of packages zsh suggests:
ii zsh-doc 5.0.3-1
-- no debconf information
----- End forwarded message -----
----- Forwarded message from Vincent Lefevre <vincent@xxxxxxxxxx> -----
Date: Fri, 20 Dec 2013 19:19:18 +0100
From: Vincent Lefevre <vincent@xxxxxxxxxx>
To: 732726@xxxxxxxxxxxxxxx
Subject: [Pkg-zsh-devel] Bug#732726: zsh function freeze
Reply-To: Vincent Lefevre <vincent@xxxxxxxxxx>, 732726@xxxxxxxxxxxxxxx
On 2013-12-20 19:14:36 +0100, Vincent Lefevre wrote:
> I think that this occurs on big changesets.
Indeed I can reproduce it with:
svncdiff -c 8540 svn://scm.gforge.inria.fr/svn/mpfr/trunk | head
----- End forwarded message -----
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe@xxxxxxxxxxxxxxx (Mail)
X See http://www.asciiribbon.org/ | abe@xxxxxxxxx (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author