From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Powell Newsgroups: gmane.emacs.bugs Subject: bug#13086: 24.2.50; Emacs seems to hang at w32proc.c:1126 Date: Thu, 06 Dec 2012 20:17:45 +0000 Message-ID: <50C0FD69.5040906@optusnet.com.au> References: <50BEF635.4000702@optusnet.com.au> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1354825152 4896 80.91.229.3 (6 Dec 2012 20:19:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2012 20:19:12 +0000 (UTC) Cc: 13086@debbugs.gnu.org, eggert@cs.ucla.edu, stephen_powell@optusnet.com.au To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 21:19:24 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 1Tghuc-0006Rv-7C for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2012 21:19:14 +0100 Original-Received: from localhost ([::1]:41569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TghuQ-00075S-5C for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2012 15:19:02 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TghuF-00070l-0d for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2012 15:18:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TghuC-0007Fk-CK for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2012 15:18:50 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TghuC-0007Fd-8r for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2012 15:18:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TghuQ-0000ES-9b for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2012 15:19:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <50BEF635.4000702@optusnet.com.au> Resent-From: Stephen Powell Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Dec 2012 20:19: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.1354825087821 (code B ref 13086); Thu, 06 Dec 2012 20:19:02 +0000 Original-Received: (at 13086) by debbugs.gnu.org; 6 Dec 2012 20:18:07 +0000 Original-Received: from localhost ([127.0.0.1]:57248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TghtS-0000D8-MD for submit@debbugs.gnu.org; Thu, 06 Dec 2012 15:18:07 -0500 Original-Received: from mail09.syd.optusnet.com.au ([211.29.132.190]:47089) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TghtP-0000Ce-DC for 13086@debbugs.gnu.org; Thu, 06 Dec 2012 15:18:01 -0500 Original-Received: from [192.168.0.5] (c27-253-105-120.carlnfd2.nsw.optusnet.com.au [27.253.105.120]) (authenticated sender stephen_powell) by mail09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id qB6KHWZA029351 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Dec 2012 07:17:33 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 X-Enigmail-Version: 1.4.6 X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.0 cv=CJhyxmXD c=1 sm=1 a=OvIMvpSEN2sA:10 a=gan346TS8KgA:10 a=IkcTkHD0fZMA:10 a=PO7r1zJSAAAA:8 a=uCJ_byh08BkA:10 a=mDV3o1hIAAAA:8 a=wh53lTWmovlBH_wUjQUA:9 a=QEXdDO2ut3YA:10 a=ii61gXl28gQA:10 a=CT+0EcmugRJMiGHxeWZr+Q==:117 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:68052 Archived-At: Eli Zaretskii writes: Answering your first mail: > What is the value of errno in frame #2? (gdb) p errno $25 = 10 > Also, can you tell through which line does waitpid exit in this case? Breakpoint 5, waitpid (pid=4860, status=0x0, options=1) at w32proc.c:1190 1190 return -1; $24 = 4860 > Then see how many times waitpid is invoked for the same PID, and > whether it causes assertion violation on the first or the second time > (if there is a second time). I started a new session for this question so the pids will be differant from the answer to your first mail. It only does a waitpid once for the offending pid: Breakpoint 3, waitpid (pid=4880, status=0x0, options=1) at w32proc.c:1132 Breakpoint 1, terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:314 314 signal (sig, SIG_DFL); (gdb) up 2 #2 0x0114a8db in get_child_status (child=4880, status=0x0, options=1, interruptible=false) at sysdep.c:294 294 eassert (errno == EINTR);