* Kernel (2.4.0) lock-up in "write" (using PTS).
@ 2001-01-10 4:52 Alvaro Lopes
2001-01-11 17:06 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Alvaro Lopes @ 2001-01-10 4:52 UTC (permalink / raw)
To: linux-kernel
Hi all
This is somewhat odd, but I seemed to have found some kind of bug in
2.4.0. I tested the same program in 2.2.17 and it run perfectly.
So, here goes the description:
2.4.0 Kernel hangs up when I do the following stuff:
* Create a new PTY using openpty();
* Fork using forkpty. Now, the child process does this:
- Set the fd 0 line discipline to PPP;
- tries infinitely to read the standard input.
The parent process sets the line discipline of the master PTY fd to PPP
also, and then writes to it.
When I say it hangs up I really mean it. Not even the SYSRQ works.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Kernel (2.4.0) lock-up in "write" (using PTS).
2001-01-10 4:52 Kernel (2.4.0) lock-up in "write" (using PTS) Alvaro Lopes
@ 2001-01-11 17:06 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2001-01-11 17:06 UTC (permalink / raw)
To: Alvaro Lopes; +Cc: linux-kernel
> 2.4.0 Kernel hangs up when I do the following stuff:
>
> * Create a new PTY using openpty();
> * Fork using forkpty. Now, the child process does this:
> - Set the fd 0 line discipline to PPP;
> - tries infinitely to read the standard input.
>
> The parent process sets the line discipline of the master PTY fd to PPP
> also, and then writes to it.
> When I say it hangs up I really mean it. Not even the SYSRQ works.
Does this still happen on -ac ?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-11 17:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-10 4:52 Kernel (2.4.0) lock-up in "write" (using PTS) Alvaro Lopes
2001-01-11 17:06 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®