From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Deyke Newsgroups: gmane.emacs.devel Subject: Re: emacs bootstrap hangs on Windows XP / mingw Date: Wed, 06 Feb 2008 09:15:43 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202314584 4914 80.91.229.12 (6 Feb 2008 16:16:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2008 16:16:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 17:16:46 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JMmwn-0008QC-Rp for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2008 17:16:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMmwL-00085U-Ch for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2008 11:16:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMmwG-00083R-Pi for emacs-devel@gnu.org; Wed, 06 Feb 2008 11:15:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMmwF-000823-1l for emacs-devel@gnu.org; Wed, 06 Feb 2008 11:15:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMmwE-00081o-MY for emacs-devel@gnu.org; Wed, 06 Feb 2008 11:15:54 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JMmwE-0005Mo-8j for emacs-devel@gnu.org; Wed, 06 Feb 2008 11:15:54 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JMmwB-0004h7-Mn for emacs-devel@gnu.org; Wed, 06 Feb 2008 16:15:51 +0000 Original-Received: from 63.119.136.67 ([63.119.136.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 16:15:51 +0000 Original-Received: from Dieter_Deyke by 63.119.136.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 16:15:51 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 63.119.136.67 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUfExWlgX9qTUrEubuLZ2e8nJpBMDHZ3NcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAakBMcAAAACXBIWXMAAAuJAAALiQE3ycutAAACQklEQVR42mWUQXPaMBCFVSb1fc0quQZFVc8Zx+Nrpcr0rIDK1Tip7ozL5O/3qcEyaTUwCD6vdvftE+KtrJa17co3MW+mehBCrO7+Az9TJTI5/AP2o0njiKBP3QdwSlrllYT4fg2mrbbknfcmiVV3BX6P3hN7IMR8vQLP2pOM5BGmhpsFTDjEytiGGNiZ6lDAGb8jom0jopz4UcCj/Qt2sY3Ebngp4IksxRibXY7ww68CAkAmAIG8ORZAhNQx5JcEeP0AQLBCIN6q7gImCjZeFiH7FcCSyL3L2dmqw3yUJDQtm2bX5AjWhyVCpaR9iKyS8uTuSvJaaS8tBNmmlGwBj3sF1YlRXCRntF5fQKhHjTPsl713ypl73c+AtFfGuv6Zb1ejSkc7H4WaoCIH2jDGO2p5Aac8ITRJvEHdTvkZnIPPLfaET0aFlmYQcwRgcNi4Tc/d3CArdj3LFn7wTst6BhIOkQ3k8hLZydZlUNC8yY+rHmox2WWCmF6bS5BZRnopZsgWCSjWbXYx2G8FnDBZpCFyao3N8FB8BZOwpR5228AnVRnUxBRypV57H/j2tSve5dy55ezsnrcPi6n3eeZ58HCYNYt3356yHgHv7MSxuwIaNSEEw/Xu5hqoPNxAkp y//7zcjxYmgNiQjNX4bvZ3EZldtg1LdqMR6wLO1rMx6AEBZkjNAmDLbcL9dMqk6rhc55Y01UNl1JiSGNflOk9wpiUziKoaxEqtSwTMr2wgk/9KkjczmHBVIW02vFJQUcn3o/4AsOVPNx3/77AAAAAASUVORK5CYII= User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (windows-nt) Cancel-Lock: sha1:2m6HsS7BLHOjDUV1kTGQSt8/MAY= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88339 Archived-At: Eli Zaretskii writes: >> From: Dieter Deyke >> Date: Tue, 05 Feb 2008 14:21:37 -0700 >> >> > Can you attach GDB to the running Emacs, and see where it is hung? >> >> I tried, but gdb does not seem to be able to interrupt emacs. I see the >> message: >> >> Attaching to program >> `/c/Users/deyke/emacs-build/subdir/work/bin/emacs.exe', process 18884 > > This looks like you have a Cygwin GDB, while your Emacs is a native > MinGW build. Maybe such a combination cannot work here? You were right, but using the mingw gdb results in the same problem, the debugger cannot break into emacs: C:\Users\deyke\emacs-build\subdir\work>gdb bin\emacs.exe 22936 GNU gdb 5.1.1 (mingw experimental) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "mingw32"... C:\Users\deyke\emacs-build\subdir\work/22936: No such file or directory. Attaching to program `C:\Users\deyke\emacs-build\subdir\work/bin\emacs.exe', process 22936 Then gdb hangs too, and cannot be interrupted by C-c. For what is worth, process explorer shows the folloing threads in emacs at that point: !CreateThread+0x2e !toascii+0x15d0 ntdll.dll!DbgUiRemoteBreakin ntdll.dll!ConvertUiListtoApiList+0x276 ntdll.dll!ConvertUiListtoApiList+0x276 If I try to close the cmd window running the emacs build, I get: "Windows cannot end thos program. It may need more time to complete an operation." -- Dieter Deyke A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?