Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug: ZSH crashes upon receiving SIGINT



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

%



Messages sorted by: Reverse Date, Date, Thread, Author