From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28305 invoked by alias); 20 Dec 2013 19:24:43 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32162 Received: (qmail 25872 invoked from network); 20 Dec 2013 19:24:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Fri, 20 Dec 2013 20:24:35 +0100 From: Axel Beckert To: zsh-workers@zsh.org Subject: Fwd (potential regression in 5.0.3): Bug#732726: zsh function freeze Message-ID: <20131220192435.GE27889@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: Linux 2.6.32-5-xen-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.2.1 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 Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.20 (2009-06-14) 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 ----- Date: Fri, 20 Dec 2013 19:14:36 +0100 From: Vincent Lefevre Subject: [Pkg-zsh-devel] Bug#732726: zsh function freeze Reply-To: Vincent Lefevre , 732726@bugs.debian.org 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 # 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 . 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 ----- Date: Fri, 20 Dec 2013 19:19:18 +0100 From: Vincent Lefevre To: 732726@bugs.debian.org Subject: [Pkg-zsh-devel] Bug#732726: zsh function freeze Reply-To: Vincent Lefevre , 732726@bugs.debian.org 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@deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)