--- Begin Message ---
Subject: |
23.1.93; OSX: start-process sometimes returns an unready process |
Date: |
Thu, 01 Apr 2010 19:55:11 +0200 |
Let testprocess.el consist of the following form:
(let (p (n 1))
(while t
(message "iteration %s" n)
(setq n (1+ n)
p (start-process "bc" nil "bc"))
(process-send-string p "test")
(delete-process p)))
On OSX 10.4, when I do "$ emacs -Q --script testprocess.el", I get:
$ emacs -Q --script testprocess.el
iteration 1
iteration 2
iteration 3
writing to process: Input/output error, bc
and sometimes, particularly under high system load:
$ emacs -Q --script testprocess.el
iteration 1
iteration 2
Process bc not running
The number of iterations often varies over invocations.
In GNU Emacs 23.1.93.1 (i386-apple-darwin8.11.1)
of 2010-04-01 on mt-computer.local
configured using `configure '--without-x''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#5819: 23.1.93; OSX: start-process sometimes returns an unready process |
Date: |
Sat, 10 Apr 2010 19:34:03 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Fri, 09 Apr 2010 09:14:48 -0400, Stefan Monnier <address@hidden> said:
>>>> The following simpler one seems to work for me on 10.4 (but not
>>>> on 10.3, again). Could you test if it also works for you, with
>>>> respect to this problem and #726 (23.0.60; OSX: Complete OS
>>>> crash)?
>>> Your patch fixes both issues for me. Thank you very much!
>> Maintainers, which branch should I install this patch to? Bug#726
>> is marked as important.
> I'd say emacs-23, Thank you,
Done.
YAMAMOTO Mitsuharu
address@hidden
--- End Message ---