This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
I do a
rsh foo DISPLAY=bar:0.0 /usr/local/bin/xemacs-new -q
from a console window on bar to the remote system foo.
(xemacs 21.4.8 is doing business as xemacs-new.)
Then do an xkill from any system on the XEmacs window, which
generates on bar the output:
xemacs: Fatal I/O Error 32 (Broken pipe) on display connection "bar:0.0"
after 2659 requests (2659 known processed) with 0 events remaining.
And the XEmacs process on foo attempts to use 100% of the CPU.
A truss indicates the XEmacs is in a poll loop.
Attaching to the process in dbx gives the following suggested stack
trace:
Attached to process 24485
stopped in _poll at 0xfeb1a13c
0xfeb1a13c: _poll+0x0008: bgeu _poll+0x30
(dbx 3) where
=>[1] _poll(0x1, 0x8, 0x0, 0x0, 0x0, 0x0), at 0xfeb1a13c
[2] _libc_select(0x7, 0x0, 0x0, 0xffbef2f0, 0xffbef458, 0xffbef2e8), at 0xfeaccfac
[3] _XtWaitForSomething(0x323400, 0x0, 0x0, 0x1, 0xf4240, 0x0), at 0xfef8b24c
[4] XtAppPending(0x4, 0x1, 0x0, 0x323400, 0x4, 0x1), at 0xfef9022c
[5] emacs_Xt_event_pending_p(0x1, 0x2c7400, 0xffbef76c, 0x2c77d8, 0x0, 0xfffffffc), at
0x1ff7fc
[6] detect_input_pending(0x386480, 0x0, 0x2c6400, 0x0, 0x2bf000, 0x2bec00), at 0xf864c
[7] redisplay_device(0x5a9400, 0x31599c, 0x2f3804, 0x5d5200, 0x320400, 0x312eac), at
0x1b2a88
[8] redisplay_without_hooks(0x5b5148, 0x2f3804, 0x5a9400, 0x5b5190, 0xffff8000,
0x2bf000), at 0x1b3088
[9] Fnext_event(0x67e500, 0x2f3804, 0x1d, 0x59f200, 0x2c6400, 0x386480), at 0xfa26c
[10] Fcommand_loop_1(0x2f3804, 0x2c6400, 0xffbefaa4, 0xffbefa2c, 0xffbefa20, 0x0), at
0x69118
[11] condition_case_1(0x2f3864, 0x2c0800, 0x2bac00, 0x2c6400, 0x2c7c00, 0x2c8800), at
0x95a8c
[12] command_loop_2(0x2f3804, 0x68a2c, 0x7837c, 0x30f6, 0x78370, 0x0), at 0x68a8c
[13] internal_catch(0x3070ac, 0x0, 0x2c6400, 0x0, 0x0, 0x145), at 0x941f4
[14] initial_command_loop(0x2f3804, 0x2c6400, 0x0, 0x4d9274, 0x2f, 0x282400), at
0x68c54
[15] xemacs_21_4_8_sparc_sun_solaris2_8(0x2, 0xffbefe2c, 0x2f3804, 0x6, 0x342fd8,
0xffffffff), at 0x87d18
[16] main(0x2, 0xffbefe2c, 0xffbefe38, 0x2ad400, 0x0, 0x0), at 0x8872c
After detaching dbx and killing the process, generates the following
output on bar:
Lisp backtrace follows:
# (condition-case ... . error)
# (catch top-level ...)
The problem is easily reproducible amoung a variety of our Solaris 8
Sparc systems and is also present in version 21.4.5 of XEmacs. For
what it is worth, the problem does not seem to occur in version 21.1.11.
Of course, the easy answer is "Don't do an xkill", but we are seeing
this problem in other circumstances also, e.g. having a X-server
remote from the system running the XEmacs process and there being
communications difficulties between the systems to cause the X-server
to quit or the connections to terminate for other reasons.
Any assistance would be appreciated.
thx,
hf
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS bison 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Fire
configure '--compiler=/opt/spro62/SUNWspro/bin/cc' '--with-gcc=no'
'--prefix=/work/external/harry/xemacs/bld.SunOS-sun4u.20020510'
'--with-sparcworks' '--with-workshop' '--with-tooltalk'
'--site-includes=/usr/local/ren/prod/include /usr/local/gnu/include
/usr/local/include'
'--infopath=/usr/local/info:usr/local/ren/prod/info:/usr/local/gnu/info'
'--site-libraries=/usr/local/ren/prod/lib /usr/local/lib' '--with-xpm'
'--with-ncurses=no' '--with-sound=native' '--with-jpeg=yes'
'--with-png=yes' '--with-ldap=no' '--with-postgresql=no'
'--with-menubars=lucid' '--with-scrollbars=lucid'
XEmacs 21.4.8 "Honest Recruiter" configured for `sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location:
/scratch/harry/src/bld.xemacs.SunOS-sun4u.20020510/xemacs-21.4.8
Installation prefix: /work/external/harry/xemacs/bld.SunOS-sun4u.20020510
Additional header files: /usr/local/ren/prod/include /usr/local/gnu/include
/usr/local/include
Additional libraries: /usr/local/ren/prod/lib /usr/local/lib
Runtime library search path:
/usr/local/ren/prod/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: /opt/spro62/SUNWspro/bin/cc -v -xO4
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
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.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for Sun WorkShop.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(~harry/XEmacslib/setnu
/usr/local/products/xemacs/new-SunOS/lib/xemacs/xemacs-packages/lisp/edit-utils/setnu
~harry/XEmacslib/mode-motion+
/usr/local/products/xemacs/new-SunOS/lib/xemacs/xemacs-packages/lisp/edit-utils/mode-motion+
~harry/XEmacslib/frame-icon
/usr/local/products/xemacs/new-SunOS/lib/xemacs/xemacs-packages/lisp/frame-icon/frame-icon
~harry/XEmacslib/flyspell
/usr/local/products/xemacs/new-SunOS/lib/xemacs/xemacs-packages/lisp/text-modes/flyspell
~harry/XEmacslib/thing
/usr/local/products/xemacs/new-SunOS/lib/xemacs/xemacs-packages/lisp/xemacs-base/thing
~harry/XEmacslib/ffap
/usr/local/products/xemacs/new-SunOS/lib/xemacs/xemacs-packages/lisp/xemacs-base/ffap)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.1 :type regular)
(xslide :version 1.01 :type regular)
(xemacs-devel :version 1.47 :type single-file)
(xemacs-base :version 1.66 :type regular)
(w3 :version 1.25 :type regular)
(vm :version 7.07 :type regular)
(viper :version 1.34 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc-cc :version 1.21 :type regular)
(vc :version 1.33 :type regular)
(tramp :version 1.05 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.34 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.48 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.23 :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.07 :type regular)
(sh-script :version 1.15 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.12 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.25 :type regular)
(psgml :version 1.28 :type regular)
(ps-print :version 1.04 :type regular)
(prog-modes
:version
1
.6
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.63 :type regular)
(pc :version 1.25 :type single-file)
(os-utils :version 1.28 :type single-file)
(net-utils :version 1.27 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.14 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.47 :type regular)
(liece :version 1.07 :type regular)
(jde :version 1.35 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.27 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.25 :type regular)
(ibuffer :version 1.08 :type regular)
(hm--html-menus :version 1.18 :type regular)
(haskell-mode :version 1.03 :type regular)
(gnus :version 1.62 :type regular)
(gnats :version 1.15 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.15 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(ess :version 1.02 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.29 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.89 :type single-file)
(ediff :version 1.41 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.12 :type regular)
(dictionary :version 1.11 :type regular)
(debug :version 1.15 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.04 :type regular)
(cc-mode :version 1.28 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.06 :type regular)
(bbdb :version 1.21 :type regular)
(auctex :version 1.32 :type regular)
(apel :version 1.25 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 info apropos
blink-cursor pending-del fast-lock lazy-lock lazy-shot paren
blink-paren workshop eserve env ws-trim gnuserv func-menu font-lock
crypt crypt++ completer efs-cu efs-x19.15 efs-fnh efs-ovwrt efs-auto
cus-face dired-faces dired-xemacs dired lpr live-icon rsz-minibuf
big-menubar redo zenirc-autoloads xslt-process-autoloads
xslide-autoloads xemacs-devel-autoloads xemacs-base-autoloads
w3-autoloads vm-autoloads viper-autoloads view-process-autoloads
vhdl-autoloads vc-cc-autoloads vc-autoloads tramp-autoloads
tpu-autoloads tooltalk-autoloads tm-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 rmail-autoloads reftex-autoloads psgml-autoloads
ps-print-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-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 gnus-autoloads gnats-autoloads games-autoloads
fsf-compat-autoloads frame-icon-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 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 apel-autoloads ada-autoloads
Sun-autoloads lisp-autoloads loadhist auto-show fontl-hooks
x-iso8859-1 gutter-items menubar-items x-menubar mode-motion mouse
itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete help-nomule cus-file derived frame text-props obsolete
cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp sparcworks tooltalk lucid-scrollbars cut-buffer
lucid-menubars motif-dialogs x c-balloon-help tty-frames tty toolbar
native-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar berkeley-db dbm
md5 xemacs gutter png gif jpeg xpm xbm lisp-float-type usg-unix-v
dialog devices window-system base64)
Recent keystrokes:
-----------------
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user button2 button2up misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user misc-user misc-user misc-user misc-user misc-user
misc-user button1 button1up button1 button1up M-x r
e p o r t TAB TAB button3 misc-user button1 button1up
button1 button1up button2 button2up
Recent messages (most recent first):
-----------------------------------
Parsing /home/harry/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Selecting menu item Q5.3.11...done
Selecting menu item Q5.3.11...
Selecting menu item Q5.0.14...done
Selecting menu item Q5.0.14...
Composing main Info directory...done
Rebuilding temporary
/usr/local/products/xemacs/bld.SunOS-sun4u.20020510/lib/xemacs-21.4.8/info/dir...done
Rebuilding temporary
/usr/local/products/xemacs/bld.SunOS-sun4u.20020510/lib/xemacs-21.4.8/info/dir...
Note: file is write protected
Creating temporary dir in
/usr/local/products/xemacs/bld.SunOS-sun4u.20020510/lib/xemacs/xemacs-packages/info/...done
File not found and directory write-protected
Creating temporary dir in
/usr/local/products/xemacs/bld.SunOS-sun4u.20020510/lib/xemacs/xemacs-packages/info/...
Rebuilding temporary /usr/local/info/dir...done
Rebuilding temporary /usr/local/info/dir...
Note: file is write protected
Composing main Info directory...
Rebuilding temporary /usr/local/gnu/info/dir...done