From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21601 invoked by alias); 9 Mar 2015 17:52:09 -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: 34691 Received: (qmail 10995 invoked from network); 9 Mar 2015 17:52:06 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1425923209; bh=oiJbuwqbkH02ckOL3W45S5FqzaVuQvF6myhAvrEUrb4=; h=Date:From:Reply-To:To:Subject:From:Subject; b=Y1XVrc/u7fKmPIm3ycfIuJB4mR+VZ5QZp4WN1Depd2IIOfUEEJqGKFnEJ4B9bxwb8HW7YHN/A01ZY1TT0zs/w83f43UPr0svfBsJ/Crc9lti8oZDrJKLKdSqZyJSockd0Dg6V3zY6LQ2g/fbFqM+jVbOYLgYdqbjh1CMya/FH9c7v7r6RL1Tnh2+OU+PEj1I8n2TSDGhpUd1x8zjYdGvfZmurh7tO1KC+XBQe4DLy3Qbhwi2NcdI6oPPCRC1hCKdx2xvlOSy9m4tdX1Pu+sZwY6WtA4UM1rpdfRhG4D6+kUPigAEw1rMUBFHaheUaAd/0MCSjotCH9nhYeHTLGROtw== X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 575062.29508.bm@omp1019.mail.bf1.yahoo.com X-YMail-OSG: moAwsuEVM1lFO0GE72KvdUT6i0U4s45WMRnEsULVzw84PEK.9Ymt0UmM.Vo4k6Y iw5gXe99L.qLxyKf8LpTsDZ2rKcFGDAbKOcxj8fGh8mx3TwSNDwnxs57320BUlipGQWaJA0F17f2 QZBEp5m8_b1LV33qnHK3FoJrkpPxrRAPf0roeAucTH3WRLnQZiCObiaSKkUeBaBvPExJMy5yb4Oa aANQb7GLxLuPYXq3pnwW.xVC0DT6B.PWiPmbUSKhbEQzDFUAfSN_B8NYqUYbUpOROTT6SUpgPtw6 PzEQNCBmKDJauPTggRkDC2UiOsINzWhbvYzsU3d9V4zzC0EsV7AIEY2VdPh84QM3xzc1e047cAOI njnN_kB0vbA5LuagCwbGImXbLerS7JpmG8zMnNdR1xrk6.PqG3uloP5OIpjc8qor_XHbJyQm0pFc MZqIhr0TjBfVdDPdDEIrfhyUJ43nCBI8V7AZzKl2iLbMklI1_Pxq0wuChhbfti7KzLBcKlugDi.C SGqq5BzINjws4gHO8hWqWfr6cJFSEFvaaXYB5Sf_vuSJzPi2iVRNe5s37Oz2FZqqvB.c1vO2kgVQe Date: Mon, 9 Mar 2015 17:46:43 +0000 (UTC) From: John Reply-To: John To: "zsh-workers@zsh.org" Message-ID: <262321015.1750177.1425923203098.JavaMail.yahoo@mail.yahoo.com> Subject: Bug: ZSH crashes upon receiving SIGINT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Background: Arch Linux[1] has a bash script used for installing the distro and or fixing a broken distro which is shipped with the live CD called 'arch-chroot.' Bug: ZSH is not capable of defending itself against SIGINT and crashes from within a chroot. No other shell tested ( mksh, bash, dash, fish, and tcsh) seems to suffer from this deficiency. In a recent bug report[2], the Arch devs believe this bug to be contained within ZSH, not within their code. How to trigger the bug: 1) Mount an Arch partition and install 'zsh' within it 2) Execute the chroot command from another Arch env: arch-chroot /mnt/mini /bin/zsh 3) Hit ctrl+c in the chroot Example of the bug: # arch-chroot /mnt/mini /bin/zsh # <> # umount: /mnt/mini/dev/pts: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) umount: /mnt/mini/dev: target is busy (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1).) % zsh: error on TTY read: Input/output error Thank you for the time and I am glad to provide additional info or testing. PLEASE CC ME ON ANY REPLY AS I AM NOT SUBSCRIBED TO THIS ML. 1. https://www.archlinux.org 2. https://bugs.archlinux.org/task/44073