On 9/24/13 2:54 AM, 李佳 wrote:

> Seems like bash tries to spawn a logout child process when received a SIGCONT 
> signal and prepared to exit, unfortunately logout child process forked 
> another children and etc. ok, that's only my guess, and somehow it does not 
> have the same problem on Linux.

It does not do this by default.  If you have a .bash_logout file or a trap
set on EXIT, bash may attempt to run processes when it exits.

I suspect bash got -1/EIO when it tried to read from the terminal after the
SIGCONT and exited as a result.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to