--- Begin Message ---
Subject: |
Re: emacs-21.0.91 crash when calling delete-frame |
Date: |
Wed, 22 Nov 2000 09:48:05 +0200 ("IST) |
> Date: Tue, 21 Nov 2000 21:49:16 +0100 (CET)
> Sender: address@hidden
> Cc: address@hidden
> Reply-To: address@hidden
> From: Gerd Moellmann <address@hidden>
> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.92
>
> address@hidden (Eli Tziperman) writes:
>
> > 1) start emacs under gdb (5.0) and run it with -q flag:
> >
> > address@hidden:/usr/people/eli% gdb /usr/local/emacs-21.0.91/src/emacs
> > GNU gdb 5.0
> > This GDB was configured as "mips-sgi-irix6.5"...
> > (gdb) run -q
> > Starting program: /usr/local/emacs-21.0.91/src/emacs -q
> >
> > 2) click on menu item: file-> new frame
> >
> > 3) immediately after that click on file-> delete frame in the new
> > frame that was created.
> >
> > 4) result: emacs crashes with the following error message:
> >
> > X protocol error: BadDrawable (invalid Pixmap or Window parameter) on
> > protocol request 69
> >
>
> Thanks for the report, Eli. Alas, I can't reproduce it here.
>
> Could you please set a breakpoint on function x_error_quitter (when
> starting GDB from the src directory, this should happen automatically
> because of the .gdbinit file there.)
>
> In Emacs, eval `(x-synchronize t)' before doing something else.
if I do this, the problem does not show up.
> GDB should then stop in x_error_quitter. At that point, please
> print a backtrace with
>
> (gdb) bt
OK, here is the output
/address@hidden:/usr/local/emacs-21.0.91/src% gdb emacs
GNU gdb 5.0
Copyright 2000 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 "mips-sgi-irix6.5"...
Warning: /gd/gnu/lesstif-0.89.9/lib/Xm: No such file or directory.
DISPLAY = :0.0
TERM = iris-ansi
Breakpoint 1 at 0x100f4dfc: file emacs.c, line 386.
Breakpoint 2 at 0x100cebc4: file xterm.c, line 11306.
(gdb) stop in x_error_quitter
(gdb) run -q --no-site-file
Starting program: /usr/local/emacs-21.0.91/src/emacs -q --no-site-file
[at this stage I do the open new frame, delete frame, and get:]
Breakpoint 2, x_error_quitter (display=0x104b9800, error=0x7fff19a0)
at xterm.c:11306
11306 XGetErrorText (display, error->error_code, buf, sizeof (buf));
(gdb) bt
#0 x_error_quitter (display=0x104b9800, error=0x7fff19a0) at xterm.c:11306
#1 0x100cec8c in x_error_handler (display=0x104b9800, error=0x7fff19a0)
at xterm.c:11323
#2 0xf62a864 in _XError () at imEvToWire.c:761
#3 0xf66e2b8 in _XReply () at omGeneric.c:477
#4 0xf66e2b8 in _XReply () at omGeneric.c:477
#5 0xf66e2b8 in _XReply () at omGeneric.c:477
#6 0xf66e2b8 in _XReply () at omGeneric.c:477
#7 0xf66e2b8 in _XReply () at omGeneric.c:477
#8 0xf66e2b8 in _XReply () at omGeneric.c:477
#9 0xf66e2b8 in _XReply () at omGeneric.c:477
#10 0xf66e2b8 in _XReply () at omGeneric.c:477
#11 0xf66e2b8 in _XReply () at omGeneric.c:477
#12 0xf66e2b8 in _XReply () at omGeneric.c:477
#13 0xf66e2b8 in _XReply () at omGeneric.c:477
#14 0xf66e2b8 in _XReply () at omGeneric.c:477
#15 0xf66e2b8 in _XReply () at omGeneric.c:477
#16 0xf66e2b8 in _XReply () at omGeneric.c:477
#17 0xf66e2b8 in _XReply () at omGeneric.c:477
#18 0xf66e2b8 in _XReply () at omGeneric.c:477
#19 0xf66e2b8 in _XReply () at omGeneric.c:477
#20 0xf66e2b8 in _XReply () at omGeneric.c:477
#21 0xf66e2b8 in _XReply () at omGeneric.c:477
#22 0xf66e2b8 in _XReply () at omGeneric.c:477
#23 0xf66e2b8 in _XReply () at omGeneric.c:477
#24 0xf66e2b8 in _XReply () at omGeneric.c:477
#25 0xf66e2b8 in _XReply () at omGeneric.c:477
#26 0xf66e2b8 in _XReply () at omGeneric.c:477
#27 0xf66e2b8 in _XReply () at omGeneric.c:477
#28 0xf66e2b8 in _XReply () at omGeneric.c:477
#29 0xf66e2b8 in _XReply () at omGeneric.c:477
#30 0xf66e2b8 in _XReply () at omGeneric.c:477
#31 0xf66e2b8 in _XReply () at omGeneric.c:477
#32 0xf66e2b8 in _XReply () at omGeneric.c:477
#33 0xf66e2b8 in _XReply () at omGeneric.c:477
#34 0xf66e2b8 in _XReply () at omGeneric.c:477
#35 0xf66e2b8 in _XReply () at omGeneric.c:477
#36 0xf66e2b8 in _XReply () at omGeneric.c:477
#37 0xf66e2b8 in _XReply () at omGeneric.c:477
#38 0xf66e2b8 in _XReply () at omGeneric.c:477
#39 0xf66e2b8 in _XReply () at omGeneric.c:477
#40 0xf66e2b8 in _XReply () at omGeneric.c:477
#41 0xf66e2b8 in _XReply () at omGeneric.c:477
#42 0xf66e2b8 in _XReply () at omGeneric.c:477
#43 0xf66e2b8 in _XReply () at omGeneric.c:477
#44 0xf66e2b8 in _XReply () at omGeneric.c:477
#45 0xf66e2b8 in _XReply () at omGeneric.c:477
#46 0xf66e2b8 in _XReply () at omGeneric.c:477
#47 0xf66e2b8 in _XReply () at omGeneric.c:477
#48 0xf66e2b8 in _XReply () at omGeneric.c:477
#49 0xf66e2b8 in _XReply () at omGeneric.c:477
#50 0xf66e2b8 in _XReply () at omGeneric.c:477
#51 0xf66e2b8 in _XReply () at omGeneric.c:477
#52 0xf66e2b8 in _XReply () at omGeneric.c:477
#53 0xf66e2b8 in _XReply () at omGeneric.c:477
#54 0xf66e2b8 in _XReply () at omGeneric.c:477
#55 0xf66e2b8 in _XReply () at omGeneric.c:477
#56 0xf66e2b8 in _XReply () at omGeneric.c:477
#57 0xf66e2b8 in _XReply () at omGeneric.c:477
#58 0xf66e2b8 in _XReply () at omGeneric.c:477
#59 0xf66e2b8 in _XReply () at omGeneric.c:477
#60 0xf66e2b8 in _XReply () at omGeneric.c:477
#61 0xf66e2b8 in _XReply () at omGeneric.c:477
#62 0xf66e2b8 in _XReply () at omGeneric.c:477
#63 0xf66e2b8 in _XReply () at omGeneric.c:477
#64 0xf66e2b8 in _XReply () at omGeneric.c:477
#65 0xf66e2b8 in _XReply () at omGeneric.c:477
#66 0xf66e2b8 in _XReply () at omGeneric.c:477
#67 0xf66e2b8 in _XReply () at omGeneric.c:477
#68 0xf66e2b8 in _XReply () at omGeneric.c:477
#69 0xf66e2b8 in _XReply () at omGeneric.c:477
#70 0xf66e2b8 in _XReply () at omGeneric.c:477
#71 0xf66e2b8 in _XReply () at omGeneric.c:477
#72 0xf66e2b8 in _XReply () at omGeneric.c:477
#73 0xf66e2b8 in _XReply () at omGeneric.c:477
#74 0xf66e2b8 in _XReply () at omGeneric.c:477
#75 0xf66e2b8 in _XReply () at omGeneric.c:477
#76 0xf66e2b8 in _XReply () at omGeneric.c:477
#77 0xf66e2b8 in _XReply () at omGeneric.c:477
#78 0xf66e2b8 in _XReply () at omGeneric.c:477
#79 0xf66e2b8 in _XReply () at omGeneric.c:477
#80 0xf66e2b8 in _XReply () at omGeneric.c:477
#81 0xf66e2b8 in _XReply () at omGeneric.c:477
#82 0xf66e2b8 in _XReply () at omGeneric.c:477
#83 0xf66e2b8 in _XReply () at omGeneric.c:477
#84 0xf66e2b8 in _XReply () at omGeneric.c:477
#85 0xf66e2b8 in _XReply () at omGeneric.c:477
#86 0xf66e2b8 in _XReply () at omGeneric.c:477
#87 0xf66e2b8 in _XReply () at omGeneric.c:477
#88 0xf66e2b8 in _XReply () at omGeneric.c:477
#89 0xf66e2b8 in _XReply () at omGeneric.c:477
#90 0xf66e2b8 in _XReply () at omGeneric.c:477
#91 0xf66e2b8 in _XReply () at omGeneric.c:477
#92 0xf66e2b8 in _XReply () at omGeneric.c:477
#93 0xf66e2b8 in _XReply () at omGeneric.c:477
#94 0xf66e2b8 in _XReply () at omGeneric.c:477
#95 0xf66e2b8 in _XReply () at omGeneric.c:477
#96 0xf66e2b8 in _XReply () at omGeneric.c:477
#97 0xf66e2b8 in _XReply () at omGeneric.c:477
#98 0xf66e2b8 in _XReply () at omGeneric.c:477
#99 0xf66e2b8 in _XReply () at omGeneric.c:477
#100 0xf66e2b8 in _XReply () at omGeneric.c:477
#101 0xf66e2b8 in _XReply () at omGeneric.c:477
#102 0xf66e2b8 in _XReply () at omGeneric.c:477
#103 0xf66e2b8 in _XReply () at omGeneric.c:477
.
.
.
[etc, I hit c-z here]
Suspended
/address@hidden:/usr/local/emacs-21.0.91/src% #104 0xf66e2b8 in _XReply ()
--- End Message ---