From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Xu Newsgroups: gmane.emacs.bugs Subject: bug#9264: 24.0.50; (file-error "Creating process pipe" "no error") Date: Thu, 11 Aug 2011 12:05:28 +0800 Organization: the Church of Emacs Message-ID: <21gld3gcd247.fsf@gmail.com> References: <21gl7h6nnj0b.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313035677 15275 80.91.229.12 (11 Aug 2011 04:07:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Aug 2011 04:07:57 +0000 (UTC) To: 9264@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 11 06:07:53 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QrMYf-0003sX-Pe for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2011 06:07:50 +0200 Original-Received: from localhost ([::1]:51472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrMYf-0002Sp-Ax for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Aug 2011 00:07:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrMYc-0002SZ-Bq for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 00:07:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrMYb-00023R-2d for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 00:07:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrMYa-00023N-Vj for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 00:07:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QrMZp-00087c-OC; Thu, 11 Aug 2011 00:09:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <21gl7h6nnj0b.fsf@gmail.com> Resent-From: William Xu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Aug 2011 04:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9264 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.131303573331204 (code B ref -1); Thu, 11 Aug 2011 04:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Aug 2011 04:08:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QrMZg-00087E-8S for submit@debbugs.gnu.org; Thu, 11 Aug 2011 00:08:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QrMZd-000876-66 for submit@debbugs.gnu.org; Thu, 11 Aug 2011 00:08:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrMYM-000201-SB for submit@debbugs.gnu.org; Thu, 11 Aug 2011 00:07:31 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:37877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrMYM-0001zx-Qm for submit@debbugs.gnu.org; Thu, 11 Aug 2011 00:07:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrMYL-0002ST-Qt for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 00:07:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrMYK-0001zf-GX for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 00:07:29 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrMYK-0001zZ-BW for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 00:07:28 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QrMYI-0003ks-8z for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 06:07:26 +0200 Original-Received: from amprx01x.nokia.com ([192.100.130.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Aug 2011 06:07:26 +0200 Original-Received: from william.xwl by amprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Aug 2011 06:07:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: amprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) Cancel-Lock: sha1:VP49vB5uQBjBAy+0qQ5DMqlkKKw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 11 Aug 2011 00:09:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50002 Archived-At: Eli Zaretskii 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