Using the latest build if the following steps result in a crash:
Tools -> Packages -> Add Download Site -> Pre-Release;
Tools -> Packages -> Update Package Index |
Load package-get database:
/ftp.xemacs.org:pub/xemacs/beta/experimental/packages/package-index.LATEST.pgp
| click OK
CRASH!
The build report is available on the build-reports(a)xemacs.org mailing list.
This is what the crash and core debug looks like:
baldur:~ # xemacs
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 /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:
delete-frame(#<x-frame "emacs" 0x16f6>)
byte-code("..." [butbuf filebuf frame dirbuf kill-local-variable
delete-frame-
hook delete-frame kill-buffer] 2)
# bind (user-data dirwin filewin frame butbuf dirbuf filebuf file-p
completer
initial-contents must-match default dir prompt history)
mouse-read-file-name-1(file-name-history "Load package-get database: "
"/anony
mous@ftp.xemacs.org:pub/xemacs/beta/experimental/packages/"
"/anonymous(a)ftp.xema
cs.org:pub/xemacs/beta/experimental/packages/package-index.LATEST.pgp" t
"packag
e-index.LATEST.pgp" read-file-name-internal)
byte-code("..." [initial-contents must-match default dir prompt history
mouse-
read-file-name-1 completer] 8)
# bind (completer initial-contents must-match default dir prompt history)
read-file-name-1(file-name-history "Load package-get database: "
"/anonymous@f
tp.xemacs.org:pub/xemacs/beta/experimental/packages/"
"/anonymous(a)ftp.xemacs.org
:pub/xemacs/beta/experimental/packages/package-index.LATEST.pgp" t
"package-inde
x.LATEST.pgp" read-file-name-internal)
# bind (history initial-contents must-match default dir prompt)
read-file-name("Load package-get database: "
"/anonymous@ftp.xemacs.org:pub/xe
macs/beta/experimental/packages/"
"/anonymous@ftp.xemacs.org:pub/xemacs/beta/exp
erimental/packages/package-index.LATEST.pgp" t "package-index.LATEST.pgp")
(list (read-file-name "Load package-get database: " (file-name-directory
dflt)
dflt t (file-name-nondirectory dflt)))
# bind (dflt)
(let ((dflt ...)) (list (read-file-name "Load package-get database: " ...
dflt
t ...)))
call-interactively(package-get-update-base)
# (condition-case ... . error)
# (catch top-level ...)
Segmentation fault (core dumped)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
baldur:~ # gdb `which xemacs` core
GNU gdb 20010316
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-suse-linux"...
Core was generated by `xemacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/X11R6/lib/libXm.so.2...done.
Loaded symbols for /usr/X11R6/lib/libXm.so.2
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 /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
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 /usr/lib/libdb-3.1.so...done.
Loaded symbols for /usr/lib/libdb-3.1.so
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /usr/lib/libgpm.so.1...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 /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 /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/xlcDef.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/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_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/ximcp.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/common/xomGeneric.so.2
#0 0x4050c861 in kill () from /lib/libc.so.6
(gdb) where
#0 0x4050c861 in kill () from /lib/libc.so.6
#1 0x080c0de3 in fatal_error_signal (sig=11) at emacs.c:535
#2 <signal handler called>
#3 0x402c5f22 in XtIsSubclass () from /usr/X11R6/lib/libXt.so.6
#4 0x402c6e8c in XtDisplayOfObject () from /usr/X11R6/lib/libXt.so.6
#5 0x4014ab51 in unset_current_xic () from /usr/X11R6/lib/libXm.so.2
#6 0x401480e6 in _XmImFreeShellData () from /usr/X11R6/lib/libXm.so.2
#7 0x40150fe8 in Destroy () from /usr/X11R6/lib/libXm.so.2
#8 0x402bbc00 in Phase2Destroy () from /usr/X11R6/lib/libXt.so.6
#9 0x402bba1e in Recursive () from /usr/X11R6/lib/libXt.so.6
#10 0x402bbf69 in XtPhase2Destroy () from /usr/X11R6/lib/libXt.so.6
#11 0x402bc06d in _XtDoPhase2Destroy () from /usr/X11R6/lib/libXt.so.6
#12 0x402bc219 in XtDestroyWidget () from /usr/X11R6/lib/libXt.so.6
#13 0x0820ea1f in x_delete_frame (f=0x8645de8) at frame-x.c:2685
#14 0x081522a1 in delete_frame_internal (f=0x8645de8, force=0,
called_from_delete_device=0, from_io_error=0) at frame.c:1533
#15 0x08152953 in Fdelete_frame (frame=140795368, force=1080339384) at
frame.c:1682
#16 0x080ca5dc in Ffuncall (nargs=2, args=0xbfffe350) at eval.c:3528
#17 0x08097673 in execute_optimized_program (
program=0xbfffe3ac
"ÄÅ!\210Æ\n!\210Ç\t!\210Ç\b!\210\013«\005Ç\013!\210Ä\207ýc\b\a,\211\031\002",
stack_depth=2,
constants_data=0x406da7ec) at bytecode.c:746
#18 0x0809ac5b in Fbyte_code (instructions=1081241232, constants=1080928220,
stack_depth=5) at bytecode.c:2405
#19 0x080c9b56 in Feval (form=1080698340) at eval.c:3331
#20 0x080d0e3a in Fprogn (args=1080698352) at eval.c:775
#21 0x080cd5cd in unbind_to_hairy (count=22) at eval.c:4974
#22 0x08097739 in execute_optimized_program (
program=0x8645090 "\0161Æa\032ÇÈ!\034\n\004ÉÊ!\031ÉÊ!\030Ë
\035Ì\211\e\036.Ì\0362Í\216Î\f!\210Ï\r!\210Ð\0364ÑÌÒ\r!ÓZ\"\210)\n«\eÔÕ!\210Ö\r!\023×\r!\026.Ø\013\f\"\210Ø\016.\t\"\210ª\nÙ\r!\023Ø\013\f\"\210\f\t\013\016.F\0262ØÚ\r!\b\"\210Û\036/\fq\210ÜÝ\016/\"\210\n«\n\tq\210ÜÝ\016/\"\210)Þßà\"\210\bq\210á\0163!\210\0160«\005\0160\0265âã!«\bä\0166å\b#\210æc\210çèéê\"!\210æc\210çèëì\"!\210í\0167\0163\0160\0168\0169\016:\0161"...,
stack_depth=9, constants_data=0x406da9a4) at bytecode.c:759
#23 0x08097275 in funcall_compiled_function (fun=1081346472, nargs=7,
args=0xbfffe744) at bytecode.c:518
#24 0x080ca77f in Ffuncall (nargs=8, args=0xbfffe740) at eval.c:3563
#25 0x08097673 in execute_optimized_program (
program=0xbfffe7bc
"Æ\r\f\013\n\t\b\016\a&\a\207È¥\f\bÌÍZ\bÔ0a@ôçÿ¿~Õ\f\b¤èÿ¿°èÿ¿¸«d@\211U\b\b¸«d@È&j@\féÿ¿¼çÿ¿\f",
stack_depth=8,
constants_data=0x406daaa0) at bytecode.c:746
#26 0x0809ac5b in Fbyte_code (instructions=1081241616, constants=1080928912,
stack_depth=17) at bytecode.c:2405
#27 0x080c9b56 in Feval (form=1080698580) at eval.c:3331
#28 0x080c6329 in run_condition_case_handlers (val=140564620, var=1080339384)
at eval.c:775
#29 0x080c67a7 in condition_case_3 (bodyform=1080699468, var=1080339384,
handlers=1080698616) at eval.c:1634
#30 0x0809815f in execute_rare_opcode (stack_ptr=0xbfffeaf8,
program_ptr=0x83c4438 "\207ÊËÌ\"\210Í\r\f\013\n\t\b\016\016&\a\207/e9",
opcode=Bcondition_case) at bytecode.c:1271
#31 0x0809745e in execute_optimized_program (program=0x83c4430 "Æ
«\006ÇÈÉ\217\207ÊËÌ\"\210Í\r\f\013\n\t\b\016\016&\a\207/e9",
stack_depth=8, constants_data=0x406dafc0) at bytecode.c:656
#32 0x08097275 in funcall_compiled_function (fun=1081347060, nargs=7,
args=0xbfffec54) at bytecode.c:518
#33 0x080ca77f in Ffuncall (nargs=8, args=0xbfffec50) at eval.c:3563
#34 0x08097673 in execute_optimized_program (
program=0x851a570 "Æ\013®\002Ç\n\f\t®\025\r«\nÈÉ\r\f\"Ê\"®\t\b
\006È\016\fÊ\"\016\r\rË&\a\207«d@¸«d@¸«d@H", stack_depth=8,
constants_data=0x406d8228) at bytecode.c:746
#35 0x08097275 in funcall_compiled_function (fun=1081342552, nargs=5,
args=0xbfffed1c) at bytecode.c:518
#36 0x080c9e8b in Feval (form=138591912) at eval.c:3388
#37 0x080c9c09 in Feval (form=138591900) at eval.c:3348
#38 0x080c56a9 in Flet (args=138591888) at eval.c:775
#39 0x080c9a06 in Feval (form=138591684) at eval.c:3304
#40 0x0809b743 in Fcall_interactively (function=1080205752,
record_flag=1080339384, keys=1080339384) at callint.c:339
#41 0x080ca5f1 in Ffuncall (nargs=2, args=0xbffff338) at eval.c:3528
#42 0x080cffba in call1 (fn=1080313752, arg0=1080205752) at eval.c:4183
#43 0x081212c0 in execute_command_event (command_builder=0x8478398,
event=139954856) at event-stream.c:3830
#44 0x08121f5e in Fdispatch_event (event=139954856) at event-stream.c:4165
#45 0x080a7214 in Fcommand_loop_1 () at cmdloop.c:583
#46 0x080a74ce in command_loop_1 (dummy=1080339384) at cmdloop.c:494
#47 0x080d0b27 in condition_case_1 (handlers=1080339024, bfun=0x80a7490
<command_loop_1>, barg=1080339384, hfun=0x80a7550 <cmd_error>,
harg=1080339384) at eval.c:1651
#48 0x080a764f in command_loop_2 (dummy=1080339384) at cmdloop.c:256
#49 0x080d09ec in internal_catch (tag=1080145824, func=0x80a7610
<command_loop_2>, arg=1080339384, threw=0x0) at eval.c:1317
#50 0x080a6a76 in initial_command_loop (load_me=1080339384) at cmdloop.c:305
#51 0x080c1fe6 in xemacs_21_2_b46_i686_pc_linux () at emacs.c:2344
#52 0x080c40f7 in main (argc=1, argv=0xbffff7b4, envp=0xbffff7bc) at
emacs.c:2711
#53 0x404fb7ee in __libc_start_main () from /lib/libc.so.6
(gdb)