Subject: 23.3; another crash, GDB info

From: "Drew Adams" <[email-masked]>
Date: Tue, 31 May 2011 15:27:24 -0700

Sending this from 23.3 build, since I cannot send bug reports from the
latest build (see bug #8777).  All of the info here is about the
latest Emacs 24 build, however.
 
----------------------
 
Not from emacs -Q - using my setup.
 
I was completing (hit TAB) when it crashed.  HTH. 
 
$ ./gdb -p 276
GNU gdb (GDB) 7.2
Copyright (C) 2010 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 "mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 276
[New Thread 276.0x628]
[New Thread 276.0xdd0]
[New Thread 276.0x1360]
Reading symbols from C:\Emacs-24-2011-05-31-lex\bin\emacs.exe...done.
[Switching to Thread 276.0x1360]
Warning: c:\drews-lisp-20\bin/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from
terminal]
Environment variable "DISPLAY" not defined.
TERM = cygwin
.gdbinit:1328: Error in sourced command file:
No symbol "Vsystem_type" in current context.
(gdb) c
Continuing.
 
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 276.0xdd0]
0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0  0x7c90120f in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
#1  0x0114cfc4 in w32_abort () at w32fns.c:7198
#2  0x01040f2a in die (msg=0x151f5e8 "assertion failed: BUFFERP(((w))->buffer)",
    file=0x151e449 "w32fns.c", line=2991) at alloc.c:6118
#3  0x0114328c in w32_wnd_proc (hwnd=0x14c079c, msg=269, wParam=0, lParam=0)
    at w32fns.c:2991
#4  0x7e418734 in USER32!GetDC () from C:\WINDOWS\system32\user32.dll
#5  0x014c079c in pure ()
#6  0x0000010d in ?? ()
#7  0x00000000 in ?? ()
(gdb) frame 2
#2  0x01040f2a in die (msg=0x151f5e8 "assertion failed: BUFFERP(((w))->buffer)",
    file=0x151e449 "w32fns.c", line=2991) at alloc.c:6118
6118    alloc.c: No such file or directory.
        in alloc.c
(gdb) p w
No symbol "w" in current context.
(gdb) p ((w))->buffer
No symbol "w" in current context.
(gdb)
 
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
c:/Emacs-24-2011-05-31-lex/etc/DEBUG.

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-05-31 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'