I'm still unable to successfully build a working xemacs on Solaris. When
it gets to the final build stages it core dumps the first time xemacs runs.
I've gone through and made sure that I don't have any duplicate libraries
or include files in my local include directories that duplicate the existing
ones (and there are *definately* no X11R6 files outside of /usr/openwin).
Here's the crash:
MAKE='make' EMACS='./src/xemacs' sh /home/drich/Src/xemacs-21.0-b46/lib-src/update-elc.sh
(using ./src/xemacs)
Recompiling in /home/drich/Src/xemacs-21.0-b46
with /home/drich/Src/xemacs-21.0-b46/src/xemacs...
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
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 /home/drich/Src/xemacs-21.0-b46/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:
make: *** [all-elc] Error 139
The stack trace:
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-b46/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/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 0x4af98 in fatal_error_signal (sig=11) at emacs.c:262
#2 <signal handler called>
#3 0x1e490 in mark_object (obj=541086720) at alloc.c:3168
#4 0x325d4 in mark_char_table (obj=3319884, markobj=0x1e3b4 <mark_object>)
at chartab.c:145
#5 0x1e4d8 in mark_object (obj=540190720) at alloc.c:3178
#6 0x218d4 in mark_buffer (obj=3325440, markobj=0x1e3b4 <mark_object>)
at bufslots.h:96
#7 0x1e4d8 in mark_object (obj=540196352) at alloc.c:3178
#8 0x120474 in mark_symbol_value_buffer_local (obj=3838944,
markobj=0x1e3b4 <mark_object>) at symbols.c:909
#9 0x1e4d8 in mark_object (obj=540709856) at alloc.c:3178
#10 0x1e610 in mark_object (obj=3768420) at alloc.c:3232
#11 0x1e5b8 in mark_object (obj=3076096) at alloc.c:3214
#12 0x201c4 in garbage_collect_1 () at alloc.c:4491
#13 0x53214 in funcall_recording_as (recorded_as=-1607448628, nargs=4,
args=0xefff4020) at eval.c:3114
#14 0x54ff4 in call3 (fn=-1607448628, arg0=-1607540732, arg1=736,
arg2=-1607540732) at eval.c:3238
#15 0xa8e1c in Finsert_file_contents_internal (filename=1615667612,
visit=-1607540732, beg=268435455, end=2859008, replace=2859008,
codesys=-1607417732, used_codesys=-1606468164) at fileio.c:3073
#16 0x537e8 in funcall_recording_as (recorded_as=-1607448356, nargs=7,
args=0xefffc528) at eval.c:3197
#17 0x53a14 in Ffuncall (nargs=8, args=0xefffc528) at eval.c:3238
#18 0x29528 in Fbyte_code (bytestr=1613202104, vector=-2144894156, maxdepth=67)
at bytecode.c:416
#19 0x52ec8 in Feval (form=1076331176) at eval.c:3063
#20 0x4fdcc in condition_case_1 (handlers=1076331472, bfun=0x52698 <Feval>,
barg=1076331176, hfun=0x4fe18 <run_condition_case_handlers>,
harg=-1607133884) at eval.c:1653
#21 0x50024 in condition_case_3 (bodyform=1076331176, var=-1607133884,
handlers=1076331472) at eval.c:1715
#22 0x299e8 in Fbyte_code (bytestr=1613201824, vector=-2144894400, maxdepth=12)
at bytecode.c:576
#23 0x54974 in funcall_lambda (fun=539460772, nargs=4, arg_vector=0xefffd118)
at eval.c:3597
#24 0x539a0 in funcall_recording_as (recorded_as=-1607448844, nargs=4,
args=0xefffd114) at eval.c:3214
#25 0x53a14 in Ffuncall (nargs=5, args=0xefffd114) at eval.c:3238
#26 0x29528 in Fbyte_code (bytestr=1613201040, vector=-2144895136,
maxdepth=106) at bytecode.c:416
#27 0x54974 in funcall_lambda (fun=539459664, nargs=3, arg_vector=0xefffd4a4)
at eval.c:3597
#28 0x539a0 in funcall_recording_as (recorded_as=-1607436116, nargs=3,
args=0xefffd4a0) at eval.c:3214
#29 0x53a14 in Ffuncall (nargs=4, args=0xefffd4a0) at eval.c:3238
#30 0x29528 in Fbyte_code (bytestr=1612674676, vector=-2145421676, maxdepth=5)
at bytecode.c:416
#31 0x52ec8 in Feval (form=1075803748) at eval.c:3063
#32 0x4fdcc in condition_case_1 (handlers=1075803820, bfun=0x52698 <Feval>,
barg=1075803748, hfun=0x4fe18 <run_condition_case_handlers>,
harg=-1607540636) at eval.c:1653
#33 0x50024 in condition_case_3 (bodyform=1075803748, var=-1607540636,
handlers=1075803820) at eval.c:1715
#34 0x299e8 in Fbyte_code (bytestr=1612674596, vector=-2145421756, maxdepth=9)
at bytecode.c:576
#35 0x54974 in funcall_lambda (fun=538933168, nargs=1, arg_vector=0xefffdc14)
at eval.c:3597
#36 0x539a0 in funcall_recording_as (recorded_as=538933168, nargs=1,
args=0xefffdc10) at eval.c:3214
#37 0x54f44 in call1 (fn=538933168, arg0=1614398608) at eval.c:3238
#38 0xb43a0 in mapcar1 (leni=74, vals=0x0, fn=538933168, seq=1078174972)
at fns.c:3237
#39 0xb45c8 in Fmapc (fn=538933168, seq=1078174972) at fns.c:3320
#40 0x53744 in funcall_recording_as (recorded_as=-1607445756, nargs=2,
args=0xefffdf80) at eval.c:3197
#41 0x53a14 in Ffuncall (nargs=3, args=0xefffdf80) at eval.c:3238
#42 0x29528 in Fbyte_code (bytestr=1612675036, vector=-2145421324, maxdepth=4)
at bytecode.c:416
#43 0x54974 in funcall_lambda (fun=538933252, nargs=2, arg_vector=0xefffe30c)
at eval.c:3597
#44 0x539a0 in funcall_recording_as (recorded_as=-1607265724, nargs=2,
args=0xefffe308) at eval.c:3214
#45 0x53a14 in Ffuncall (nargs=3, args=0xefffe308) at eval.c:3238
#46 0x29528 in Fbyte_code (bytestr=1612675164, vector=-2145421196, maxdepth=6)
at bytecode.c:416
#47 0x54974 in funcall_lambda (fun=538933384, nargs=1, arg_vector=0xefffe91c)
at eval.c:3597
#48 0x539a0 in funcall_recording_as (recorded_as=-1607265628, nargs=1,
args=0xefffe918) at eval.c:3214
#49 0x53a14 in Ffuncall (nargs=2, args=0xefffe918) at eval.c:3238
#50 0x29528 in Fbyte_code (bytestr=1612970036, vector=-2145126092,
maxdepth=151) at bytecode.c:416
#51 0x54974 in funcall_lambda (fun=539228948, nargs=0, arg_vector=0xefffead8)
at eval.c:3597
#52 0x5437c in apply_lambda (fun=539228948, numargs=0,
unevalled_args=-1607540732) at eval.c:3501
#53 0x53050 in Feval (form=1077518164) at eval.c:3085
#54 0x4fdcc in condition_case_1 (handlers=-1607540636, bfun=0x52698 <Feval>,
barg=1077518164, hfun=0x332dc <cmd_error>, harg=-1607540732) at eval.c:1653
#55 0x33368 in top_level_1 (dummy=-1607540732) at cmdloop.c:206
#56 0x4fbb0 in internal_catch (tag=-1607462812, func=0x33330 <top_level_1>,
arg=-1607540732, threw=0x0) at eval.c:1328
#57 0x329c0 in initial_command_loop (load_me=209712) at cmdloop.c:285
#58 0x4c854 in xemacs_21_0_sparc_sun_solaris2_5_1 (argc=8, argv=0xeffff1f4,
envp=0xeffff218, restart=0) at emacs.c:1702
#59 0x4cfac in main (argc=0, argv=0xeffff1f4, envp=0xeffff218) at emacs.c:2119
(gdb) q
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 "Toggenburg" configured for `sparc-sun-solaris2.5.1'.
Where should the build process find the source code? /home/drich/Src/xemacs-21.0-b46
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 Berkeley DB.
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 EXPERIMENTAL 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.
Any ideas?