GNU bug report logs - #8778
23.3; another crash, GDB info

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Tue, 31 May 2011 22:28:01 UTC

Severity: normal

Merged with 8082

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8778 in the body.
You can then email your comments to 8778 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8778; Package emacs. (Tue, 31 May 2011 22:28:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 31 May 2011 22:28:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.3; another crash, GDB info
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'
 
 
 





Merged 8082 8778. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 01 Jun 2011 04:19:02 GMT) Full text and rfc822 format available.

bug No longer marked as found in versions 23.3. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 01 Jun 2011 04:20:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8778; Package emacs. (Wed, 01 Jun 2011 19:39:01 GMT) Full text and rfc822 format available.

Message #12 received at 8778 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 8778 <at> debbugs.gnu.org
Subject: Re: bug#8778: 23.3; another crash, GDB info
Date: Wed, 01 Jun 2011 22:38:32 +0300
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Date: Tue, 31 May 2011 15:27:24 -0700
> 
> #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.

You should do this in frame #3, not #2.

Also, what is the value of the variable `msg' in that frame?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8778; Package emacs. (Wed, 01 Jun 2011 21:54:02 GMT) Full text and rfc822 format available.

Message #15 received at 8778 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Eli Zaretskii'" <eliz <at> gnu.org>
Cc: 8778 <at> debbugs.gnu.org
Subject: RE: bug#8778: 23.3; another crash, GDB info
Date: Wed, 1 Jun 2011 14:53:21 -0700
> You should do this in frame #3, not #2.
> 
> Also, what is the value of the variable `msg' in that frame?

Too late.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8778; Package emacs. (Thu, 02 Jun 2011 04:39:02 GMT) Full text and rfc822 format available.

Message #18 received at 8778 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 8778 <at> debbugs.gnu.org
Subject: Re: bug#8778: 23.3; another crash, GDB info
Date: Thu, 02 Jun 2011 00:38:25 -0400
> From: "Drew Adams" <drew.adams <at> oracle.com>
> Cc: <8778 <at> debbugs.gnu.org>
> Date: Wed, 1 Jun 2011 14:53:21 -0700
> 
> > You should do this in frame #3, not #2.
> > 
> > Also, what is the value of the variable `msg' in that frame?
> 
> Too late.

Too bad.  Please in the future leave the crashed session running under
GDB, until the fact-finding phase is over, unless you can easily
reproduce the problem at will.




bug closed, send any further explanations to 8778 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sat, 18 Jun 2011 21:21:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 17 Jul 2011 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 34 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.