From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15974 invoked by alias); 17 Mar 2016 15:24:41 -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: 38170 Received: (qmail 85 invoked from network); 17 Mar 2016 15:24:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.1 Date: Thu, 17 Mar 2016 16:24:35 +0100 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: segfault in completion for configure Message-ID: <20160317152435.GC11303@cventin.lip.ens-lyon.fr> Mail-Followup-To: zsh-workers@zsh.org References: <20160311134729.GA32476@cventin.lip.ens-lyon.fr> <20160311143202.4008e29b@pwslap01u.europe.root.pri> <160311150056.ZM30997@torch.brasslantern.com> <20160312031116.GC28459@zira.vinc17.org> <160312082029.ZM2340@torch.brasslantern.com> <160312093420.ZM14020@torch.brasslantern.com> <20160313215831.GA23404@zira.vinc17.org> <160314194323.ZM6887@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <160314194323.ZM6887@torch.brasslantern.com> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.24-6576-vl-r87279 (2016-03-16) With: updprompt() { psvar[2]="" unset _trapchld_called local njobs jobstr njobs=$#jobstates [[ $njobs -gt 1 ]] && jobstr="s" [[ $njobs -ge 1 ]] && jobstr=" $njobs job$jobstr |" echo 1 > /dev/tty [[ -n $TTY && $TERM == (xterm*|dtterm|mlterm|rxvt*|screen*) ]] && { [[ $TERM == screen* ]] || print -nP "\e]1;%m${ptsn:+[$ptsn]}:%.\x07" print -nP "\e]2;${jobstr}${WINTITLE:+ $WINTITLE |} %n@%m - %~ | %y\x07" } > /dev/tty echo 2 > /dev/tty } TRAPCHLD() { echo SIGCHLD 1 > /dev/tty if [[ -o interactive && -n $TTY ]] then updprompt typeset -g _trapchld_called=1 fi echo SIGCHLD 2 > /dev/tty } I get after "./configure --[Tab]": cventin:~/software/mutt/mutt,2> ./configure --SIGCHLD 1 1 2 SIGCHLD 2 zsh: segmentation fault (core dumped) ~/opt/zsh/bin/zsh -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)