I had an xemacs session crash on me just now. I hit 'q' to exit a VM
saved mail folder (not my primary INBOX), and xemacs stared to save the
file. As it was a large file, I Alt-TAB'd to another application while
it was saving. A second or two later xemacs crashed. Below are more
details, separated by lines of hyphens.
-- Bhaskar
----------------------------------------
Here is what appeared on the console from which I launched the xemacs
process:
Fatal error: assertion failed, file eval.c, line 1877, abort()
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/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.)
Fatal error: assertion failed, file eval.c, line 1877, abort()
----------------------------------------
Here is the output of describe-installation:
uname -a: Linux
stripples.devel.redhat.com 2.4.7-0.13.1smp #1 SMP Fri Aug 10
15:48:51 EDT 2001 i686 unknown
./configure 'i386-redhat-linux' '--prefix=/usr'
'--exec-prefix=/usr'
'--bindir=/usr/bin' '--datadir=/usr/share' '--libdir=/usr/lib'
'--mandir=/usr/share/man/man1' '--infodir=/usr/share/info'
'--with-gpm=no'
'--with-sound=native' '--with-pop' '--mail-locking=lockf'
'--with-clash-detection' '--debug=no' '--error-checking=none'
'--lockdir=/var/lock/xemacs' '--with-mule=yes'
'--with-database=no'
'--with-ldap=yes' '--with-hesiod=no' '--with-canna=yes'
'--with-wnn=yes'
'--with-wnn6=yes' '--with-menubars=lucid'
'--with-scrollbars=lucid'
'--with-dialogs=athena3d' '--with-xim=xlib' '--with-msw=no'
'--with-xfs=yes'
XEmacs 21.1.14 "Cuyahoga Valley" configured for `i386-redhat-linux-gnu'.
Where should the build process find the source code?
/usr/src/build/46827-i386/BUILD/xemacs-21.1.14
What installation prefix should install use? /usr
What operating system and machine description files should XEmacs use?
`s/linux.h' and `m/intel386.h'
What compiler should XEmacs be built with? gcc -O2
-march=i386 -mcpu=i686
Should XEmacs use the GNU version of malloc? yes
(Using Doug Lea's new malloc from the GNU C Library.)
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/X11R6/include
Where do we find X Windows libraries? /usr/X11R6/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for PNG image handling.
Compiling in support for (builtin) GIF image handling.
Compiling in support for JPEG image handling.
Compiling in support for TIFF image handling.
Compiling in native sound support.
Compiling in support for LDAP.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Using XFontSet to provide bilingual menubar.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Using WNN version 6.
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena-3d dialog boxes.
Compiling in DLL support.
Clash detection will use "/var/lock/xemacs" for locking files.
movemail will use "lockf" for locking mail spool files.
Using POP for mail access
Using Lisp_Objects with minimal tagbits.
----------------------------------------
Here is the C backtrace information:
bhaskarks ~ 6:05pm 888: gdb /usr/bin/xemacs core
GNU gdb Red Hat Linux (5.1-1)
Copyright 2001 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 "i386-redhat-linux"...
(no debugging symbols found)...
Core was generated by `xemacs -f vm'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libcanna.so.1.0...(no debugging symbols
found)... done.
Loaded symbols for /usr/lib/libcanna.so.1.0
Reading symbols from /usr/lib/libRKC.so.1.0...(no debugging symbols
found)...
done.
Loaded symbols for /usr/lib/libRKC.so.1.0
Reading symbols from /usr/lib/libwnn6.so.1.0...(no debugging symbols
found)...
done.
Loaded symbols for /usr/lib/libwnn6.so.1.0
Reading symbols from /usr/X11R6/lib/libXaw.so.7...
(no debugging symbols found)...done.
Loaded symbols for /usr/X11R6/lib/libXaw.so.7
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng.so.2...done.
Loaded symbols for /usr/lib/libpng.so.2
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/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/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libncurses.so.5...done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /lib/libldap.so.2...done.
Loaded symbols for /lib/libldap.so.2
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /usr/lib/libsasl.so.7...done.
Loaded symbols for /usr/lib/libsasl.so.7
Reading symbols from /usr/kerberos/lib/libkrb4.so.2...done.
Loaded symbols for /usr/kerberos/lib/libkrb4.so.2
Reading symbols from /usr/kerberos/lib/libdes425.so.3...done.
Loaded symbols for /usr/kerberos/lib/libdes425.so.3
Reading symbols from /usr/kerberos/lib/libkrb5.so.3...done.
Loaded symbols for /usr/kerberos/lib/libkrb5.so.3
Reading symbols from /usr/kerberos/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/kerberos/lib/libk5crypto.so.3
Reading symbols from /usr/kerberos/lib/libcom_err.so.3...done.
Loaded symbols for /usr/kerberos/lib/libcom_err.so.3
Reading symbols from /lib/libssl.so.2...done.
Loaded symbols for /lib/libssl.so.2
Reading symbols from /lib/libcrypto.so.2...done.
Loaded symbols for /lib/libcrypto.so.2
Reading symbols from /lib/liblber.so.2...done.
Loaded symbols for /lib/liblber.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
---Type <return> to continue, or q <return> to quit---
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0 0x4040aae1 in __kill () from /lib/i686/libc.so.6
(gdb) where
#0 0x4040aae1 in __kill () from /lib/i686/libc.so.6
#1 0x4040a8ba in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2 0x4040c062 in abort () at ../sysdeps/generic/abort.c:88
#3 0x080a81a7 in Fcall_with_condition_handler ()
#4 0x080a854d in Fsignal ()
#5 0x080a857a in signal_error ()
#6 0x08127df0 in Fprocess_exit_status ()
#7 0x081286c6 in kill_buffer_processes ()
#8 0x080a567a in Fkill_emacs ()
#9 0x080a3d27 in fatal_error_signal ()
#10 <signal handler called>
#11 0x4040aae1 in __kill () from /lib/i686/libc.so.6
#12 0x4040a8ba in raise (sig=6) at ../sysdeps/posix/raise.c:27
#13 0x4040c062 in abort () at ../sysdeps/generic/abort.c:88
#14 0x080a81a7 in Fcall_with_condition_handler ()
#15 0x080a854d in Fsignal ()
#16 0x080a857a in signal_error ()
#17 0x0811c17b in Lstream_flush_out ()
#18 0x0811c2b0 in Lstream_flush ()
#19 0x0811c28d in Lstream_flush_out ()
#20 0x0811c2b0 in Lstream_flush ()
#21 0x0811c94d in Lstream_close ()
#22 0x0808224e in lrecord_type_index ()
---Type <return> to continue, or q <return> to quit---
#23 0x08083114 in free_marker ()
#24 0x080836c0 in garbage_collect_1 ()
#25 0x08083899 in Fgarbage_collect ()
#26 0x080aa282 in funcall_recording_as ()
#27 0x080aa466 in Ffuncall ()
#28 0x08089cc9 in Fbyte_code ()
#29 0x080aae57 in Ffetch_bytecode ()
#30 0x080aa3fb in funcall_recording_as ()
#31 0x080aa466 in Ffuncall ()
#32 0x08089cc9 in Fbyte_code ()
#33 0x080a9d2a in Feval ()
#34 0x080a7dee in condition_case_1 ()
#35 0x080a7f62 in condition_case_3 ()
#36 0x0808a0fb in Fbyte_code ()
#37 0x080aae57 in Ffetch_bytecode ()
#38 0x080aa3fb in funcall_recording_as ()
#39 0x080aa466 in Ffuncall ()
#40 0x08089cc9 in Fbyte_code ()
#41 0x080aae57 in Ffetch_bytecode ()
#42 0x080aa3fb in funcall_recording_as ()
#43 0x080aa466 in Ffuncall ()
#44 0x080ab3c7 in call1 ()
#45 0x080de34a in wait_delaying_user_input ()
---Type <return> to continue, or q <return> to quit---
#46 0x080e0169 in Fdispatch_event ()
#47 0x08091f35 in Fcommand_loop_1 ()
#48 0x080a7dee in condition_case_1 ()
#49 0x08091966 in Freally_early_error_handler ()
#50 0x0809198b in Freally_early_error_handler ()
#51 0x080a7aba in internal_catch ()
#52 0x08091aef in initial_command_loop ()
#53 0x080a4c6b in Finvocation_directory ()
#54 0x080a5400 in main ()
#55 0x403f8627 in __libc_start_main (main=0x80a52f0 <main>, argc=3,
ubp_av=0xbfffe424, init=0x807c3bc <_init>, fini=0x81835a0 <_fini>,
rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbfffe41c)
at ../sysdeps/generic/libc-start.c:129
(gdb) q
----------------------------------------
***************************************************************************
This electronic mail transmission contains confidential and/or privileged
information intended only for the person(s) named. Any use, distribution,
copying or disclosure by another person is strictly prohibited.
***************************************************************************