Hello,


I did the experiment again, after a few attempts I got it crash, and typed  "thread apply all bt".



The output " Program received signal SIGTRAP, Trace/breakpoint trap." is printed immediately I click on "Oui" (Yes) button in the dialog that appears when the crash occurs.


  Vincent.


PS: Here is the log of the debug session.


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 3940.0x438]
[New Thread 3940.0xdc8]
[New Thread 3940.0xc4c]
[New Thread 3940.0xdac]

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c91120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) thread apply all bt

Thread 3 (Thread 3940.0xc4c):
#0 0x7c91e514 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7e3ac5dc in USER32!InternalGetWindowText ()
from C:\WINDOWS\system32\user3 2.dll
#2 0x64864f58 in UxTheme!IsThemeDialogTextureEnabled ()
from C:\WINDOWS\system32\uxtheme.dll
#3 0x6486602c in UxTheme!SetThemeAppProperties ()
from C:\WINDOWS\system32\uxtheme.dll
#4 0x64866485 in UxTheme!SetThemeAppProperties ()
from C:\WINDOWS\system32\uxtheme.dll
#5 0x6487c4b9 in UxTheme!GetThemeTextMetrics ()
from C:\WINDOWS\system32\uxtheme.dll
#6 0x64861ac7 in ?? () from C:\WINDOWS\system32\uxtheme.dll
#7 0x64861b3d in ?? () from C:\WINDOWS\system32\uxtheme.dll
#8 0x7e3a94ed in USER32!GetPropW () from C:\WINDOWS\system32\user32.dll
#9 0x010c4eff in ?? ()
#10 0x7e398734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#11 0x00060466 in ?? ()
#12 0x00000085 in ?? ()
#13 0x32040db2 in ?? ()
#14 0x000000 00 in ?? ()

Thread 2 (Thread 3940.0xdc8):
#0 0x7c91e514 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91d21a in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8023f1 in SleepEx () from C:\WINDOWS\system32\kernel32.dll
#3 0x00000000 in ?? ()

Thread 1 (Thread 3940.0x438):
#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)

Thread 3 (Thread 3940.0xc4c):
#0 0x7c91e514 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7e3ac5dc in USER32!InternalGetWindowText ()
from C:\WINDOWS\system32\user32.dll
#2 0x64864f58 in Ux Theme!IsThemeDialogTextureEnabled ()
from C:\WINDOWS\system32\uxtheme.dll
#3 0x6486602c in UxTheme!SetThemeAppProperties ()
from C:\WINDOWS\system32\uxtheme.dll
#4 0x64866485 in UxTheme!SetThemeAppProperties ()
from C:\WINDOWS\system32\uxtheme.dll
#5 0x6487c4b9 in UxTheme!GetThemeTextMetrics ()
from C:\WINDOWS\system32\uxtheme.dll
#6 0x64861ac7 in ?? () from C:\WINDOWS\system32\uxtheme.dll
#7 0x64861b3d in ?? () from C:\WINDOWS\system32\uxtheme.dll
#8 0x7e3a94ed in USER32!GetPropW () from C:\WINDOWS\system32\user32.dll
#9 0x010c4eff in ?? ()
#10 0x7e398734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#11 0x00060466 in ?? ()
#12 0x00000085 in ?? ()
#13 0x32040db2 in ?? ()
#14 0x00000000 in ?? ()

Thread 2 ( Thread 3940.0xdc8):
#0 0x7c91e514 in ntdll!LdrAccessResource ()
from C:\WINDOWS\system32\ntdll.dll
#1 0x7c91d21a in ntdll!ZwDelayExecution () from C:\WINDOWS\system32\ntdll.dll
#2 0x7c8023f1 in SleepEx () from C:\WINDOWS\system32\kernel32.dll
#3 0x00000000 in ?? ()

Thread 1 (Thread 3940.0x438):
#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)
> Date: Thu, 1 Nov 2012 23:17:05 +0200
> From: eliz@gnu.org
> Subject: Re: bug#12774: RE: bug#12774: 24.2.50; EMACS 24.2.50.1 crashingþ
> To: vincent.b.1@hotmail.fr
> CC: 12774@debbugs.gnu.org
>
> > Date: Thu, 01 Nov 2012 23:11:07 +0200
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: 12774@debbugs.gnu.org
> >
> > > From: Vincent Belaïche <vincent.b.1@hotmail.fr>
> > > CC: <12774@debbugs.gnu.org>
> > > 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:\WINDO WS\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".