My build failed with the same problem I've had for the last couple of betas.
Just to be paranoid, I pulled down a clean tarball and packages but still
have the same problem.
Here's what's happening:
at the end of the dump,
Dumping under the name xemacs
Purespace usage: 794672 of 794672 (100%).
Impurities:
conses used: 16993
conses free: 3371
.....
streams on free list: 2
stream storage: 517
Testing for Lisp shadows ...
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
There's no lisp backtrace, and here's what is in the core file:
drich@sandman|645> gdb /home/drich/Src/xemacs-21.0-b42/src/xemacs core
GDB is free software and you are welcome to 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.
GDB 4.16 (sparc-sun-solaris2.5.1),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `./src/xemacs -batch -vanilla -l /home/drich/Src/xemacs-21.0-b42/lisp/cleantree'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/dt/lib/libXm.so.3...done.
Reading symbols from /opt/local/lib/libtiff.so...done.
Reading symbols from /opt/local/lib/libpng.so.2...done.
Reading symbols from /usr/openwin/lib/libXpm.so.4.11...done.
Reading symbols from /usr/dt/lib/libDtSvc.so.1...done.
Reading symbols from /usr/openwin/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/openwin/lib/libSM.so.6.0...done.
Reading symbols from /usr/openwin/lib/libICE.so.6.3...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /opt/gnu/lib/libncurses.so.3.0...done.
Reading symbols from /usr/lib/libkvm.so.1...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/libelf.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/ucblib/libucb.so.1...done.
Reading symbols from /usr/lib/libresolv.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
#0 0xef074728 in kill ()
(gdb) where
#0 0xef074728 in kill ()
#1 0x635ec in fatal_error_signal (sig=11) at emacs.c:262
#2 <signal handler called>
#3 0x1ea1c in mark_object (obj=541979648) at alloc.c:3170
#4 0x40ab8 in mark_char_table (obj=20, markobj=0x1e914 <mark_object>)
at chartab.c:145
#5 0x1ea98 in mark_object (obj=540958720) at alloc.c:3180
#6 0x22c10 in mark_buffer (obj=540966400, markobj=0x1e914 <mark_object>)
at bufslots.h:96
#7 0x1ea98 in mark_object (obj=540966400) at alloc.c:3180
#8 0x1b0678 in mark_symbol_value_buffer_local (obj=541467776,
markobj=0x1e914 <mark_object>) at symbols.c:909
#9 0x1ea98 in mark_object (obj=541467776) at alloc.c:3180
#10 0x1ec80 in mark_object (obj=4307404) at alloc.c:3234
#11 0x1ebfc in mark_object (obj=3846144) at alloc.c:3216
#12 0x20d40 in garbage_collect_1 () at alloc.c:4493
#13 0x6bf8c in Feval (form=1078910036) at eval.c:2919
#14 0x14173c in readevalloop (readcharfun=542522368, sourcename=1616334244,
evalfun=0x6bc70 <Feval>, printflag=0) at lread.c:1343
#15 0x140280 in Fload_internal (file=1616334244, no_error=-1606770660,
nomessage=-1606770660, nosuffix=-1606770684, codesys=3620864,
used_codesys=-1606770684) at lread.c:750
#16 0x6cf18 in funcall_recording_as (recorded_as=-1606665900, nargs=5,
args=0xefffd084) at eval.c:3193
#17 0x6d2fc in Ffuncall (nargs=6, args=0xefffd070) at eval.c:3238
#18 0x32444 in Fbyte_code (bytestr=1613971576, vector=-2144124600,
maxdepth=3630080) at bytecode.c:416
#19 0x6e93c in funcall_lambda (fun=540230200, nargs=3, arg_vector=0xefffd434)
at eval.c:3597
#20 0x6d288 in funcall_recording_as (recorded_as=-1606665708, nargs=3,
args=0xefffd430) at eval.c:3214
#21 0x6d2fc in Ffuncall (nargs=4, args=0xefffd430) at eval.c:3238
#22 0x32444 in Fbyte_code (bytestr=1613451120, vector=-2144645232,
maxdepth=3630080) at bytecode.c:416
#23 0x6c6d4 in Feval (form=1076580192) at eval.c:3063
#24 0x69324 in condition_case_1 (handlers=3608576, bfun=0x6bc70 <Feval>,
barg=1076580192, hfun=0x71fe8 <run_condition_case_handlers>,
harg=-1606770588) at eval.c:1653
#25 0x69490 in condition_case_3 (bodyform=1076580192, var=-1606770588,
---Type <return> to continue, or q <return> to quit---
handlers=1076580264) at eval.c:1715
#26 0x32904 in Fbyte_code (bytestr=1613451040, vector=-2144645312,
maxdepth=3630080) at bytecode.c:576
#27 0x6e93c in funcall_lambda (fun=539709612, nargs=1, arg_vector=0xefffdbdc)
at eval.c:3597
#28 0x6d288 in funcall_recording_as (recorded_as=539709612, nargs=1,
args=0xefffdbd8) at eval.c:3214
#29 0x6efc0 in call1 (fn=539709612, arg0=1614828784) at eval.c:3238
#30 0x106238 in mapcar1 (leni=74, vals=0x0, fn=539709612, seq=1078992540)
at fns.c:3237
#31 0x10652c in Fmapc (fn=1078992540, seq=1078992540) at fns.c:3320
#32 0x6d000 in funcall_recording_as (recorded_as=-1606675348, nargs=2,
args=0xefffdf48) at eval.c:3197
#33 0x6d2fc in Ffuncall (nargs=3, args=0xefffdf48) at eval.c:3238
#34 0x32444 in Fbyte_code (bytestr=1613451480, vector=-2144644880,
maxdepth=3630080) at bytecode.c:416
#35 0x6e93c in funcall_lambda (fun=539709696, nargs=2, arg_vector=0xefffe2f4)
at eval.c:3597
#36 0x6d288 in funcall_recording_as (recorded_as=-1606497124, nargs=2,
args=0xefffe2f0) at eval.c:3214
#37 0x6d2fc in Ffuncall (nargs=3, args=0xefffe2f0) at eval.c:3238
#38 0x32444 in Fbyte_code (bytestr=1613451608, vector=-2144644752,
maxdepth=3630080) at bytecode.c:416
#39 0x6e93c in funcall_lambda (fun=539709828, nargs=1, arg_vector=0xefffe924)
at eval.c:3597
#40 0x6d288 in funcall_recording_as (recorded_as=-1606497028, nargs=1,
args=0xefffe920) at eval.c:3214
#41 0x6d2fc in Ffuncall (nargs=2, args=0xefffe920) at eval.c:3238
#42 0x32444 in Fbyte_code (bytestr=1613745688, vector=-2144350440,
maxdepth=3630080) at bytecode.c:416
#43 0x6e93c in funcall_lambda (fun=540004600, nargs=0, arg_vector=0xefffeb00)
at eval.c:3597
#44 0x6defc in apply_lambda (fun=540004600, numargs=0,
unevalled_args=-1606770684) at eval.c:3501
#45 0x6c888 in Feval (form=1077822484) at eval.c:3085
#46 0x69324 in condition_case_1 (handlers=3608576, bfun=0x6bc70 <Feval>,
barg=1077822484, hfun=0x42088 <cmd_error>, harg=-1606770684) at eval.c:1653
#47 0x42114 in top_level_1 (dummy=-1606770684) at cmdloop.c:206
#48 0x68f14 in internal_catch (tag=-1606692740, func=0x420dc <top_level_1>,
---Type <return> to continue, or q <return> to quit---
arg=-1606770684, threw=0x0) at eval.c:1328
#49 0x40db4 in initial_command_loop (load_me=270556) at cmdloop.c:285
#50 0x64fd4 in xemacs_21_0_b42_sparc_sun_solaris2_5_1 (argc=8,
argv=0xeffff21c, envp=0xeffff240, restart=0) at emacs.c:1702
#51 0x65788 in main (argc=0, argv=0xeffff21c, envp=0xeffff240) at emacs.c:2119
(gdb)
and the Installation file:
uname -a: SunOS sandman 5.5.1 Generic_103640-14 sun4u sparc SUNW,Ultra-1
./configure '--site-libraries=/opt/local/lib' '--site-includes=/opt/local/include' '--with-mule' '--dynamic' '--prefix=/usr/local/beta'
XEmacs 21.0-b42 "Somali" configured for `sparc-sun-solaris2.5.1'.
Where should the build process find the source code? /home/drich/Src/xemacs-21.0-b42
What installation prefix should install use? /usr/local/beta
What operating system and machine description files should XEmacs use?
`s/sol2.h' and `m/sparc.h'
What compiler should XEmacs be built with? gcc -g -O3 -Wall -Wno-switch
Should XEmacs use the GNU version of malloc? yes
Should XEmacs use the relocating allocator for buffers? yes
What window system should XEmacs use? x11
Where do we find X Windows header files? /usr/dt/include /usr/openwin/include
Where do we find X Windows libraries? /usr/dt/lib /usr/openwin/lib
Additional header files: /opt/local/include
Additional libraries: /opt/local/lib
Runtime library search path: /opt/local/lib:/usr/dt/lib:/usr/openwin/lib:/opt/gnu/lib
Compiling in support for XAUTH.
Compiling in support for XPM images.
Compiling in support for X-Face message headers.
Compiling in support for JPEG image conversion.
Compiling in support for PNG image conversion.
Compiling in support for TIFF image conversion.
Compiling in native sound support.
Compiling in support for GNU DBM.
Compiling in support for ncurses.
Compiling in Mule (multi-lingual) support.
Compiling in XIM (X11R5+ I18N input method) support.
Using raw Xlib to provide XIM support.
Compiling in support for CDE.
Compiling in support for ToolTalk.
Compiling in support for Drag'n'Drop ( CDE ).
Compiling in support for proper session-management.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Compiling in DLL support.
movemail will use "dot-locking" for locking mail spool files.
Compiling in extra code for debugging.
Compiling in code for checking XEmacs memory usage.
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: ---------------------------------------------------------