[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: open-network-stream in batch mode causes SIGPOLL under G

From: Richard M. Stallman
Subject: address@hidden: open-network-stream in batch mode causes SIGPOLL under GNU/Linux]
Date: Mon, 10 Oct 2005 00:15:21 -0400

Would someone please investigate this bug?

------- Start of forwarded message -------
From: Tetsuo Tsukamoto <address@hidden>
To: address@hidden
Date: Sat, 01 Oct 2005 03:15:40 +0900
Subject: open-network-stream in batch mode causes SIGPOLL under GNU/Linux
Sender: address@hidden
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on monty-python
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63


I experienced this strange problem with Emacs 21.3 and 22.0.50
(cvs) under GNU/Linux 2.4.xx or 2.6.xx, glibc 2.3.5.  I have no
idea if any other operating systems suffer.

It will be reproduced by the following procedure.

1. Prepare an emacs lisp file.

> % cat foo.el
> (open-network-stream "foo" " *foo*" "localhost" "ssh")
> foo

   It seems the fourth arg can be any valid service name.

2. Open a new terminal, or invoke a new shell process by M-x shell.
   The shell can be bash, zsh or any.

3. Execute the following command.

> % emacs -batch -q -no-site-file -l ./foo.el

   Then Emacs exits before the command finishes, and the following
   error message appears.

> SI/O possible

   The first "S" is the beginning of error message by Emacs, so
   this is "I/O possible".

4. When you repeat the same command in the same shell process,
   SIGPOLL will not occur, which seems to be the expected behavior.

> % emacs -batch -q -no-site-file -l ./foo.el
> Symbol's value as variable is void: foo

I hope the problem will be fixed.

- -- 
Tetsuo Tsukamoto

Bug-gnu-emacs mailing list
------- End of forwarded message -------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]