Re: 2.5.37 won't run X?

Andries Brouwer
2002-09-22T12:13:36Z

On Sat, Sep 21, 2002 at 09:30:50PM -0700, William Lee Irwin III wrote:

> On Sat, Sep 21, 2002 at 10:23:53PM +0200, Andries Brouwer wrote:
> > I noticed that the pgrp-related behaviour of some programs changed.
> > Some programs hang, some programs loop. The hang occurs when they
> > are stopped by SIGTTOU. The infinite loop occurs when they catch SIGTTOU
> > (and the same signal is sent immediately again when they leave the
> > signal routine).
> > Have not yet investigated details.
>
> Linus seems to have put out 2.5.38 with some X lockup fixes. Can you
> still reproduce this? If so, are there non-X-related testcases where
> you can trigger this? My T21 Thinkpad doesn't see this at all.
>
> I'm still prodding the SIGTTOU path trying to trigger it until then.

Yes, 2.5.38 behaves differently again, but the statement that
pgrp-related behaviour of some programs changed is still true.

For example: "emacs -nw foo.c" in an xterm window
will start emacs fine. Now put this line in a shell script:
#!/bin/sh
emacs -nw $@
so that pid and pgrp of the started emacs differ. Under 2.5.33
this works, but under 2.5.3[78] this hangs.

Andries