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 16:25:31 +0800	[thread overview]
Message-ID: <21glr54se4n8.fsf@gmail.com> (raw)
In-Reply-To: <21gl7h6nnj0b.fsf@gmail.com>

Eli Zaretskii <eliz@gnu.org> writes:

   Not sure yet, but it sounds unlikely (the limit is on simultaneous
   processes).  Do you see the value of rc becoming negative at some
   point?  If so, does _pipe return a negative value, or does it become
   negative in this fragment below the call to _pipe?

         if (phandles[0] >= MAXDESC || phandles[1] >= MAXDESC)
       {
         _close (phandles[0]);
         _close (phandles[1]);
         rc = -1;
       }

   If the latter, it sounds like we are not closing the file handles
   somewhere.

I put a printf after "rc = -1".  I can see lots of logs from there.
_pipe never returns a negative value.

-- 
William

http://xwl.appspot.com






  reply	other threads:[~2011-08-11  8:25 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
2011-08-11  4:44     ` Eli Zaretskii
2011-08-11  8:25       ` William Xu [this message]
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=21glr54se4n8.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.