This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
Here's a way to crash xemacs if you write broken lisp (I know why it's
broken and how to fix it):
GNU gdb 19981224
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.7"...
(gdb) run -vanilla -eval ' (do (result 1 (+ result result)) (counter 8 (- counter 1)) ((> counter 0) result))'
Starting program: /space/xemacs/bin/xemacs -vanilla -eval ' (do (result 1 (+ result result)) (counter 8 (- counter 1)) ((> counter 0) result))'
Program received signal SIGSEGV, Segmentation fault.
Flet (args=4678572) at eval.c:911
911 eval.c: No such file or directory.
(gdb) where
#0 Flet (args=4678572) at eval.c:911
#1 0x7f684 in Feval (form=4678560) at eval.c:3304
#2 0x84258 in Fprogn (args=4678380) at eval.c:775
#3 0x83e84 in internal_catch (tag=3581036, func=0x84204 <Fprogn>,
arg=4678380, threw=0x0) at eval.c:1317
#4 0x84888 in Fcatch (args=4678104) at eval.c:1277
#5 0x7f684 in Feval (form=4678092) at eval.c:3304
#6 0x7f6dc in Feval (form=4678068) at eval.c:3319
#7 0x7fa88 in Feval (form=4678404) at eval.c:3409
#8 0x7fa88 in Feval (form=4696344) at eval.c:3409
#9 0x7fe50 in Ffuncall (nargs=1, args=0xffbee6cc) at eval.c:3528
#10 0x54d04 in execute_optimized_program (program=0x527039 "\207",
stack_depth=1, constants_data=0x339690) at bytecode.c:746
#11 0x5495c in funcall_compiled_function (fun=3500428, nargs=1,
args=0xffbee8a0) at bytecode.c:515
#12 0x80030 in Ffuncall (nargs=1, args=0xffbee89c) at eval.c:3563
#13 0x54d04 in execute_optimized_program (
program=0x52ca93 "\210╙\036вь\r\"╚\aы\r!\023╙\022\rз\230╛\006\rш\230╚\006с\026 ╙\003с\024\f╚╝х\024\tT\021э\r\016#\"\025\tжU╚\aщ\r!\210╙\017\016!╚\aщ\r!\210╙\005ч\r!\210\013╚\207ъ\013!\210х\023\202\177Ъ.\a\207", stack_depth=1,
constants_data=0x34a110) at bytecode.c:746
#14 0x5495c in funcall_compiled_function (fun=3501072, nargs=0,
args=0xffbeea78) at bytecode.c:515
#15 0x80030 in Ffuncall (nargs=0, args=0xffbeea74) at eval.c:3563
#16 0x54d04 in execute_optimized_program (
program=0x460a64 "\210в\026 ю ╜\004щг!)\207", stack_depth=0,
constants_data=0x34a210) at bytecode.c:746
#17 0x5495c in funcall_compiled_function (fun=3500652, nargs=0,
args=0xffbeec48) at bytecode.c:515
#18 0x80030 in Ffuncall (nargs=0, args=0xffbeec44) at eval.c:3563
#19 0x54d04 in execute_optimized_program (
program=0x40979d "\210)\016+╜\003Ю \207", stack_depth=0,
constants_data=0x34a410) at bytecode.c:746
#20 0x5495c in funcall_compiled_function (fun=3500596, nargs=0,
args=0xffbeed70) at bytecode.c:515
#21 0x7f9c8 in Feval (form=3467556) at eval.c:3388
#22 0x7c064 in condition_case_1 (handlers=2136164, bfun=0x7f250 <Feval>,
barg=3467556, hfun=0x5eb44 <cmd_error>, harg=2136068) at eval.c:1651
#23 0x5ebd4 in top_level_1 (dummy=1957888) at cmdloop.c:206
#24 0x83e84 in internal_catch (tag=2216108, func=0x5eb98 <top_level_1>,
arg=2136068, threw=0x0) at eval.c:1317
#25 0x5e2c0 in initial_command_loop (load_me=2136068) at cmdloop.c:285
#26 0x78cb8 in sort_args (argc=1933312, argv=0xffbef26c) at emacs.c:2344
(gdb) quit
The program is running. Exit anyway? (y or n)
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS puma 5.7 Generic_106541-15 sun4u sparc SUNW,UltraSPARC-IIi-Engine
./configure '--prefix=/space/xemacs'
XEmacs 21.4.4 "Artificial Intelligence" configured for `sparc-sun-solaris2.7'.
Compilation / Installation:
Source code location: /space/kde/xemacs-21.4.4
Installation prefix: /space/xemacs
Runtime library search path: /usr/ccs/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -Wsign-compare -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/X11R6/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Xau (X authority) not available.
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
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.
Sound:
Databases:
Compiling in support for GNU DBM.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Installed XEmacs Packages:
-------------------------
((xemacs-base :version 1.55 :type regular)
(vm :version 6.95 :type regular)
(vc :version 1.28 :type regular)
(time :version 1.11 :type regular)
(text-modes :version 1.32 :type single-file)
(supercite :version 1.17 :type regular)
(speedbar :version 1.21 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.06 :type regular)
(psgml :version 1.23 :type regular)
(prog-modes
:version
1
.4
:type
single-file)
(pcl-cvs :version 1.55 :type regular)
(os-utils :version 1.25 :type single-file)
(net-utils :version 1.2 :type single-file)
(mail-lib :version 1.39 :type regular)
(jde :version 1.27 :type regular)
(ispell :version 1.23 :type regular)
(igrep :version 1.08 :type regular)
(hm--html-menus :version 1.16 :type regular)
(fsf-compat :version 1.09 :type single-file)
(eshell :version 1.01 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.08 :type single-file)
(eieio :version 1.01 :type regular)
(efs :version 1.26 :type regular)
(edit-utils :version 1.65 :type single-file)
(ediff :version 1.31 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(cc-mode :version 1.25 :type regular)
(calendar :version 1.16 :type regular)
(c-support :version 1.16 :type single-file)
(bbdb :version 1.13 :type regular))
Features:
--------
(mail-abbrevs xemacsbug sendmail vm-virtual bbdb-gui vm-minibuf
vm-imap highlight-headers vm-page vm-mime vm-save vm-toolbar
vm-summary tapestry vm-motion vm-message vm-menu vm-folder efs-cu
vm-misc vm-mouse vm-window bbdb-vm bbdb-snarf bbdb-com bbdb timezone
vm-autoload vm-vars vm-version vm vm-startup vc-hooks psgml-xemacs
sgml-mode psgml gnuserv time cus-face supercite mail-extr regi
xemacs-base-autoloads vm-autoloads vc-autoloads time-autoloads
text-modes-autoloads supercite-autoloads speedbar-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads psgml-autoloads
prog-modes-autoloads pcl-cvs-autoloads os-utils-autoloads
net-utils-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
igrep-autoloads hm--html-menus-autoloads fsf-compat-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
efs-autoloads edit-utils-autoloads ediff-autoloads dired-autoloads
debug-autoloads cc-mode-autoloads calendar-autoloads
c-support-autoloads bbdb-autoloads lisp-autoloads loadhist auto-show
fontl-hooks x-iso8859-1 gutter-items menubar-items x-menubar
mode-motion mouse itimer auto-save lisp-mode easymenu iso8859-1 page
buff-menu lib-complete help-nomule cus-file derived frame text-props
obsolete cus-start custom widget cl-extra mini-cl cl cl-19 packages
backquote very-early-lisp tooltalk lucid-scrollbars cut-buffer
lucid-menubars motif-dialogs x c-balloon-help tty-frames tty toolbar
scrollbar unix-processes multicast network-streams subprocesses
modules menu-accelerator-support menubar dbm md5 xemacs gutter png gif
jpeg xpm xbm lisp-float-type usg-unix-v dialog devices window-system
base64)