zsh-workers
 help / color / mirror / code / Atom feed
* Bug: ZSH crashes upon receiving SIGINT
@ 2015-03-09 17:46 John
  2015-03-10 10:46 ` Peter Stephenson
  0 siblings, 1 reply; 17+ messages in thread
From: John @ 2015-03-09 17:46 UTC (permalink / raw)
  To: zsh-workers

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

#
<<hit ctrl-c>>
# 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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-03-13  6:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-09 17:46 Bug: ZSH crashes upon receiving SIGINT John
2015-03-10 10:46 ` Peter Stephenson
2015-03-10 11:16   ` Peter Stephenson
2015-03-10 22:06   ` John
2015-03-11  0:43     ` Bart Schaefer
2015-03-11  9:44       ` Peter Stephenson
2015-03-11 19:55         ` Peter Stephenson
2015-03-11 18:38       ` John
2015-03-11 20:09         ` Peter Stephenson
2015-03-11 23:23           ` John
2015-03-11 23:31             ` Bart Schaefer
2015-03-11 23:47               ` John
2015-03-12  5:11                 ` Andrew Janke
2015-03-12 19:06                   ` John
2015-03-12 19:58                 ` Peter Stephenson
2015-03-13  4:00                   ` Bart Schaefer
2015-03-13  6:44       ` Han Pingtian

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).