When I ssh into my office computer and attach to a running xemacs
using the gnuclient program, but the attempt fails because of a
Kerberos authentication problem, xemacs crashes.
Here is the error message from gnuclient:
"X11 connection rejected because of wrong authentication."
Here is the crash message:
----------------------------------------------------------------
Fatal error: assertion failed, file
/afs/.cs.cmu.edu/misc/xemacs/src/core/xemacs-21.4.4/src/device-x.c, line 1119, d != NULL
Fatal error (6).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
If you have access to the PROBLEMS file that came with your
version of XEmacs, please check to see if your crash is described
there, as there may be a workaround available.
Otherwise, please report this bug by running the send-pr
script included with XEmacs, or selecting `Send Bug Report'
from the help menu.
As a last resort send ordinary email to `crashes(a)xemacs.org'.
*MAKE SURE* to include the information in the command
M-x describe-installation.
If at all possible, *please* try to obtain a C stack backtrace;
it will help us immensely in determining what went wrong.
To do this, locate the core file that was produced as a result
of this crash (it's usually called `core' and is located in the
directory in which you started the editor, or maybe in your home
directory), and type
gdb /usr/local/bin/xemacs core
then type `where' when the debugger prompt comes up.
(If you don't have GDB on your system, you might have DBX,
or XDB, or SDB. A similar procedure should work for all of
these. Ask your system administrator if you need more help.)
Lisp backtrace follows:
# (unwind-protect ...)
make-device(x "ammon.boltz.cs.cmu.edu:10.0")
# bind (display)
make-x-device("ammon.boltz.cs.cmu.edu:10.0")
# bind (dest-frame new-frame old-device-num quick view flags list type)
gnuserv-edit-files((x "ammon.boltz.cs.cmu.edu:10.0") nil quick)
eval((gnuserv-edit-files (quote (x "ammon.boltz.cs.cmu.edu:10.0")) (quote nil)
(quote quick)))
byte-code("..." [header gnuserv-string eval read-from-string] 4)
# (condition-case ... . ((error (byte-code "?\n???\n \"??? @
A\"?" ... 3)) (quit (byte-code "?\n???\\"?????\"?" ...
3))))
# bind (header string proc)
gnuserv-process-filter(#<process "gnuserv" pid 2796 state:run> "5
(gnuserv-edit-files '(x \"ammon.boltz.cs.cmu.edu:10.0\") '()
'quick)")
# (condition-case ... . error)
# bind (inhibit-quit)
# (condition-case ... . error)
# (catch top-level ...)
----------------------------------------------------------------
And here is the trace from gdb:
(gdb) where
#0 0x403d2da1 in kill () from /lib/libc.so.6
#1 0x080b26c9 in fatal_error_signal ()
#2 <signal handler called>
#3 0x403d2da1 in kill () from /lib/libc.so.6
#4 0x403d2b6c in raise () from /lib/libc.so.6
#5 0x403d3d95 in abort () from /lib/libc.so.6
#6 0x080b4652 in assert_failed ()
#7 0x0818f0f7 in x_IO_error_handler ()
#8 0x4027649f in _XIOError () from /usr/X11R6/lib/libX11.so.6
#9 0x40273bbc in _XRead () from /usr/X11R6/lib/libX11.so.6
#10 0x402659fb in XOpenDisplay () from /usr/X11R6/lib/libX11.so.6
#11 0x0818e3a3 in decode_x_device ()
#12 0x080a61e9 in Fmake_device ()
#13 0x080b9a31 in Ffuncall ()
#14 0x08093e88 in funcall_compiled_function ()
#15 0x08093a4b in funcall_compiled_function ()
#16 0x080b996b in Ffuncall ()
#17 0x08093e88 in funcall_compiled_function ()
#18 0x08093a4b in funcall_compiled_function ()
#19 0x080b92a4 in Feval ()
#20 0x080b9a08 in Ffuncall ()
#21 0x08093e88 in funcall_compiled_function ()
#22 0x08096bc0 in Fbyte_code ()
#23 0x080b93dc in Feval ()
#24 0x080b6d0d in condition_case_1 ()
#25 0x080b6eb6 in condition_case_3 ()
#26 0x08094bda in execute_rare_opcode ()
#27 0x08093cca in funcall_compiled_function ()
#28 0x08093a4b in funcall_compiled_function ()
#29 0x080b996b in Ffuncall ()
#30 0x080ba7cd in call2 ()
#31 0x080bb503 in call0_trapping_errors ()
#32 0x080b6d0d in condition_case_1 ()
#33 0x080bb77a in call2_trapping_errors ()
#34 0x081517f5 in read_process_output ()
#35 0x080f08f9 in wait_delaying_user_input ()
#36 0x080efc4c in Fnext_command_event ()
#37 0x080b9a1c in Ffuncall ()
#38 0x08093e88 in funcall_compiled_function ()
#39 0x08096bc0 in Fbyte_code ()
#40 0x080b93dc in Feval ()
#41 0x080b69bc in internal_catch ()
#42 0x08094ba5 in execute_rare_opcode ()
#43 0x08093cca in funcall_compiled_function ()
#44 0x08093a4b in funcall_compiled_function ()
#45 0x080b996b in Ffuncall ()
#46 0x08093e88 in funcall_compiled_function ()
#47 0x08093a4b in funcall_compiled_function ()
#48 0x080b996b in Ffuncall ()
#49 0x08093e88 in funcall_compiled_function ()
#50 0x08093a4b in funcall_compiled_function ()
#51 0x080b92a4 in Feval ()
#52 0x080b6d0d in condition_case_1 ()
#53 0x0809e5f0 in Freally_early_error_handler ()
#54 0x080b69bc in internal_catch ()
#55 0x0809e6f5 in initial_command_loop ()
#56 0x080b2eaa in xemacs_21_4_4_i686_pc_linux ()
#57 0x080b3e33 in main ()
#58 0x403c162d in __libc_start_main () from /lib/libc.so.6
----------------------------------------------------------------
uname -a: Linux
i386-rh71.sp.cs.cmu.edu 2.4.7 #2-GENERIC-001 Wed Aug 1 15:46:26 EDT 2001
i686 unknown
/afs/.cs.cmu.edu/misc/xemacs/src/core/xemacs-21.4.4/configure
'--prefix=/usr/local' '--extra-verbose' '--with-gnu-make'
'--with-mule' '--with-pop' '--with-gif=yes'
'--site-prefixes=/afs/cs.cmu.edu/misc/xemacs/src/aux:/usr/local'
'--archlibdir=\${libdir}/\${PROGNAME}-\${version}/lib-src'
'--bindir=\${libdir}/\${PROGNAME}-\${version}/bin'
'--mandir=\${libdir}/\${PROGNAME}-\${version}/man/man1'
'--compiler=/usr/local/bin/gcc' '--cflags=-O2 -Wall -DCMU -DCMUCS'
'--site-runtime-libraries=/usr/local/lib' '--with-xim=xlib'
'--compiler=/usr/local/libexec/gcc-3.0.1/bin/gcc'
XEmacs 21.4.4 "Artificial Intelligence" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location: /afs/.cs.cmu.edu/misc/xemacs/src/core/xemacs-21.4.4
Installation prefix: /usr/local
Additional prefixes: /afs/cs.cmu.edu/misc/xemacs/src/aux /usr/local
Runtime library search path: /usr/local/lib
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: /usr/local/libexec/gcc-3.0.1/bin/gcc -O2 -Wall -DCMU
-DCMUCS
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.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif 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.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
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.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.