From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.bugs Subject: bug#12832: 24.3.50; Emacs lockup when idle Date: Fri, 09 Nov 2012 10:48:31 +0000 Message-ID: <509CDF7F.2000409@gmail.com> References: <509BAC2E.2000702@gmail.com> <838vac12kn.fsf@gnu.org> <509BFAE7.8020205@gmail.com> <83liebyu9t.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352458146 14481 80.91.229.3 (9 Nov 2012 10:49:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Nov 2012 10:49:06 +0000 (UTC) Cc: 12832@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 09 11:49:15 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 1TWm97-0008Jt-Eg for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Nov 2012 11:49:09 +0100 Original-Received: from localhost ([::1]:39428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWm8y-0002ZY-0O for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Nov 2012 05:49:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWm8v-0002ZR-K3 for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2012 05:48:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWm8u-0006bD-DI for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2012 05:48:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWm8u-0006b7-9Y for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2012 05:48:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TWm90-00041X-Da for bug-gnu-emacs@gnu.org; Fri, 09 Nov 2012 05:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Moreton Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Nov 2012 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12832 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 12832-submit@debbugs.gnu.org id=B12832.135245812415410 (code B ref 12832); Fri, 09 Nov 2012 10:49:02 +0000 Original-Received: (at 12832) by debbugs.gnu.org; 9 Nov 2012 10:48:44 +0000 Original-Received: from localhost ([127.0.0.1]:57111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TWm8h-00040T-GQ for submit@debbugs.gnu.org; Fri, 09 Nov 2012 05:48:44 -0500 Original-Received: from mail-we0-f172.google.com ([74.125.82.172]:61661) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TWm8f-00040G-01 for 12832@debbugs.gnu.org; Fri, 09 Nov 2012 05:48:42 -0500 Original-Received: by mail-we0-f172.google.com with SMTP id u46so1638171wey.3 for <12832@debbugs.gnu.org>; Fri, 09 Nov 2012 02:48:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=KL4MHfD3/ysbo/j0pOjEVUO6+/XIMf0RAKptysfIgkU=; b=jeHn7xxKBsaUCDxC/f+fEWasVjnLHikivKhJWj+Qig8Wn3QI+SSezJD9EUinJHGv2q 0h4S3Kt7bOPfW2TZg0LK7Z09BcbH/43sb4LPG1ZL/6UCC3bF32xK3HTPdbOSo5rPsajQ MrGdYN7VL/aVcpUM6XBYt4izzwLbugUYeZJlymMi4984q4D8DLGwFsPc6E7bJ0scsP8l S0g9W4LvzQTcg0UX4XqArGWuA8FM/Aujp3/XFAIAXkJvZu+DIj/LQOs+gscvkwe3J5lo ZN3V0O6u53vPY5WNNHipCRLVox+xX9kgxbgpsq7DIkYqchJWMHXkIbJgJLOgOyesy6AW 3zeg== Original-Received: by 10.180.108.38 with SMTP id hh6mr1946163wib.0.1352458113419; Fri, 09 Nov 2012 02:48:33 -0800 (PST) Original-Received: from [10.17.20.82] (uk.solarflare.com. [193.34.186.16]) by mx.google.com with ESMTPS id fg6sm1606065wib.3.2012.11.09.02.48.32 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Nov 2012 02:48:32 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <83liebyu9t.fsf@gnu.org> 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:66673 Archived-At: On 09/11/2012 09:56, Eli Zaretskii wrote: >> Date: Thu, 08 Nov 2012 18:33:11 +0000 >> From: Andy Moreton >> CC: 12832@debbugs.gnu.org >> >> I rebuild emacs every day from trunk, but only do a full bootstrap when >> necessary. I have updated the Mingw compiler this week though, so that could >> be an issue. > > Was the build optimized? (I'm guessing not, but I want to be sure.) system-configuration-options includes --no-opt, so unoptimized. >> Emacs was not consuming any cycles - the system was completely idle. > > OK. Any idea why you had so many threads? Normally, Emacs 24.3.50 > should have only 3: the main thread, the input thread, and a thread > that runs atimers (Emacs arranges for a timer to fire every 2 seconds, > to check whether any new input has arrived.) Yet another thread, the > 4th one, is automatically started by the OS when you attach a debugger > to Emacs, and this is it: > > Thread 6 (Thread 8744.0x2080): > #0 0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll > No symbol table info available. > #1 0x7c952119 in ntdll!KiIntSystemCall () from C:\WINDOWS\system32\ntdll.dll > No symbol table info available. > > But what are the other 2 threads you have, namely: [snipped] > One of them appears to be reading something, the other is waiting for > some event. Did you have some subprocess running or some network > connection active at that time? Or maybe your routine operation has > some subprocesses (a speller, perhaps?) and/or network connections > active? I have some files open via tramp (pscp method) on another machine. This uses putty for ssh (plink.exe) and scp (pscp.exe) for file tranfers. At the time of the lockup, emacs had a CMD.EXE subprocess running plink.exe. >> > We need more data points on this. >> >> I'll see if this is reproduceable and try to get more info. > > Thanks.