all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William Xu <william.xwl@gmail.com>
To: 9264@debbugs.gnu.org
Subject: bug#9264: 24.0.50; (file-error "Creating process pipe" "no error")
Date: Thu, 11 Aug 2011 12:05:28 +0800	[thread overview]
Message-ID: <21gld3gcd247.fsf@gmail.com> (raw)
In-Reply-To: <21gl7h6nnj0b.fsf@gmail.com>

Eli Zaretskii <eliz@gnu.org> writes:

   That something is broken inside Emacs, but Emacs doesn't tell what.

   Did you build Emacs yourself?  If so, could you please add a call to
   GetLastError to sys_pipe (defined on w32.c), after the _pipe call, and
   when it fails like that, see which error code it returns?

I was using Sean Sieger's build.  Anyway, i update bzr repo to
"revno: 105425".  Made following change:

=== modified file 'src/w32.c'
--- src/w32.c	2011-07-09 07:00:58 +0000
+++ src/w32.c	2011-08-10 01:26:51 +0000
@@ -5218,6 +5218,7 @@
      pipes into binary mode; we will do text mode translation ourselves
      if required.  */
   rc = _pipe (phandles, 0, _O_NOINHERIT | _O_BINARY);
+  printf("xwl: error = %d\n", GetLastError ());

   if (rc == 0)
     {

In gdb, the error number printed is always zero, even when this
file-error comes up.  But it seems it would first give this error: 

  (file-error "Spawning child process" "resource temporarily unavailable")

After a while, starts to give following error: 

  (file-error "Creating process pipe" "no error")

Is it reaching some process number limit? 

   > In GNU Emacs 24.0.50.1 (i386-mingw-nt6.1.7600)
   >  of 2011-06-28 on 3249CTO

   This is quite old, suggest to update to a newer version, to avoid
   wasting energy on an old bug that was already fixed.

BTW, on my laptop, same OS, with a build back to Feburary, it has
no such problem.

--
William

http://xwl.appspot.com






  reply	other threads:[~2011-08-11  4:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-09  7:25 bug#9264: 24.0.50; (file-error "Creating process pipe" "no error") William Xu
2011-08-09  8:42 ` Eli Zaretskii
2011-08-11  4:05   ` William Xu [this message]
2011-08-11  4:44     ` Eli Zaretskii
2011-08-11  8:25       ` William Xu
2011-08-11 10:34         ` Eli Zaretskii
2011-08-17  9:32           ` William Xu
2011-09-23 10:55             ` William Xu
2011-09-23 11:04               ` Eli Zaretskii
2011-09-29 16:21               ` Eli Zaretskii
2012-06-05  1:45                 ` William Xu
2012-06-05  2:47                   ` Eli Zaretskii

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=21gld3gcd247.fsf@gmail.com \
    --to=william.xwl@gmail.com \
    --cc=9264@debbugs.gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.