all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dieter Deyke <Dieter_Deyke@CoCreate.com>
To: emacs-devel@gnu.org
Subject: Re: emacs bootstrap hangs on Windows XP / mingw
Date: Wed, 06 Feb 2008 09:15:43 -0700	[thread overview]
Message-ID: <ulk5yrrgw.fsf@CoCreate.com> (raw)
In-Reply-To: u1w7qu3p6.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Dieter Deyke <Dieter_Deyke@CoCreate.com>
>> 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?





  reply	other threads:[~2008-02-06 16:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-05 17:01 emacs bootstrap hangs on Windows XP / mingw Dieter Deyke
2008-02-05 20:27 ` Eli Zaretskii
2008-02-05 21:21   ` Dieter Deyke
2008-02-06  4:08     ` Eli Zaretskii
2008-02-06 16:15       ` Dieter Deyke [this message]
2008-02-06 19:39         ` Eli Zaretskii
2008-02-06 23:47           ` Dieter Deyke
2008-02-07  4:16             ` Eli Zaretskii
2008-02-08 17:52               ` Dieter Deyke
2008-02-09  8:03                 ` Eli Zaretskii
2008-02-09  9:35                 ` Eli Zaretskii
2008-02-10 16:28                   ` Dieter Deyke
2008-02-10 19:47                     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ulk5yrrgw.fsf@CoCreate.com \
    --to=dieter_deyke@cocreate.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.