Xemacs Crash when I press C-x-c
20 years, 12 months
Leo Cheu
Hi,
I got a crash when I quit the xemacs by press C-x-c.
The following is the output after the crash. I include the installation
description and gdb backtrace as well.
Good luck.
=========================================================
Warning: XmFontListCreate() is an obsolete function!
Warning: XtRemoveGrab asked to remove a widget not on the list
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(a)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/bin/xemacs 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:
kill-emacs()
# bind (arg)
save-buffers-kill-emacs(nil)
# bind (command-debug-status)
call-interactively(save-buffers-kill-emacs)
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault
========================
Installation description
uname -a: Linux leo 2.6.0-test9-mm5 #1 Wed Nov 26 23:21:28 PST 2003 i686
Pentium III (Coppermine) GenuineIntel GNU/Linux
./configure '--with-widgets=motif' '--with-dialogs=motif'
'--with-scrollbars=motif' '--with-menubars=lucid' '--with-gif=no'
'--with-tiff' '--with-png' '--with-jpeg' '--without-xface' '--with-gpm'
'--with-postgresql' '--without-ldap' '--with-mule' '--with-xim=motif'
'--without-canna' '--without-wnn' '--with-sound=native'
'--with-database=gnudbm' '--prefix=/usr' '--with-pop' '--with-ncurses'
'--with-msw=no' '--mail-locking=flock' '--with-site-lisp=yes'
'--with-site-modules=yes'
XEmacs 21.4.12 "Portable Code" configured for `i686-pc-linux'.
Compilation / Installation:
Source code location:
/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12
Installation prefix: /usr
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler: gcc -O3 -march=pentium3
-fprefetch-loop-arrays -funroll-loops -pipe
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 Motif 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 XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU DBM.
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.
Mail:
Compiling in support for POP mail retrieval.
Compiling in support for "flock" 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.
==========================
gdb /usr/bin/xemacs core
GNU gdb 5.3
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 "i686-pc-linux-gnu"...(no debugging symbols
found)...
Core was generated by `xemacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXm.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libXm.so.2
Reading symbols from /usr/lib/libtiff.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpng.so.3
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libXmu.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/lib/libgdbm.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /usr/lib/libgpm.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgpm.so.1
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libpq.so.3...done.
Loaded symbols for /usr/lib/libpq.so.3
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/X11R6/lib/libXp.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXp.so.6
Reading symbols from /usr/lib/libssl.so.0.9.6...done.
Loaded symbols for /usr/lib/libssl.so.0.9.6
Reading symbols from /usr/lib/libcrypto.so.0.9.6...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/libXau.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.6
Reading symbols from
/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from
/usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
#0 0x404da2e1 in kill () from /lib/libc.so.6
(gdb) where
#0 0x404da2e1 in kill () from /lib/libc.so.6
#1 0x080bc4ab in fatal_error_signal ()
#2 <signal handler called>
#3 0x4009f8a4 in YowIter () from /usr/X11R6/lib/libXm.so.2
#4 0x4009e0eb in _LTHashTableForEachItem () from
/usr/X11R6/lib/libXm.so.2
#5 0x4009f6da in _LtImageCacheScreenDestroy () from
/usr/X11R6/lib/libXm.so.2
#6 0x400ebfe3 in destroy () from /usr/X11R6/lib/libXm.so.2
#7 0x402c501f in Phase2Destroy () from /usr/X11R6/lib/libXt.so.6
#8 0x402c4da4 in Recursive () from /usr/X11R6/lib/libXt.so.6
#9 0x402c48cb in XtPhase2Destroy () from /usr/X11R6/lib/libXt.so.6
#10 0x402c4a8c in _XtDoPhase2Destroy () from /usr/X11R6/lib/libXt.so.6
#11 0x402c4c62 in XtDestroyWidget () from /usr/X11R6/lib/libXt.so.6
#12 0x402c6559 in CloseDisplay () from /usr/X11R6/lib/libXt.so.6
#13 0x402c5d69 in XtCloseDisplay () from /usr/X11R6/lib/libXt.so.6
#14 0x081e3818 in reinit_vars_of_device_x ()
#15 0x080abf9a in delete_device_internal ()
#16 0x080a358d in delete_console_internal ()
#17 0x080bfe36 in Fkill_emacs ()
#18 0x080c2eff in Ffuncall ()
#19 0x08091dcd in funcall_compiled_function ()
#20 0x08091958 in funcall_compiled_function ()
#21 0x080c2deb in Ffuncall ()
#22 0x08095ace in Fcall_interactively ()
#23 0x080c1c98 in Fcommand_execute ()
#24 0x0810e020 in complex_vars_of_event_stream ()
#25 0x0810a2de in Fdispatch_event ()
#26 0x080a14b1 in Fcommand_loop_1 ()
#27 0x080c0b43 in condition_case_1 ()
#28 0x080a19bc in syms_of_cmdloop ()
#29 0x080c09fc in internal_catch ()
#30 0x080a1188 in initial_command_loop ()
#31 0x080bd53a in xemacs_21_4_12_i686_pc_linux ()
#32 0x080be73e in main ()
#33 0x404c690c in __libc_start_main () from /lib/libc.so.6
-.-. .... . -. -.--.- .-.. . --- -.--.- .... .- ---
Why use Windows, since there is a door?
Hao (Leo) Chen
Computing Science Dept.
Communication Network Laboratory
Simon Fraser University
http://haochen.net