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: Tue, 13 Nov 2012 16:40:29 +0000 Message-ID: <50A277FD.4030200@gmail.com> References: <838vac12kn.fsf@gnu.org> <509BFAE7.8020205@gmail.com> <83liebyu9t.fsf@gnu.org> <509CDF7F.2000409@gmail.com> <83ip9fyqmy.fsf@gnu.org> <83390izlxm.fsf@gnu.org> <509D4DAC.1060901@gmail.com> <83pq3hvet0.fsf@gnu.org> <509BAC2E.2000702@gmail.com> <80r4nxsl1s.fsf@somewhere.org> <83lie5vbot.fsf@gnu.org> <50A2585A.3050008@gmail.com> <83ip99v8h5.fsf@gnu.org> <50A26E9E.4020405@gmail.com> <83fw4dv4uh.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 1352824913 12794 80.91.229.3 (13 Nov 2012 16:41:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 16:41:53 +0000 (UTC) Cc: fni@missioncriticalit.com, 12832@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 13 17:42:03 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 1TYJYp-0001O5-3n for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Nov 2012 17:42:03 +0100 Original-Received: from localhost ([::1]:43398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYJYf-0003Ky-H5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Nov 2012 11:41:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYJYM-0002Lq-Rf for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 11:41:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYJYJ-0005n5-Pj for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 11:41:34 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYJYJ-0005mx-MZ for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 11:41:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TYJYn-0001qm-Pq for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 11:42:01 -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: Tue, 13 Nov 2012 16:42:01 +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.13528248747055 (code B ref 12832); Tue, 13 Nov 2012 16:42:01 +0000 Original-Received: (at 12832) by debbugs.gnu.org; 13 Nov 2012 16:41:14 +0000 Original-Received: from localhost ([127.0.0.1]:38943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYJXx-0001pg-Bg for submit@debbugs.gnu.org; Tue, 13 Nov 2012 11:41:13 -0500 Original-Received: from mail-wg0-f46.google.com ([74.125.82.46]:43188) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYJXr-0001pS-Hi for 12832@debbugs.gnu.org; Tue, 13 Nov 2012 11:41:07 -0500 Original-Received: by mail-wg0-f46.google.com with SMTP id dt12so4539357wgb.15 for <12832@debbugs.gnu.org>; Tue, 13 Nov 2012 08:40:32 -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=SCScHXx81jmrC/p1fUWCIFjmMdt8/yt548YJGSrorrc=; b=yQk7BVyPXrzGrVvljD3Hatfxdo/eqr6K1ByXAea5sfj2bGlkd2bPjNCyAX2G1jEfcD QbJdmFvJ6c3D1T08mdV64OGId2xmwG8begcVV3hmY32d/7gQvNZ0VGsVAQtho4HYdKHY v0wW3lkG/gZ2wVYoLevoVOeHEcxiNoGtFqRJLVoXDs+1dpSfPxMA3tjaXqh6dL5cCv1V 1MZuGOZfUDxHLPBZdABQDqHBSeY/FbtzrhGBXMdoJaDmwFxBhSliVZwnWpRAh2nr/rOt 6fcO3LSPBsLVJRlNnLqAN7rY7l/FoL2YNuWItUgonzyqI+c/Aty5MND2hSueHBZc0QOn EJoQ== Original-Received: by 10.216.226.98 with SMTP id a76mr761735weq.5.1352824832132; Tue, 13 Nov 2012 08:40:32 -0800 (PST) Original-Received: from [10.17.20.82] (uk.solarflare.com. [193.34.186.16]) by mx.google.com with ESMTPS id hf10sm20041517wib.0.2012.11.13.08.40.30 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Nov 2012 08:40:31 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 In-Reply-To: <83fw4dv4uh.fsf@gnu.org> X-Spam-Score: 1.1 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.1 (/) 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:66879 Archived-At: On 13/11/2012 16:35, Eli Zaretskii wrote: >> Date: Tue, 13 Nov 2012 16:00:30 +0000 >> From: Andy Moreton >> CC: dmoncayo@gmail.com, fni@missioncriticalit.com, 12832@debbugs.gnu.org >> >> The fact that thread 236140 is at ThreadStartRoutine makes me wonder if this >> is related to the perils of DllMain (i.e. the loader lock). > > Sorry, I don't follow. Can you say more about this problem, or point > me to some accessible documentation about it? The DllMain notifications for process and thread create/destroy are called with the (system internal) loader lock held. This means that anything called from these routines should not use locks, or deadlock is possible. So I was wondering if the thread manipulation for timer handling is interacting with those mechanisms. Of course I don't know nearly enough about Win32 to actually say much useful here, so the actual problem is probably something else entirely. AndyM