From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21828 invoked by alias); 13 Mar 2015 06:56:26 -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: 34711 Received: (qmail 23602 invoked from network); 13 Mar 2015 06:56:12 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Date: Fri, 13 Mar 2015 14:44:53 +0800 From: Han Pingtian To: zsh-workers@zsh.org Subject: Re: Bug: ZSH crashes upon receiving SIGINT Message-ID: <20150313064453.GA3161@localhost.localdomain> Mail-Followup-To: zsh-workers@zsh.org References: <20150310104653.181bd618@ntlworld.com> <1396169464.3080953.1426025172139.JavaMail.yahoo@mail.yahoo.com> <150310174327.ZM13990@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150310174327.ZM13990@torch.brasslantern.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15031306-0033-0000-0000-000003F0B69F On Tue, Mar 10, 2015 at 05:43:27PM -0700, Bart Schaefer wrote: > > It's *possible* that this is already "fixed" in development versions > of zsh, I tested according to what Dave suggested in the bug report, and looks like it has ben fixed in development version: % sudo unshare --fork --pid =zsh [root@localhost]/tmp# print $ZSH_VERSION 5.0.7-dev-1 [root@localhost]/tmp# print $ZSH_PATCHLEVEL zsh-5.0.7-336-ge85906e [root@localhost]/tmp# <^C here> [root@localhost]/tmp# <^C here> [root@localhost]/tmp# <^C here> [root@localhost]/tmp# <^C here> [root@localhost]/tmp# <^C here> [root@localhost]/tmp# <^D here> % % sudo unshare --fork --pid /usr/bin/zsh [root@localhost]/tmp# print $ZSH_VERSION 5.0.7 [root@localhost]/tmp# <^C here> [root@localhost]/tmp# % % [root@localhost]/tmp# zsh: error on TTY read: Input/output error %