Subject: Re: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashing‏

From: Eli Zaretskii <[email-masked]>
Date: Thu, 01 Nov 2012 23:17:05 +0200

> Date: Thu, 01 Nov 2012 23:11:07 +0200
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked]
> 
> > From: Vincent Belaïche <[email-masked]>
> > CC: <[email-masked]>
> > Date: Thu, 1 Nov 2012 21:47:25 +0100
> > 
> > c:\Documents and Settings\Vincent>gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> > 
> > gdb --exec="C:\Programme\GNU\Emacs\bin\emacs.exe"
> > GNU gdb (GDB) 7.4
> > Copyright (C) 2012 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > and "show warranty" for details.
> > This GDB was configured as "i686-pc-mingw32".
> > For bug reporting instructions, please see:
> > <http://www.gnu.org/software/gdb/bugs/>.
> > (gdb) run
> > Starting program: C:\Programme\GNU\Emacs\bin\emacs.exe 
> > [New Thread 5788.0x864]
> > bt
> > [New Thread 5788.0x908]
> > [New Thread 5788.0x1188]
> > [New Thread 5788.0x15b0]
> > 
> > Program received signal SIGTRAP, Trace/breakpoint trap.
> > 0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
> > (gdb) #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
> >    from C:\WINDOWS\system32\ntdll.dll
> > #1  0x010c1673 in ?? ()
> > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> > (gdb) bt
> > #0  0x7c91120f in ntdll!DbgUiConnectToDbg ()
> >    from C:\WINDOWS\system32\ntdll.dll
> > #1  0x010c1673 in ?? ()
> > Backtrace stopped: previous frame inner to this frame (corrupt stack?)
> 
> Try
> 
>   (gdb) thread apply all bt

Actually, there's something strange: how did you manage to get
SIGTRAP?  What exactly happened between these two lines:

> [New Thread 5788.0x15b0]
> 
> Program received signal SIGTRAP, Trace/breakpoint trap.

Anyway, if "thread apply all bt" doesn't help, try "continue" and then
"thread apply all bt".