================================================================
Dear Bug Team!
XEmacs regularly hangs when doing networking. I use Gnus and read news
from several news servers (and IMAP accounts). What often happens is
that XEmacs just hangs and stops responding if anything goes wrong with
a network connection. There seems to be no timeout, e.g. once it's hung,
it will stay that way (I've waited several hours). Nothing is redrawn,
there is just a blank XEmacs window.
The common recurring theme is the two messages that appear on the
console that XEmacs was started from:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 25 (X_SendEvent)
Resource id in failed request: 0xe009ba
Serial number of failed request: 593927
Current serial number in output stream: 594059
Xlib: unexpected async reply (sequence 0x9108b)!
xemacs-21.4.14: X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 18 (X_ChangeProperty)
Resource id in failed request: 0xe009ba
Serial number of failed request: 593926
Current serial number in output stream: 594059
The X requests are always the same, only the parameters change.
After being killed XEmacs sometimes produces a Lisp backtrace, which
usualy points (unsurprisingly) to network code, as in:
# (unwind-protect ...)
# (unwind-protect ...)
accept-process-output(#<network connection "nntpd<2>"
("nntp" . "news-server.san.rr.com") state:exit> 0 100)
# bind (process)
nnheader-accept-process-output(#<network connection "nntpd<2>"
("nntp" . "news-server.san.rr.com") state:exit>)
# (unwind-protect ...)
# bind (process)
nntp-accept-process-output(#<network connection "nntpd<2>"
("nntp" . "news-server.san.rr.com") state:exit>)
# (unwind-protect ...)
# bind (process wait-for buffer decode discard process timer pbuffer buffer)
nntp-open-connection(#<buffer " *nntpd*">)
[...]
As this is happening to me several times a day now, it is extremely
annoying. I seem to remember being able to keep XEmacs running for
weeks: has something changed, or have I started connecting to flaky
services?
And, most importantly: what can be done about it?
thanks,
--Jan
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Linux
tnuctip.rychter.com 2.4.22 #3 Thu Sep 18 20:48:53 PDT 2003 i686 i686 i386
GNU/Linux
./configure '--with-mule' '--error-checking=none'
'--with-menubars=lucid' '--with-scrollbars=lucid'
'--with-dialogs=athena' '--with-widgets=athena' '--with-athena=3d'
'--with-sound=no' '--pdump'
XEmacs 21.4.14 "Reasonable Discussion" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /usr/src/xemacs/xemacs-21.4
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -fno-strict-aliasing -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for Motif.
*WARNING* Many versions of Motif are buggy, requiring workarounds.
You are likely to experience slow redisplay.
You may need to install vendor patches to Motif.
See PROBLEMS for more information.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using Motif to provide XIM support.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/home/jwr/Mail/.software/gnus/lisp/sha1-el
/usr/local/lib/xemacs/xemacs-packages/lisp/ecrypto/sha1-el
/home/jwr/Mail/.software/gnus/lisp/hex-util
/usr/local/lib/xemacs/xemacs-packages/lisp/ecrypto/hex-util
/home/jwr/Mail/.software/gnus/lisp/tls
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/tls
/home/jwr/Mail/.software/gnus/lisp/starttls
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/starttls
/home/jwr/Mail/.software/gnus/lisp/rfc2104
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/rfc2104
/home/jwr/Mail/.software/gnus/lisp/pop3
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/pop3
/home/jwr/Mail/.software/gnus/lisp/netrc
/usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib/netrc
/home/jwr/Mail/.software/flame
/usr/local/lib/xemacs/xemacs-packages/lisp/misc-games/flame
/home/jwr/Mail/.software/gnus/lisp/dns
/usr/local/lib/xemacs/xemacs-packages/lisp/net-utils/dns
/home/jwr/Mail/.software/gnus/lisp/dig
/usr/local/lib/xemacs/xemacs-packages/lisp/net-utils/dig
/home/jwr/Mail/.software/ssh
/usr/local/lib/xemacs/xemacs-packages/lisp/os-utils/ssh
/home/jwr/Mail/.software/gnus/lisp/pgg
/usr/local/lib/xemacs/xemacs-packages/lisp/pgg/pgg
/home/jwr/Mail/.software/gnus/lisp/pgg-pgp5
/usr/local/lib/xemacs/xemacs-packages/lisp/pgg/pgg-pgp5
/home/jwr/Mail/.software/gnus/lisp/pgg-pgp
/usr/local/lib/xemacs/xemacs-packages/lisp/pgg/pgg-pgp
/home/jwr/Mail/.software/gnus/lisp/pgg-parse
/usr/local/lib/xemacs/xemacs-packages/lisp/pgg/pgg-parse
/home/jwr/Mail/.software/gnus/lisp/pgg-gpg
/usr/local/lib/xemacs/xemacs-packages/lisp/pgg/pgg-gpg
/home/jwr/Mail/.software/gnus/lisp/pgg-def
/usr/local/lib/xemacs/xemacs-packages/lisp/pgg/pgg-def
/home/jwr/Mail/.software/psgml-html
/usr/local/lib/xemacs/xemacs-packages/lisp/psgml/psgml-html
/home/jwr/Mail/.software/gnus/lisp/sieve
/usr/local/lib/xemacs/xemacs-packages/lisp/sieve/sieve
/home/jwr/Mail/.software/gnus/lisp/sieve-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/sieve/sieve-mode
/home/jwr/Mail/.software/gnus/lisp/sieve-manage
/usr/local/lib/xemacs/xemacs-packages/lisp/sieve/sieve-manage
/home/jwr/Mail/.software/flyspell
/usr/local/lib/xemacs/xemacs-packages/lisp/text-modes/flyspell
/home/jwr/Mail/.software/filladapt
/usr/local/lib/xemacs/xemacs-packages/lisp/text-modes/filladapt
/home/jwr/Mail/.software/bibtex
/usr/local/lib/xemacs/xemacs-packages/lisp/textools/bibtex
/home/jwr/Mail/.software/apel/timezone
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/timezone
/home/jwr/Mail/.software/apel/time-stamp
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/time-stamp
/home/jwr/Mail/.software/apel/env
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/env
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/usr/local/lib/xemacs-21.4.14/lisp/build-report
/home/jwr/Mail/.software/apel/alist
/usr/local/lib/xemacs-21.4.14/lisp/alist)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.11 :type regular)
(xslide :version 1.08 :type regular)
(xemacs-devel :version 1.57 :type single-file)
(xemacs-base :version 1.78 :type regular)
(w3 :version 1.28 :type regular)
(viper :version 1.36 :type regular)
(vhdl :version 1.16 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.16 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(time :version 1.13 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.62 :type single-file)
(texinfo :version 1.24 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.26 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.13 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.17 :type regular)
(scheme :version 1.13 :type regular)
(sasl :version 1.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(reftex :version 1.29 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml-dtds :version 1.02 :type regular)
(psgml :version 1.4 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.82
:type
single-file)
(pgg :version 1.03 :type regular)
(perl-modes :version 1.04 :type single-file)
(pcomplete :version 1.02 :type regular)
(pcl-cvs :version 1.64 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.31 :type single-file)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.32 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.16 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.23 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.59 :type regular)
(liece :version 1.12 :type regular)
(jde :version 1.45 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :type regular)
(igrep :version 1.1 :type regular)
(idlwave :version 1.28 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.21 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.14 :type regular)
(fsf-compat :version 1.12 :type single-file)
(frame-icon :version 1.09 :type regular)
(fortran-modes :version 1.02 :type single-file)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.38 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.03 :type regular)
(eshell :version 1.05 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.04 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 2.04 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.18 :type regular)
(ecrypto :version 0.13 :type regular)
(ecb :version 1.1 :type regular)
(docbookide :version 0.06 :type regular)
(dired :version 1.13 :type regular)
(dictionary :version 1.12 :type regular)
(debug :version 1.16 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.06 :type regular)
(cc-mode :version 1.38 :type regular)
(calendar :version 1.19 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.1 :type regular)
(bbdb :version 1.23 :type regular)
(auctex :version 1.35 :type regular)
(skk :version 1.23 :type regular)
(mule-ucs :version 1.04 :type regular)
(mule-base :version 1.43 :type regular)
(lookup :version 1.13 :type regular)
(locale :version 1.2 :type regular)
(leim :version 1.21 :type regular)
(latin-unity :version 1.07 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.15 :type regular))
Installed Modules:
-----------------
Features:
--------
(mail-extr xemacsbug shadow font disp-table paren blink-paren eshell
esh-opt pp esh-util em-ls font-lock rsz-minibuf gnuserv func-menu efs-cu
eicq-toolbar eicq bytecomp byte-compile eicq-comm smiley gnus-art mm-uu
mml2015 pgg pgg-parse pgg-def mm-view gnus-sum nnoo gnus-group gnus-undo
nnmail mail-source format-spec gnus-start gnus-spec gnus-int gnus-range
message mml mml-sec mml-smime smime dig mm-decode mm-bodies mm-encode
mailcap lpr mail-parse rfc2045 rfc2231 rfc2047 qp ietf-drums
mail-abbrevs sendmail rfc822 mailheader canlock gnus-win gnus gnus-ems
gnus-xmas messagexmas nnheader nnheaderxm gnus-util netrc time-date
parse-time mm-util mail-prsvr mail-utils goto-addr wid-edit timezone pym
static apel-ver product outline gnus-load cus-load folding-isearch
folding advice advice-preload vc vc-hooks zone-mode filladapt tex-site
iswitchb edict edict-japanese edict-english edict-morphology edict-edit
dui-registry dui escreen slime edmacro easy-mmode cus-face hyperspec
thingatpt browse-url inf-lisp comint ring jwr-pl quail overlay
zenirc-autoloads xslt-process-autoloads xslide-autoloads
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads
viper-autoloads vhdl-autoloads vc-cc-autoloads vc-autoloads
tramp-autoloads tpu-autoloads tooltalk-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
sounds-wav-autoloads sounds-au-autoloads slider-autoloads
sieve-autoloads sh-script-autoloads sgml-autoloads semantic-autoloads
scheme-autoloads sasl-autoloads ruby-modes-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pgg-autoloads
perl-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads pc-autoloads
os-utils-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads liece-autoloads
jde-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hm--html-menus-autoloads
haskell-mode-autoloads gnats-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
ess-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecrypto-autoloads ecb-autoloads
docbookide-autoloads dired-autoloads dictionary-autoloads
debug-autoloads crisp-autoloads cookie-autoloads clearcase-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads c-support-autoloads
build-autoloads bbdb-autoloads auctex-autoloads skk-autoloads
mule-ucs-autoloads mule-base-autoloads lookup-autoloads locale-autoloads
leim-autoloads latin-unity-autoloads egg-its-autoloads edict-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 canna-leim
slovenian czech romanian ccl mule-help code-cmds gutter-items
menubar-items x-menubar mode-motion mouse itimer auto-save lisp-mode
easymenu iso8859-1 page buff-menu lib-complete cus-file derived frame
text-props obsolete cus-start custom widget cl-extra mini-cl cl cl-19
packages backquote very-early-lisp postgresqlv7 postgresql CANNA
file-coding wnn mule lucid-scrollbars cut-buffer lucid-menubars
athena-dialogs x c-balloon-help tty-frames tty toolbar scrollbar
unix-processes multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db md5 xemacs xim gutter tiff
png gif jpeg xpm xbm lisp-float-type linux dialog devices window-system
base64)
Recent keystrokes:
-----------------
M-x r e p o r t TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading cl-indent...
Loading mail-extr...done
Loading mail-extr...
Loading xemacsbug...done
Loading xemacsbug...
Loading font...done
Loading font...
Paren mode is sexp
Loading paren...done
Loading paren...
Loading font-lock...done
Loading font-lock...
Loading rsz-minibuf...done
Loading rsz-minibuf...
Loading gnuserv...done
Loading gnuserv...
Loading efs-cu...done
Loading efs-cu...
Loading bytecomp...done