mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alvaro Lopes <alvieboy@alvie.com>
To: linux-kernel@vger.kernel.org
Subject: Kernel (2.4.0) lock-up in "write" (using PTS).
Date: Wed, 10 Jan 2001 04:52:32 +0000	[thread overview]
Message-ID: <3A5BEA90.D3B68DCD@alvie.com> (raw)

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/

             reply	other threads:[~2001-01-11 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-10  4:52 Alvaro Lopes [this message]
2001-01-11 17:06 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A5BEA90.D3B68DCD@alvie.com \
    --to=alvieboy@alvie.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®