Hi,
after the text image fix, here is a new bug report :-)
XEmacs version as of today
(emacs-version)
"XEmacs 21.2 (beta32) \"Kastor & Polydeukes\" [Lucid]
(sparc-sun-solaris2.6, Mule) of Tue Apr 11 2000 on inss24"
system-configuration-options
"--prefix=/usr/users/kaage/lib/xemacs --dynamic=yes --with-dialogs=athena
--with-site-lisp --with-mule"
Originally, I wanted to trace down a SEGFAULT being produced while
heavily using gnuclient. Unfortunately, this bug was not reproducible
with a vanilla XEmacs. Instead, a freeze occurred.
I've started xemacs -vanilla. After starting gnuserv, I've loaded an
html file via gnuclient. Now, repeated quitting of the file via C-x #
and loading again with gnuclient after about 20 cycles yields to a
freeze of XEmacs including the following X error:
xemacs: X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 8 (X_MapWindow)
Resource id in failed request: 0x2c001d3
Serial number of failed request: 15906
Current serial number in output stream: 15916
Attaching with GDB shows where XEmacs is frozen:
Attaching to program `/usr/users/kaage/lib/xemacs/bin/xemacs-21.2-b32', process 15292
Symbols already loaded for /lib/libXm.so.3
Symbols already loaded for /lib/libXaw.so.5
Symbols already loaded for /usr/openwin/lib/libtiff.so
Symbols already loaded for /tools/misc/lib/libpng.so.2
Symbols already loaded for /tools/misc/lib/libjpeg.so.62
Symbols already loaded for /usr/openwin/lib/libtt.so.2
Symbols already loaded for /lib/libXmu.so.4
Symbols already loaded for /lib/libXt.so.4
Symbols already loaded for /lib/libXext.so.0
Symbols already loaded for /lib/libX11.so.4
Symbols already loaded for /lib/libdl.so.1
Symbols already loaded for /lib/libkstat.so.1
Symbols already loaded for /lib/libm.so.1
Symbols already loaded for /lib/libsocket.so.1
Symbols already loaded for /lib/libnsl.so.1
Symbols already loaded for /lib/libc.so.1
Symbols already loaded for /tools/misc/lib/libz.so.1.1.3
Symbols already loaded for /lib/libSM.so.6
Symbols already loaded for /lib/libICE.so.6
Symbols already loaded for /lib/libmp.so.2
Symbols already loaded for /lib/libXm.so.3
Symbols already loaded for /lib/libXaw.so.5
Symbols already loaded for /usr/openwin/lib/libtiff.so
Symbols already loaded for /tools/misc/lib/libpng.so.2
Symbols already loaded for /tools/misc/lib/libjpeg.so.62
Symbols already loaded for /usr/openwin/lib/libtt.so.2
Symbols already loaded for /lib/libXmu.so.4
Symbols already loaded for /lib/libXt.so.4
Symbols already loaded for /lib/libXext.so.0
Symbols already loaded for /lib/libX11.so.4
Symbols already loaded for /lib/libdl.so.1
Symbols already loaded for /lib/libkstat.so.1
Symbols already loaded for /lib/libm.so.1
Symbols already loaded for /lib/libsocket.so.1
Symbols already loaded for /lib/libnsl.so.1
Symbols already loaded for /lib/libc.so.1
Symbols already loaded for /tools/misc/lib/libz.so.1.1.3
Symbols already loaded for /lib/libSM.so.6
Symbols already loaded for /lib/libICE.so.6
Symbols already loaded for /lib/libmp.so.2
0xef0b7318 in poll () from /lib/libc.so.1
(gdb) where
#0 0xef0b7318 in poll () from /lib/libc.so.1
#1 0xef0ccb24 in select () from /lib/libc.so.1
#2 0xef2cdf94 in _XWaitForReadable () from /lib/libX11.so.4
#3 0xef28f3d8 in _XRead () from /lib/libX11.so.4
#4 0xef2918ec in _XReply () from /lib/libX11.so.4
#5 0xef2a51bc in XQueryColor () from /lib/libX11.so.4
#6 0x20757c in x_generate_shadow_pixels (f=0x65c800, top_shadow=0xefffe524,
bottom_shadow=0xefffe520, background=15066597, core_background=15066597)
at redisplay-x.c:1609
#7 0x20450c in x_bevel_area (w=0x85f800, findex=1, x=4, y=584, width=735,
height=18, shadow_thickness=2, edges=15, style=EDGE_BEVEL_OUT)
at redisplay-x.c:549
#8 0x1b1eb8 in bevel_modeline (w=0x85f800, dl=0x803000)
at redisplay-output.c:2344
#9 0x204254 in x_output_display_block (w=0x85f800, dl=0x803000, block=0,
start=1, end=82, start_pixpos=4, cursor_start=0, cursor_width=0,
cursor_height=0) at redisplay-x.c:507
#10 0x1ae398 in redisplay_output_display_block (w=0x85f800, dl=0x803000,
block=0, start=1, end=82, start_pixpos=0, cursor_start=0, cursor_width=0,
cursor_height=0) at redisplay-output.c:1134
#11 0x1acf9c in output_display_line (w=0x85f800, cdla=0x6f0340, ddla=0x6f0940,
line=0, force_start=4, force_end=739) at redisplay-output.c:650
#12 0x1b18d4 in redisplay_output_window (w=0x85f800) at redisplay-output.c:2256
---Type <return> to continue, or q <return> to quit---
#13 0x1a1ae4 in redisplay_window (window=8779776, skip_selected=1)
at redisplay.c:6243
#14 0x1a2148 in redisplay_frame (f=0x82a400, preemption_check=0)
at redisplay.c:6455
#15 0x1a23b4 in redisplay_device (d=0x658d00, automatic=8561664)
at redisplay.c:6533
#16 0x1a2934 in redisplay_without_hooks () at redisplay.c:6622
#17 0x1a2bb4 in redisplay () at redisplay.c:6679
#18 0xfc588 in Fnext_event (event=6709948, prompt=3131396)
at event-stream.c:2180
#19 0x88444 in Fcommand_loop_1 () at cmdloop.c:566
#20 0x88194 in command_loop_1 (dummy=3131396) at cmdloop.c:490
#21 0xa9ff4 in condition_case_1 (handlers=3131492,
bfun=0x88148 <command_loop_1>, barg=3131396, hfun=0x875f8 <cmd_error>,
harg=3131396) at eval.c:1644
#22 0x8770c in command_loop_3 () at cmdloop.c:252
#23 0x8772c in command_loop_2 (dummy=3131396) at cmdloop.c:263
#24 0xa9adc in internal_catch (tag=3213556, func=0x87720 <command_loop_2>,
arg=3131396, threw=0x0) at eval.c:1310
#25 0x87a90 in initial_command_loop (load_me=554784) at cmdloop.c:301
#26 0xa52ac in sort_args (argc=2921472, argv=0xeffff0f4) at emacs.c:1873
(gdb)
Cheers, Uli