[comp.windows.x] XTERM LOOPING PROBLEM

ron@uts.amdahl.com (Ron Hughes) (04/19/91)

Has anyone seen a bug in which xterm gets stuck in a full-throttle loop?
We've seen it here at Amdahl running x terminals under xdm if the user's
.xsession terminates prematurely.  The xterms get fired off in the
background, and if, before they really get going, the session terminates
(say, due to a fatal typo in the user's .twmrc file), the server drops
the connection to the xterm client.  But if the client is waiting
for the window manager (XtNwaitForWm, XtNwmTimeout) it gets stuck bad.
Of couse, with the session terminated there's no window--just a cycle-
sucking spinning process that runs & runs until someone gets around to
determining why things are slowing down.

I think I've tracked down where the bug is occurring, but it appears
to be platform-independent, which makes me wonder why I haven't heard
about it elsewhere.