From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126 Date: Fri, 07 Dec 2012 08:43:20 +0200 Message-ID: <83obi6nz07.fsf@gnu.org> References: <50C12164.1030105@optusnet.com.au> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1354862694 26145 80.91.229.3 (7 Dec 2012 06:44:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2012 06:44:54 +0000 (UTC) Cc: 13086@debbugs.gnu.org, eggert@cs.ucla.edu To: Stephen Powell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 07 07:45:06 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TgrgE-0005U1-1C for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2012 07:45:02 +0100 Original-Received: from localhost ([::1]:51628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgrg1-0007xQ-W9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2012 01:44:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgrfy-0007xK-V7 for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 01:44:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tgrfx-0002mA-Lm for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 01:44:46 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tgrfx-0002lv-Ir for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 01:44:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TgrgE-0006zL-41 for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 01:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Dec 2012 06:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13086 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13086-submit@debbugs.gnu.org id=B13086.135486265726797 (code B ref 13086); Fri, 07 Dec 2012 06:45:02 +0000 Original-Received: (at 13086) by debbugs.gnu.org; 7 Dec 2012 06:44:17 +0000 Original-Received: from localhost ([127.0.0.1]:57707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgrfU-0006yA-Pp for submit@debbugs.gnu.org; Fri, 07 Dec 2012 01:44:17 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:44941) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgrfQ-0006y0-KZ for 13086@debbugs.gnu.org; Fri, 07 Dec 2012 01:44:14 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MEN00300ENED800@a-mtaout20.012.net.il> for 13086@debbugs.gnu.org; Fri, 07 Dec 2012 08:43:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MEN003T8EOM9Z40@a-mtaout20.012.net.il>; Fri, 07 Dec 2012 08:43:35 +0200 (IST) In-reply-to: <50C12164.1030105@optusnet.com.au> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:68091 Archived-At: > Date: Thu, 06 Dec 2012 22:51:16 +0000 > From: Stephen Powell > CC: stephen_powell@optusnet.com.au, 13086@debbugs.gnu.org, eggert@cs.ucla.edu > > OK, its 9:30 my time and I got to do stuff, but here is what I've found > so for. Thanks, we are making good progress, I think. > 1. Gnus uses the command > > `c:\cygwin\bin\bash.exe -c "openssl s_client -quiet -ssl3 -connect > imap.mail.yahoo.com:993"' > > which runs for a three or four seconds and exits with 0 as the return > code. Emacs keeps track of this process. Gnus seems to wait for this > to finish. > > >From the gdb log: > > warning: register_child registered fd 6 with pid 6360 > warning: sys_kill.TerminateProcess returned 5 for pid 6360 I'd like to see a backtrace from where this message comes (in sys_kill). > 2. Gnus uses the command > > `c:\cygwin\bin\bash.exe -c "gnutls-cli --insecure -p 995 pop3.live.com"' > > which runs for fifty seconds and exits with 1 as the return code. Emacs > loses track of this process. Gnus does not seem to wait for this to > finish but carries on quickly. When you say "keeps track" and "loses track", what specifically do you mean? What is different in what Emacs does or displays in these two cases, evidence do you have that led you to these conclusions? > >From the gdb log: > > warning: register_child registered fd 6 with pid 7020 > > No terminate process but the process has finished. It would be good to see the series of calls to waitpid in this case, and also the messages from here: #ifdef FULL_DEBUG DebPrint (("select waiting on child %d fd %d\n", cp-child_procs, i)); #endif in sys_select, while this process is running and after it exits or dies. Thanks again for working on this.