Xeamcs 21.4.8 crashes while doing M-x eval-print-last-sexp
on a form in the *scratch* buffer. This is repeatable in
a fresh emacs.
To repeat:
1. Enter the following form in the *scratch* buffer:
(let (n 3) (print n))
2. Place cursor after the final close-paren
3. Type M-x eval-print-last-sexp
The output of M-x describe-distribution, the lisp backtrace, and
the C backtrace from the core file follow.
eval-print-last-sexp has not been modified from the standard distribution:
`eval-print-last-sexp' is an interactive compiled Lisp function
-- loaded from "/sandbox/mgleeson/xemacs-21.4.8/lisp/lisp-mode.elc"
(eval-print-last-sexp)
Documentation:
Evaluate sexp before point; print value into current buffer.
uname -a: SunOS dev26 5.6 Generic_105181-29 sun4u sparc
./configure '--prefix=/home/mgleeson' '--site-prefixes=/home/mgleeson' '--with-dialogs=no' '--with-widgets=no'
XEmacs 21.4.8 "Honest Recruiter" configured for `sparc-sun-solaris2.6'.
Compilation / Installation:
Source code location: /sandbox/mgleeson/xemacs-21.4.8
Installation prefix: /home/mgleeson
Additional prefixes: /home/mgleeson
Runtime library search path: /home/mgleeson/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wsign-compare -Wshadow -Wpointer-arith
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.
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.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Compiling in support for NAS (network audio system).
Databases:
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 dynamic shared object modules.
[art@dev26 art]$
Fatal error (11).
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 /home/mgleeson/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:
(let (n 3) (print n))
eval((let (n 3) (print n)))
# bind (expr)
eval-interactive((let (n 3) (print n)))
# bind (standard-output opoint ignore-quotes eval-last-sexp-arg-internal)
eval-last-sexp(t)
# bind (standard-output)
#<compiled-function nil "...(13)" [standard-output terpri eval-last-sexp t] 2 984488 nil>()
call-interactively(eval-print-last-sexp)
command-execute(eval-print-last-sexp t)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
Current directory is /home/mgleeson/bin/
GNU gdb 4.17
Copyright 1998 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.6"...
(gdb) core /home/art/core
Core was generated by `/home/mgleeson/bin/xemacs'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /home/mgleeson/lib/libaudio.so.1.4...done.
Reading symbols from /usr/dt/lib/libtt.so.2...done.
Reading symbols from /usr/openwin/lib/libXmu.so.4...done.
Reading symbols from /usr/openwin/lib/libXt.so.4...done.
Reading symbols from /usr/openwin/lib/libXext.so.0...done.
Reading symbols from /usr/openwin/lib/libX11.so.4...done.
Reading symbols from /usr/lib/libkstat.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/openwin/lib/libSM.so.6...done.
Reading symbols from /usr/openwin/lib/libICE.so.6...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1...done.
#0 0xef38a5f0 in _kill ()
(gdb) where
#0 0xef38a5f0 in _kill ()
#1 0x7aaf0 in fatal_error_signal (sig=11) at emacs.c:539
#2 <signal handler called>
#3 Flet (args=20745156) at eval.c:911
#4 0x82e0c in Feval (form=20745120) at eval.c:3304
#5 0x835d8 in Ffuncall (nargs=1, args=0xefffe30c) at eval.c:3528
#6 0x585c8 in execute_optimized_program (program=0x146236e "\207map",
stack_depth=1, constants_data=0x3f0390) at bytecode.c:746
#7 0x58220 in funcall_compiled_function (fun=2665460, nargs=1,
args=0xefffe4e4) at bytecode.c:515
#8 0x837b8 in Ffuncall (nargs=1, args=0xefffe4e0) at eval.c:3563
#9 0x585c8 in execute_optimized_program (
program=0x1462462 "!+\207relsymlink-regexp", stack_depth=1,
constants_data=0x3f0310) at bytecode.c:746
#10 0x58220 in funcall_compiled_function (fun=2665488, nargs=1,
args=0xefffe6c0) at bytecode.c:515
#11 0x837b8 in Ffuncall (nargs=1, args=0xefffe6bc) at eval.c:3563
#12 0x585c8 in execute_optimized_program (program=0x1414738 "\210Á )\207",
stack_depth=1, constants_data=0x3ef130) at bytecode.c:746
#13 0x58220 in funcall_compiled_function (fun=2665432, nargs=0,
args=0xefffe8f0) at bytecode.c:515
#14 0x837b8 in Ffuncall (nargs=0, args=0xefffe8ec) at eval.c:3563
#15 0x86d44 in apply1 (fn=2665432, arg=2394116) at eval.c:4152
#16 0x5c0f8 in Fcall_interactively (function=4213796, record_flag=2394140,
keys=2394116) at callint.c:397
#17 0x82550 in Fcommand_execute (cmd=4213796, record_flag=2394140,
keys=2394116) at eval.c:2970
#18 0x83604 in Ffuncall (nargs=-1, args=0xefffec04) at eval.c:3528
#19 0x585c8 in execute_optimized_program (
program=0x6eba51 "\210\0138\b¬\023Ñ Ò a«\aÓ pa«\006Ô \210ª\004Õ \210Ö×!\eØÙË\013A«\004Úª\002Û\nÜ\013!#\"\210Ö\016\036!\210ÝÙ!*\207Ï\fÐ\"\2075",
stack_depth=2, constants_data=0x308810) at bytecode.c:746
#20 0x58220 in funcall_compiled_function (fun=3188540, nargs=1,
args=0xefffeddc) at bytecode.c:515
#21 0x837b8 in Ffuncall (nargs=1, args=0xefffedd8) at eval.c:3563
#22 0x5d40c in Fcall_interactively (function=3230156, record_flag=2394116,
keys=2394116) at callint.c:940
#23 0x82550 in Fcommand_execute (cmd=3230156, record_flag=2394116,
keys=2394116) at eval.c:2970
#24 0xaf30c in execute_command_event (command_builder=0x4dee80, event=15432728)
at event-stream.c:3915
#25 0xaf950 in Fdispatch_event (event=20346884) at event-stream.c:4199
#26 0x620e8 in Fcommand_loop_1 () at cmdloop.c:583
#27 0x62350 in command_loop_1 (dummy=2394116) at cmdloop.c:494
#28 0x7f7ec in condition_case_1 (handlers=2394212,
bfun=0x62334 <command_loop_1>, barg=2394116, hfun=0x623b0 <cmd_error>,
harg=2394116) at eval.c:1651
#29 0x624c0 in command_loop_2 (dummy=2394116) at cmdloop.c:256
#30 0x8760c in internal_catch (tag=2474156, func=0x62474 <command_loop_2>,
arg=2394116, threw=0x0) at eval.c:1317
#31 0x61c94 in initial_command_loop (load_me=2394116) at cmdloop.c:305
#32 0x7c43c in sort_args (argc=2184192, argv=0xeffff60c) at emacs.c:2353
#33 0x7e070 in voodoo_free_hook (mem=0x1) at emacs.c:2782
(gdb)