[Bug: 21.4.15] Cannot run xemacs in ssh forwarded DISPLAY
Ed Osinski
osinski at cims.nyu.edu
Tue Mar 16 15:08:32 EST 2004
================================================================
Dear Bug Team!
When I ssh to a different machine, and run xemacs, I get a
segmentation fault. The actual output is:
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may describe
your crash, and with luck a workaround. Please check it first, but do report
the crash anyway. Please report this bug by invoking M-x report-emacs-bug,
or by selecting `Send Bug Report' from the Help menu. If necessary, send
ordinary email to `crashes at xemacs.org'. *MAKE SURE* to include the XEmacs
configuration from M-x describe-installation, or equivalently the file
Installation in the top of the build tree.
*Please* try *hard* to obtain a C stack backtrace; without it, we are unlikely
to be able to analyze the problem. Locate the core file produced as a result
of this crash (often called `core' or `core.<process-id>', and located in
the directory in which you started XEmacs or your home directory), and type
gdb /usr/local/bin/xemacs-21.4.15 core
then type `where' at the debugger prompt. No GDB on your system? You may
have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited'
in case of future recurrance of the crash.
Lisp backtrace follows:
# (unwind-protect ...)
make-device(x nil)
# bind (display)
make-x-device(nil)
init-x-win()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " §" ... 1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
I ran gdb and did a "where" on the core file, and get:
GNU gdb 5.2.1
Copyright 2002 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 "sparc-sun-solaris2.8"...
Core was generated by `xemacs-21.4.15'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libXaw.so.5...done.
Loaded symbols for /usr/lib/libXaw.so.5
Reading symbols from /usr/local/lib/libtiff.so.3...done.
Loaded symbols for /usr/local/lib/libtiff.so.3
Reading symbols from /usr/local/lib/libpng.so.2...done.
Loaded symbols for /usr/local/lib/libpng.so.2
Reading symbols from /usr/local/lib/libjpeg.so.62...done.
Loaded symbols for /usr/local/lib/libjpeg.so.62
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libXpm.so.4...done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/dt/lib/libtt.so.2...done.
Loaded symbols for /usr/dt/lib/libtt.so.2
Reading symbols from /usr/lib/libXmu.so.4...done.
Loaded symbols for /usr/lib/libXmu.so.4
Reading symbols from /usr/lib/libXt.so.4...done.
Loaded symbols for /usr/lib/libXt.so.4
Reading symbols from /usr/lib/libXext.so.0...done.
Loaded symbols for /usr/lib/libXext.so.0
Reading symbols from /usr/lib/libX11.so.4...done.
Loaded symbols for /usr/lib/libX11.so.4
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/local/lib/libgdbm.so.3...done.
Loaded symbols for /usr/local/lib/libgdbm.so.3
Reading symbols from /usr/local/lib/libncurses.so.5...done.
Loaded symbols for /usr/local/lib/libncurses.so.5
Reading symbols from /usr/local/lib/libesd.so.0...done.
Loaded symbols for /usr/local/lib/libesd.so.0
Reading symbols from /usr/local/lib/libaudiofile.so.0...done.
Loaded symbols for /usr/local/lib/libaudiofile.so.0
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/librt.so.1...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/local/lib/libintl.so.3...done.
Loaded symbols for /usr/local/lib/libintl.so.3
Reading symbols from /usr/lib/libldap.so.5...done.
Loaded symbols for /usr/lib/libldap.so.5
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libaio.so.1...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/lib/libmd5.so.1...done.
Loaded symbols for /usr/lib/libmd5.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/local/lib/libiconv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /usr/local/lib/libgcc_s.so.1...done.
Loaded symbols for /usr/local/lib/libgcc_s.so.1
Reading symbols from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
#0 0xfeb1eda0 in _libc_kill () from /usr/lib/libc.so.1
(gdb) where
#0 0xfeb1eda0 in _libc_kill () from /usr/lib/libc.so.1
#1 0x00076e18 in fatal_error_signal (sig=11) at emacs.c:642
#2 <signal handler called>
(gdb)
xemacs runs without any problem on the local display. The previous
version, configured the same way, works fine both locally and with an
ssh-forwarded display.
Any ideas?
Thanks.
- Ed
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS valis 5.9 Generic_112233-06 sun4u sparc SUNW,Sun-Blade-100
./configure '--cflags=-g -O2' '--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib' '--site-runtime-libraries=/usr/local/lib /usr/dt/lib' '--with-xpm' '--with-xface' '--with-jpeg' '--with-png' '--with-tiff' '--with-ncurses' '--with-database=gnudbm' '--with-mule' '--with-xim' '--with-xfs' '--with-sound=none,esd' '--with-ldap' '--with-pop' '--infopath=/usr/local/info:/usr/info:/usr/local/gnu/info' '--with-workshop'
XEmacs 21.4.15 "Security Through Obscurity" configured for `sparc-sun-solaris2.9'.
Compilation / Installation:
Source code location: /sware/build/xemacs-21.4.15
Installation prefix: /usr/local
Additional header files: /usr/local/include
Additional libraries: /usr/local/lib
Runtime library search path: /usr/local/lib:/usr/dt/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O2
Compiler version: gcc (GCC) 3.3.2
Compiler specs file: /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Relocating allocator for buffers: yes
GNU version of malloc: yes
libc: SUNWcsl 11.9.0,REV=2002.04.06.15.27
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/openwin/include
- X Windows libraries location: /usr/openwin/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
TTY:
Compiling in support for ncurses.
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.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
- Using XFontSet to provide bilingual menubar.
Mail:
Compiling in support for POP mail retrieval.
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:
----------------------
(/usr/local/lib/xemacs/site-packages/lisp/caml/camldebug
/usr/local/lib/xemacs/site-packages/lisp/caml-tuareg/camldebug
~/lib/emacs/haskell-mode/haskell-simple-indent
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-simple-indent
~/lib/emacs/haskell-mode/haskell-mode
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-mode
~/lib/emacs/haskell-mode/haskell-indent
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-indent
~/lib/emacs/haskell-mode/haskell-hugs
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-hugs
~/lib/emacs/haskell-mode/haskell-ghci
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-ghci
~/lib/emacs/haskell-mode/haskell-font-lock
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-font-lock
~/lib/emacs/haskell-mode/haskell-doc
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-doc
~/lib/emacs/haskell-mode/haskell-decl-scan
/usr/local/lib/xemacs/xemacs-packages/lisp/haskell-mode/haskell-decl-scan
/usr/local/lib/xemacs/site-packages/lisp/caml/inf-caml
/usr/local/lib/xemacs/xemacs-packages/lisp/ocaml/inf-caml
/usr/local/lib/xemacs/site-packages/lisp/caml/camldebug
/usr/local/lib/xemacs/xemacs-packages/lisp/ocaml/camldebug
/usr/local/lib/xemacs/site-packages/lisp/caml/caml
/usr/local/lib/xemacs/xemacs-packages/lisp/ocaml/caml
/usr/local/lib/xemacs/site-packages/lisp/caml/caml-help
/usr/local/lib/xemacs/xemacs-packages/lisp/ocaml/caml-help
/usr/local/lib/xemacs/site-packages/lisp/caml/caml-font
/usr/local/lib/xemacs/xemacs-packages/lisp/ocaml/caml-font
/usr/local/lib/xemacs/site-packages/lisp/caml/caml-compat
/usr/local/lib/xemacs/xemacs-packages/lisp/ocaml/caml-compat)
Installed XEmacs Packages:
-------------------------
((xemacs-devel:version 1.58 :type single-file)
(xemacs-base :version 1.78 :type regular)
(x-symbol :version 1.05 :type regular)
(w3 :version 1.28 :type regular)
(vm :version 7.14 :type regular)
(viper :version 1.36 :type regular)
(view-process :version 1.12 :type regular)
(vc :version 1.37 :type regular)
(tramp :version 1.16 :type regular)
(tm :version 1.36 :type regular)
(time :version 1.13 :type regular)
(textools :version 1.14 :type regular)
(text-modes :version 1.63 :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)
(sml-mode :version 0.09 :type regular)
(sieve :version 1.13 :type regular)
(sh-script :version 1.17 :type regular)
(sgml :version 1.08 :type regular)
(sasl :version 1.13 :type regular)
(ruby-modes :version 1.01 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.3 :type regular)
(python-modes :version 1.02 :type single-file)
(psgml :version 1.41 :type regular)
(ps-print :version 1.08 :type regular)
(prog-modes
:version
1
.83
: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)
(os-utils :version 1.32 :type single-file)
(oo-browser :version 1.03 :type regular)
(ocaml :version 0.04 :type regular)
(net-utils :version 1.32 :type single-file)
(mh-e :version 1.23 :type regular)
(mailcrypt :version 2.12 :type regular)
(mail-lib :version 1.6 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.32 :type regular)
(igrep :version 1.1 :type regular)
(hyperbole :version 1.12 :type regular)
(hm--html-menus :version 1.21 :type regular)
(haskell-mode :version 1.05 :type regular)
(gnus :version 1.71 :type regular)
(fsf-compat :version 1.12 :type single-file)
(fortran-modes :version 1.02 :type single-file)
(eterm :version 1.13 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(efs :version 1.29 :type regular)
(edit-utils :version 2.07 :type single-file)
(ediff :version 1.47 :type regular)
(edebug :version 1.18 :type regular)
(ecrypto :version 0.13 :type regular)
(dired :version 1.13 :type regular)
(debug :version 1.16 :type regular)
(cc-mode :version 1.39 :type regular)
(calendar :version 1.21 :type regular)
(calc :version 1.23 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.23 :type regular)
(auctex :version 1.35 :type regular)
(apel :version 1.26 :type regular)
(ada :version 1.13 :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-abbrevs xemacsbug shadow sendmail rfc822 efs-cu font disp-table
cus-face caml-font tlc regexp-opt xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vc-autoloads tramp-autoloads
tm-autoloads time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
sml-mode-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
mh-e-autoloads mailcrypt-autoloads mail-lib-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads hyperbole-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads
fsf-compat-autoloads fortran-modes-autoloads eterm-autoloads
emerge-autoloads elib-autoloads efs-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecrypto-autoloads dired-autoloads
debug-autoloads cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads bbdb-autoloads auctex-autoloads apel-autoloads
ada-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 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 sparcworks tooltalk file-coding mule lucid-scrollbars
cut-buffer lucid-menubars athena-dialogs x c-balloon-help tty-frames
tty toolbar esd-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
dbm md5 xemacs xim gutter tiff png gif jpeg xface xpm xbm
lisp-float-type usg-unix-v dialog devices window-system base64)
Recent keystrokes:
-----------------
M-x r e p o r TAB x TAB RET
Recent messages (most recent first):
-----------------------------------
Parsing /home/osinski/.mailrc... done
Parsing /home/osinski/.mailrc...
Loading xemacsbug...done
Loading xemacsbug...
Loading efs-cu...done
Loading efs-cu...
Loading font...done
Loading font...
Loading cus-face...done
Loading cus-face...
Loading regexp-opt...done
Loading regexp-opt...
More information about the XEmacs-Beta
mailing list