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

Re: zsh 5.1 freezes with zombie child



On 2015-09-02 01:07:43 +0200, Vincent Lefevre wrote:
> I did with zsh 5.1:
> 
> 1. Run "emacs some_file &"
> 2. Run "less some_other_file"
> 3. Quit emacs.
> 4. Quit less.
> 
> The result is a frozen zsh with a zombie child corresponding to less.
> 100% reproducible.

After "zsh -f":

zira% updprompt() { true && { : } }
zira% TRAPCHLD() { updprompt }
zira% sleep 2 & sleep 3 ; echo OK
[1] 20452
[1]  + done       sleep 2

and zsh freezes here.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



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