Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug: ZSH crashes upon receiving SIGINT
- X-seq: zsh-workers 34705
- From: Andrew Janke <janke@xxxxxxxxx>
- To: John <da_audiophile@xxxxxxxxx>, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Bug: ZSH crashes upon receiving SIGINT
- Date: Thu, 12 Mar 2015 01:11:21 -0400
- Cc: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:message-id:date:from :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=Ji23egET2bYF3yKjIrobhx x9ixo=; b=DR9l6uOi8nh4EwSb+3Yx/8ayMXghuQ6yjd+UClr2jjD1pxK3UoydeQ em3A/mAwzOKX7f27GoNGhdZ2zvMTQq6J1XZUVCmrJtA55qo0s+vTd4Vo9u8XPmxm v1QyVa5Y26mtjjR2YSmlZHHF/dLfdQ5Z5qBN3e12D+joC92tThlPk=
- In-reply-to: <91460363.4306421.1426117627753.JavaMail.yahoo@mail.yahoo.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAH+w=7YxUWi4GQ3zCvArLm8bidvRa3YgDkmO4VJWimUWASJkHg@mail.gmail.com> <91460363.4306421.1426117627753.JavaMail.yahoo@mail.yahoo.com>
Hi folks,
I was able to set up an Arch Linux instance that can consistently
reproduce this issue. It's on a public-facing server, so if having
access to work with this directly would help you debug it, send me a
direct email with a desired username and public SSH key and I'll set you
up with an account.
To set up a server to reproduce the issue:
Start with a fresh Arch Linux installation, and then:
pacman -Syy
pacman -S zsh arch-install-scripts
mkdir -p /chroots/mini
pacstrap -d -i /chroots/mini base zsh
Then to make the breakage happen:
arch-chroot /chroots/mini /bin/zsh
Wait for the prompt and hit Ctrl-C. It'll immediately produce those
umount and input error messages.
After you get errors from this, your mount table will be in an unclean
state and subsequent arch-chroot calls will fail. To clean up manually
so you can arch-chroot again:
umount /chroots/mini/dev/pts
umount /chroots/mini/dev
Cheers,
Andrew
On 3/11/15 7:47 PM, John wrote:
Actually Peter wants you to run the zmodload and print from here inside the chroot, not from outside it.
<<Headsmack>>
Running it from within the chroot gives the opposite output. I googled for how I can toggle this parameter but didn't find a good answer. Please advise.
# zmodload zsh/parameter
# print $options[MONITOR]
off
Messages sorted by:
Reverse Date,
Date,
Thread,
Author