bug-gnu-emacs
[Top][All Lists]
Advanced

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

open-network-stream in batch mode causes SIGPOLL under GNU/Linux


From: Tetsuo Tsukamoto
Subject: open-network-stream in batch mode causes SIGPOLL under GNU/Linux
Date: Sat, 01 Oct 2005 03:15:40 +0900
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Hi,

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





reply via email to

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