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: Wed, 17 Aug 2011 17:32:26 +0800 Message-ID: References: <21gl7h6nnj0b.fsf@gmail.com> <21gld3gcd247.fsf@gmail.com> <21glr54se4n8.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1313573601 3376 80.91.229.12 (17 Aug 2011 09:33:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 09:33:21 +0000 (UTC) Cc: 9264@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 17 11:33:16 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 1QtcUu-0000PG-F5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2011 11:33:16 +0200 Original-Received: from localhost ([::1]:42055 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcUu-0004KM-2r for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Aug 2011 05:33:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcUq-0004Jy-Fa for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 05:33:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtcUo-0006VH-AA for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 05:33:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcUo-0006V4-8Z for bug-gnu-emacs@gnu.org; Wed, 17 Aug 2011 05:33:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QtcWc-0005Tj-7g; Wed, 17 Aug 2011 05:35:02 -0400 X-Loop: help-debbugs@gnu.org 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: Wed, 17 Aug 2011 09:35:02 +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: Original-Received: via spool by 9264-submit@debbugs.gnu.org id=B9264.131357366321011 (code B ref 9264); Wed, 17 Aug 2011 09:35:02 +0000 Original-Received: (at 9264) by debbugs.gnu.org; 17 Aug 2011 09:34:23 +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 1QtcVz-0005Sq-2E for submit@debbugs.gnu.org; Wed, 17 Aug 2011 05:34:23 -0400 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QtcVw-0005Sh-4v for 9264@debbugs.gnu.org; Wed, 17 Aug 2011 05:34:21 -0400 Original-Received: by ywm21 with SMTP id 21so541087ywm.3 for <9264@debbugs.gnu.org>; Wed, 17 Aug 2011 02:32:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=fdIdltdpDPs+9WaCcawvDBxTXon5vD1mdLkdrh+wwVU=; b=L6IhV2g3VuTDUJWa9y3qLC/3i0MICVz6uy0/SZ2BCLG5zIR2JS+R/VsuofqYvIQwtt GCnJhaNzuS1wuwC79RMmqVamxFPpdOR/hD1Fp5XXAaeZbCL9ZOqpx0sCHSBPv8NhWSpa qvluyLNUZ7YiZGaNcPZIqj/6hD/MaLu6D11BI= Original-Received: by 10.146.121.9 with SMTP id t9mr815205yac.17.1313573547004; Wed, 17 Aug 2011 02:32:27 -0700 (PDT) Original-Received: by 10.146.86.13 with HTTP; Wed, 17 Aug 2011 02:32:26 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 17 Aug 2011 05:35:02 -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:50101 Archived-At: 2011/8/11 Eli Zaretskii : > We are close. =C2=A0This probably means that we are not closing file > descriptors somewhere. =C2=A0When these printf's about rc =3D=3D -1 start= to > appear, can you look at all the elements of the fd_info[] array (there > are 64 of them), and see which flags are set on most of the elements, > and whether or not the `cp' member is non-NULL? =C2=A0This information > might give a clue as to what functionality is stealing the file > descriptors and not releasing them. Here is the fd_info array. Most flags are 273, 274 or 0x111, 0x112, namely FILE_PIPE read and write? And most cp member is NULL, does that imply thos= e are not properly released ones? $1 =3D { {flags =3D 0, hnd =3D 0x0, cp =3D 0x0 }, {flags =3D 0, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 0, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 1559, hnd =3D 0x234, cp =3D 0x13b1200}, {flags =3D 273, hnd =3D 0x358, cp =3D 0x13b1518}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x13b14c0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x13b1468}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x13b1410}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x13b13b8}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x13b1570}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 273, hnd =3D 0x0, cp =3D 0x0}, {flags =3D 274, hnd =3D 0x0, cp =3D 0x0}} -William