GNU bug report logs - #9264
24.0.50; (file-error "Creating process pipe" "no error")

Previous Next

Package: emacs;

Reported by: William Xu <william.xwl <at> gmail.com>

Date: Tue, 9 Aug 2011 07:28:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: William Xu <william.xwl <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#9264: 24.0.50; (file-error "Creating process pipe" "no error")
Date: Thu, 11 Aug 2011 16:25:31 +0800
Eli Zaretskii <eliz <at> 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





This bug report was last modified 12 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.