I have been trying to compile xemacs on my HP Itanium workstation
(IA64). The build fails when attempting to execute xemacs
./xemacs -nd -no-packages -batch -l
/home/jgrove/src/xemacs-21.5.9/src/../lisp/update-elc.el
the current build used gcc-3.2.1 but a similar problem also occured for
version 2.96. I looked in the problems file but found no reference to
such a problem and so I am reporting this problem to you.
The traceback from this execution was
>gdb xemacs
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 "ia64-redhat-linux"...
(gdb) r -nd -no-packages -batch -l
/home/jgrove/src/xemacs-21.5.9/src/../lisp/update-elc.el
Starting program: /home/jgrove/src/xemacs-21.5.9/src/xemacs -nd
-no-packages -batch -l
/home/jgrove/src/xemacs-21.5.9/src/../lisp/update-elc.el
Program received signal SIGSEGV, Segmentation fault.
allocate_managed_lcrecord (lcrecord_list=0) at lisp.h:2665
2665 DECLARE_LRECORD (lcrecord_list, struct lcrecord_list);
(gdb) where
#0 allocate_managed_lcrecord (lcrecord_list=0) at lisp.h:2665
#1 0x40000000003cd3d0 in make_opaque_ptr (val=0x600000000003b82c)
at opaque.c:172
Upon this failure I did a make distclean and reconfigured xemacs using
configure --prefix=$HOME --cflags=-g
the same error occured, the error now reads
./temacs -nd -no-packages -batch -l
/home/jgrove/src/xemacs-21.5.9/src/../lisp/update-elc.el
make[1]: *** [update-elc.stamp] Segmentation fault (core dumped)
> gdb temacs
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 "ia64-redhat-linux"...
(gdb) r -nd -no-packages -batch -l
/home/jgrove/src/xemacs-21.5.9/src/../lisp/update-elc.el
Starting program: /home/jgrove/src/xemacs-21.5.9/src/temacs -nd
-no-packages -batch -l
/home/jgrove/src/xemacs-21.5.9/src/../lisp/update-elc.el
Program received signal SIGSEGV, Segmentation fault.
error_check_lcrecord_list (obj=0, file=0x40000000006c71c8 "alloc.c",
line=2580)
at lisp.h:2665
2665 DECLARE_LRECORD (lcrecord_list, struct lcrecord_list);
(gdb) where
#0 error_check_lcrecord_list (obj=0, file=0x40000000006c71c8 "alloc.c",
line=2580) at lisp.h:2665
#1 0x400000000006b280 in allocate_managed_lcrecord (lcrecord_list=0)
at alloc.c:2580
#2 0x40000000004053b0 in make_opaque_ptr (val=0x600000000003223c)
at opaque.c:172
#3 0x400000000016bd40 in record_unwind_protect_restoring_int (
addr=0x600000000003223c, val=0) at eval.c:5793
#4 0x400000000016be90 in internal_bind_int (addr=0x600000000003223c,
newval=1)
at eval.c:5813
#5 0x4000000000072380 in begin_gc_forbidden () at alloc.c:4149
#6 0x4000000000119e70 in emacs_vsprintf_string (
format=0x40000000006c70f8 "%s\nKilling some buffers may delay
running out of memory.\nHowever, certainly by the time you receive the
95%% warning,\nyou should clean up, kill this Emacs, and start a new
one.", vargs=0x60000fffffffb168)
at doprnt.c:822
#7 0x400000000016ec10 in warn_when_safe (class=0, level=0,
fmt=0x40000000006c70f8 "%s\nKilling some buffers may delay running
out of memory.\nHowever, certainly by the time you receive the 95%%
warning,\nyou should clean up, kill this Emacs, and start a new one.")
at eval.c:6229
#8 0x400000000006b280 in allocate_managed_lcrecord (lcrecord_list=224)
at alloc.c:2580
#9 0x4000000000671cc0 in check_memory_limits () at vm-limit.c:92
#10 0x2000000000ec79a0 in chunk_alloc (ar_ptr=0x200000000102fd50, nb=16400)
at malloc.c:2593
#11 0x2000000000ec6850 in __libc_malloc (bytes=2305843009230667088)
at malloc.c:2811
#12 0x2000000000ec8c30 in __libc_realloc (oldmem=0x0, bytes=16384)
at malloc.c:3344
#13 0x400000000005e2b0 in xrealloc (block=0x0, size=16384) at alloc.c:333
#14 0x400000000011aba0 in Dynarr_realloc (dy=0x6000000000068c30,
new_size=16384) at dynarr.c:141
#15 0x400000000011af20 in Dynarr_resize (d=0x6000000000068c30, size=1410)
at dynarr.c:171
#16 0x4000000000077250 in init_alloc_once_early () at alloc.c:4958
#17 0x400000000013bb60 in xemacs_21_5_b9_ia64_unknown_linux (argc=6,
argv=0x60000fffffffb4c8, envp=0x60000fffffffb500, restart=0)
at emacs.c:1141
#18 0x40000000001415d0 in main (argc=6, argv=0x60000fffffffb4c8,
envp=0x60000fffffffb500) at emacs.c:2721
John Grove
--
John W. Grove
CC2-2, Methods for Advanced Scientific Simulation,
Computer and Computational Science Division, MS D413
Los Alamos National Laboratory, Los Alamos, New Mexico 87545
Tel. (505) 667-0723, Fax. (505) 665-4972, Email: jgrove(a)lanl.gov