Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Mar 1995 07:30:59 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-current@FreeBSD.org (FreeBSD-current users)
Subject:   Hanging proc waiting for ttyout
Message-ID:  <199503090631.HAA05968@uriah.heep.sax.de>

next in thread | raw e-mail | index | archive | help
Every now and then, some process hangs in such a state:

  107  5766  5765   0   4  0   688   72 ttyout IEs+ p6-   0:02.25 elm 

In this case, i've accidentally viewed some binary data in this elm,
which has been running in a separate xterm (started with xterm -e
elm).  Somehow the xterm got confues about the garbage, i hit several
keys (can't remember all of them :), until the xterm finally went
stuck.  It didn't accept anything, so i killed the xterm via the
window manager.  This resulted in the above state, which i've also
seen already for processes running on a modem tty, when the modem
dropped the line (this has been under 1.1.5.1 though, but the symptoms
are identical).

There must be some possible deadlock situation when a process is
revoked its controlling tty while it is just exiting.  Did anyone
else see this?  Is there any chance to avoid this?

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503090631.HAA05968>