Hi,
when building xemacs from CVS, it crashes at this point:
[...]
Loading /usr/local/src/xemacs-21.2/lisp/itimer-autosave.elc...
Loading /usr/local/src/xemacs-21.2/lisp/printer.elc...
Loading /usr/local/src/xemacs-21.2/lisp/toolbar.elc...
Loading /usr/local/src/xemacs-21.2/lisp/scrollbar.elc...
Loading /usr/local/src/xemacs-21.2/lisp/menubar.elc...
Loading /usr/local/src/xemacs-21.2/lisp/dialog.elc...
Loading /usr/local/src/xemacs-21.2/lisp/gutter.elc...
Loading /usr/local/src/xemacs-21.2/lisp/gui.elc...
Loading /usr/local/src/xemacs-21.2/lisp/mode-motion.elc...
Loading /usr/local/src/xemacs-21.2/lisp/mouse.elc...
Loading /usr/local/src/xemacs-21.2/lisp/select.elc...
Loading /usr/local/src/xemacs-21.2/lisp/menubar-items.elc...
Loading /usr/local/src/xemacs-21.2/lisp/gutter-items.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-faces.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-iso8859-1.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-mouse.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-select.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-scrollbar.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-misc.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-init.elc...
Loading /usr/local/src/xemacs-21.2/lisp/toolbar-items.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-win-xfree86.elc...
Loading /usr/local/src/xemacs-21.2/lisp/x-win-sun.elc...
Loading /usr/local/src/xemacs-21.2/lisp/tty-init.elc...
Loading /usr/local/src/xemacs-21.2/lisp/fontl-hooks.elc...
Loading /usr/local/src/xemacs-21.2/lisp/auto-show.elc...
Loading /usr/local/src/xemacs-21.2/lisp/loadhist.elc...
Loading /usr/local/src/xemacs-21.2/lisp/loaddefs.elc...
Loading site-load...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name xemacs
Testing for Lisp shadows ...
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/src/xemacs-21.2/src/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:
intern("paths-el-original-news-inews-program")
(let ((origsym ...)) (if (running-temacs-p) (progn ... ...) (and ... ...)))
# bind (value var)
(lambda (var value) (let (...) (if ... ... ...)))(news-inews-program "inews")
funcall((lambda (var value) (let (...) (if ... ... ...))) news-inews-program "inews")
# bind (l)
(let ((l ...)) (funcall l (quote news-inews-program) (cond ... ... ... ... ...)) (funcall l (quote mh-progs) (cond ... ... ... ... ...)) (funcall l (quote mh-libs) (cond ... ... ... ...)) (funcall l (quote rmail-spool-directory) (cond ... ... ... ... ... ...)) (funcall l (quote sendmail-program) (cond ... ... ... ...)) (funcall l (quote remote-shell-program) (cond ... ... ... ... ... ... ... ... ... ... ... ... ...)) (funcall l (quote manual-program) (if ... "/usr/ucb/man" "/usr/bin/man")) (funcall l (quote directory-abbrev-alist) (when ... ...)))
initialize-xemacs-paths()
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
make[1]: *** [xemacs] Segmentation fault (core dumped)
make[1]: *** Deleting file `xemacs'
make[1]: Leaving directory `/usr/local/src/xemacs-21.2/src'
make: *** [src] Error 2
The makefile seems to be running 'xemacs -batch -vanilla -f
list-load-path-shadows' (btw why the @ in the Makefile? I want to see
what it is doing...). If I try this with gdb, I get:
gdb ./xemacs
GNU gdb 19990928
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 "alphaev56-unknown-linux-gnu"...run
(gdb) run -batch -vanilla -f list-load-path-shadows
Starting program: /usr/local/src/xemacs-21.2/src/./xemacs -batch -vanilla -f list-load-path-shadows
Program received signal SIGSEGV, Segmentation fault.
0x120236a40 in Fintern (string=4839586056, obarray=2199023435792)
at symbols.c:175
175 }
(gdb) bt
#0 0x120236a40 in Fintern (string=4839586056, obarray=2199023435792)
at symbols.c:175
#1 0x1200b07ec in Feval (form=4839052928) at eval.c:3014
#2 0x1200aa57c in Flet (args=4839586056) at eval.c:915
#3 0x1200b0630 in Feval (form=4839052880) at eval.c:2986
#4 0x1200b3134 in funcall_lambda (fun=4839052784, nargs=2, args=0x11fffe8d0)
at eval.c:768
#5 0x1200b1928 in Ffuncall (nargs=544618760, args=0x11fffe8c8) at eval.c:3257
#6 0x1200b0a7c in Feval (form=4839053984) at eval.c:3040
#7 0x1200aa81c in Flet (args=4839586056) at eval.c:768
#8 0x1200b0630 in Feval (form=4839052736) at eval.c:2986
#9 0x1200b3134 in funcall_lambda (fun=4838776744, nargs=0, args=0x11fffef28)
at eval.c:768
#10 0x1200b1928 in Ffuncall (nargs=544618760, args=0x11fffef20) at eval.c:3257
#11 0x1200681b0 in execute_optimized_program (program=0x120763908 "\b",
stack_depth=541533512, constants_data=0x120671220) at bytecode.c:747
#12 0x120067ae8 in funcall_compiled_function (fun=4838590504, nargs=0,
args=0x11ffff058) at bytecode.c:519
#13 0x1200b0d1c in Feval (form=4837685680) at eval.c:3073
#14 0x1200abed0 in condition_case_1 (handlers=4839586056,
bfun=0x1200afb40 <Feval>, barg=4837685680, hfun=0x1200797c0 <cmd_error>,
harg=4836500808) at eval.c:1640
#15 0x1200798c8 in top_level_1 (dummy=4839586056) at cmdloop.c:206
#16 0x1200b94bc in internal_catch (tag=4839586056,
func=0x120079880 <top_level_1>, arg=4836500808, threw=0x0) at eval.c:1306
#17 0x1200782ac in initial_command_loop (load_me=4839586056) at cmdloop.c:285
#18 0x1200a5420 in xemacs_21_2_b34_alphapca56_unknown_linux (argc=5,
argv=0x11ffff6c8, envp=0x12012b460, restart=0) at emacs.c:2146
#19 0x1200a86e4 in main (argc=544618760, argv=0x120472548, envp=0x12012b460)
at emacs.c:2575
which doesn't look too convincing. The configuration for this was:
uname -a: Linux borkum 2.2.14 #1 Tue May 30 01:00:41 CEST 2000 alpha unknown
./configure
XEmacs 21.2-b34 "Molpe" configured for `alphapca56-unknown-linux'.
Compilation / Installation:
Source code location: /usr/local/src/xemacs-21.2
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/alpha.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Wpointer-arith -Winline -Wmissing-prototypes -Wshadow
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
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.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw
- Athena library to link: Xaw
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
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 TIFF images.
Sound:
Compiling in support for sound (native).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for Berkeley database.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for dynamic shared object modules.
Compiling in support for extra debugging code.
WARNING: ---------------------------------------------------------
WARNING: Compiling in support for runtime error checking.
WARNING: XEmacs will run noticeably more slowly as a result.
WARNING: Error checking is on by default for XEmacs beta releases.
WARNING: ---------------------------------------------------------
Building with the Compaq C compiler crashes at the same step in the
make process. It also worked (well, at least *built*) some weeks
ago. Does anybody have an idea how to proceed?
Falk