<!doctype html public "-//w3c//dtd html 4.0
transitional//en">
<html>
Newly built xemacs-21.4.11 on Solaris 8 using gcc 2.95.3 and GNU ld 2.13.2
crashes on startup:
<p>> xemacs
<br>Fatal error: assertion failed, file specifier.c, line 2583, abort()
<p>Fatal error (6).
<p>Your files have been auto-saved.
<br>Use `M-x recover-session' to recover them.
<p>Your version of XEmacs was distributed with a PROBLEMS file that
may describe
<br>your crash, and with luck a workaround. Please check it first,
but do report
<br>the crash anyway. Please report this bug by invoking M-x
report-emacs-bug,
<br>or by selecting `Send Bug Report' from the Help menu. If
necessary,
send
<br>ordinary email to `crashes(a)xemacs.org'.&nbsp; *MAKE SURE* to include
the XEmacs
<br>configuration from M-x describe-installation, or equivalently the file
<br>Installation in the top of the build tree.
<p>*Please* try *hard* to obtain a C stack backtrace; without it, we are
unlikely
<br>to be able to analyze the problem. Locate the core file produced
as a result
<br>of this crash (often called `core' or `core.<process-id>',
and located
in
<br>the directory in which you started XEmacs or your home directory),
and type
<p> gdb /home/lelmore/bin/xemacs core
<p>then type `where' at the debugger prompt. No GDB on your
system?
You may
<br>have DBX, or XDB, or SDB. (Ask your system administrator if you
need help.)
<br>If no core file was produced, enable them (often with `ulimit -c
unlimited'
<br>in case of future recurrance of the crash.
<p>Lisp backtrace follows:
<p> # bind (frame-being-created)
<br> make-frame(nil #<x-device on ":0.0" 0x470>)
<br> frame-initialize()
<br> # bind (debugger debug-on-error command-line-args-left)
<br> command-line()
<br> # (condition-case ... . ((t (byte-code
"
Â?" ... 1))))
<br> # bind (error-data)
<br> normal-top-level()
<br> # (condition-case ... . error)
<br> # (catch top-level ...)
<br>Abort (core dumped)
<p><b>C stack backtrace is as follows:</b>
<p>> gdb /home/lelmore/bin/xemacs core
<br>GDB is free software and you are welcome to distribute copies of it
<br> under certain conditions; type "show copying" to see the
conditions.
<br>There is absolutely no warranty for GDB; type "show warranty" for
details.
<br>GDB 4.12 (sparc-sun-solaris2.3),
<br>Copyright 1994 Free Software Foundation, Inc...
<p>warning: core file may not match specified executable file.
<br>Core was generated by `xemacs'.
<br>Program terminated with signal 6, Aborted.
<br>procfs (find_procinfo): Couldn't locate pid 0
<br>#0 0xfec1c840 in _end ()
<br>(gdb) where
<br>#0 0xfec1c840 in _end ()
<br>#1 0x769f8 in fatal_error_signal (sig=6) at emacs.c:638
<br>#2 0xfec1b86c in _end ()
<br>#3 0xfebb5a74 in _end ()
<br>#4 0x79450 in assert_failed (file=0x1b0188 "specifier.c",
line=2583,
<br> expr=0x1b0888 "abort()") at
emacs.c:3423
<br>#5 0x145bc8 in specifier_instance (specifier=-24087312,
matchspec=-24434000,
<br> domain=3826880, errb=ERROR_ME_NOT, no_quit=1,
no_fallback=0,
depth=1)
<br> at specifier.c:2583
<br>#6 0x146d34 in specifier_instance_no_quit (specifier=-24087312,
<br> matchspec=-24434000, domain=3826880,
errb=ERROR_ME_NOT,
no_fallback=0,
<br> depth=1) at specifier.c:2657
<br>#7 0xbbf80 in default_face_font_info (domain=3826880, ascent=0x0,
<br> descent=0x0, height=0xffbedd04,
width=0xffbedd00,
proportional_p=0x0)
<br> at faces.c:561
<br>#8 0xbfc00 in default_face_height_and_width (domain=3826880,
<br> height=0xffbedd04, width=0xffbedd00) at
faces.c:721
<br>#9 0x180c34 in EmacsFrameRecomputeCellSize (w=0x3a64c0) at
EmacsFrame.c:643
<br>#10 0x163ec4 in x_update_frame_external_traits (frm=0x39b100, name=-24440984)
<br> at frame-x.c:2767
<br>#11 0xbe3e4 in update_frame_face_values (f=0x39b100) at faces.c:1668
<br>#12 0x16475c in x_init_frame_2 (f=0x39b100, props=-24434000) at frame-x.c:2193
<br>#13 0xd2878 in Fmake_frame (props=-24434000, device=3644672) at frame.c:480
<br>#14 0x7f924 in Ffuncall (nargs=2, args=0xffbee08c) at eval.c:3536
<br>#15 0x54284 in execute_optimized_program (
<br> program=0x2ca06d
"\211\020\026\020Í\r!\025Î\016\021!\210Ï\211\024\207",
<br> stack_depth=2, constants_data=0xfe987924) at
bytecode.c:748
<br>#16 0x53edc in funcall_compiled_function (fun=-23363996, nargs=0,
<br> args=0xffbee260) at bytecode.c:516
<br>#17 0x7faf0 in Ffuncall (nargs=0, args=0xffbee25c) at eval.c:3572
<br>#18 0x54284 in execute_optimized_program (
<br> program=0x2e3d3e "\210*Ó
\210Ô \210rÕÖ!q\210×
\210ØÙ!\210\016!Úa«\005\016\"
\210)Û Üa«\bÝ
¬\004Þ \210ß \210Ù\026#Ý
­\004àÇ!)\207parsed",
stack_depth=0,
<br> constants_data=0xfe987c4c) at bytecode.c:748
<br>#19 0x53edc in funcall_compiled_function (fun=-23363800, nargs=0,
<br> args=0xffbee380) at bytecode.c:516
<br>#20 0x7f488 in Feval (form=-23831324) at eval.c:3392
<br>#21 0x7bb08 in condition_case_1 (handlers=-23835704, bfun=0x7ed10
<Feval>,
<br> barg=-23831324, hfun=0x7bb4c
<run_condition_case_handlers>,
harg=-24454424)
<br> at eval.c:1652
<br>#22 0x7be9c in condition_case_3 (bodyform=-23831324, var=-24454424,
<br> handlers=-23835704) at eval.c:1730
<br>#23 0x55228 in execute_rare_opcode (stack_ptr=0xffbee684,
<br> program_ptr=0x2d55a1
"\210Ì\r!\025\016.«\016ÚÓá\016.â
ã
$!\0267äå!\210\016&«\005äæ!\210Ü\026&ç
\210\016(«\005äè!\210Ü\026(\t«\bé\t@\tA\"\210)\0168­\003ê
\207", opcode=Bcondition_case) at bytecode.c:1273
<br>#24 0x540b4 in execute_optimized_program (
<br> program=0x2d55a1
"\210Ì\r!\025\016.«\016ÚÓá\016.â
ã
$!\0267äå!\210\016&«\005äæ!\210Ü\026&ç
\210\016(«\005äè!\210Ü\026(\t«\bé\t@\tA\"\210)\0168­\003ê
\207", stack_depth=1, constants_data=0xfe9883cc) at bytecode.c:658
<br>#25 0x53edc in funcall_compiled_function (fun=-23362904, nargs=0,
<br> args=0xffbee7b0) at bytecode.c:516
<br>#26 0x7f488 in Feval (form=-23898752) at eval.c:3392
<br>#27 0x7bb08 in condition_case_1 (handlers=-24434360, bfun=0x7ed10
<Feval>,
<br> barg=-23898752, hfun=0x5e0d4
<cmd_error>, harg=-24434000)
at eval.c:1652
<br>#28 0x5e164 in top_level_1 (dummy=2748416) at cmdloop.c:206
<br>#29 0x83948 in internal_catch (tag=-24607304, func=0x5e128
<top_level_1>,
<br> arg=-24434000, threw=0x0) at eval.c:1318
<br>#30 0x5d844 in initial_command_loop (load_me=-24434000) at cmdloop.c:285
<br>#31 0x785bc in sort_args (argc=2885632, argv=0xffbeecac) at emacs.c:2456
<br>#32 0x7a348 in main (argc=1, argv=0xffbeecac, envp=0xffbeecb4) at emacs.c:2825
<br>(gdb)
<br> </html>
uname -a: SunOS leahy 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-5_10
./configure '--prefix=/home/lelmore' '--site-includes=/opt/local/gnu/include
/home/lelmore/include' '--site-libraries=/opt/local/gnu/lib /home/lelmore/lib'
'--pdump' '--with-toolbars=no'
XEmacs 21.4.11 "Native Windows TTY Support" configured for
`sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /home/lelmore/src/xemacs-21.4.11
Installation prefix: /home/lelmore
Additional header files: /opt/local/gnu/include /home/lelmore/include
Additional libraries: /opt/local/gnu/lib /home/lelmore/lib
Runtime library search path:
/usr/ccs/lib:/home/lelmore/lib:/usr/dt/lib:/usr/openwin/lib:/usr/local/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wsign-compare -Wshadow -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
WARNING: -----------------------------------------------------------
WARNING: Compiling without XPM image support.
Reason: Xpm library version is too old!
WARNING: You should strongly consider installing XPM.
WARNING: Otherwise toolbars and other graphics will look suboptimal.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Compiling in support for PNG images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Using the new portable dumper.
Thanks for the report.
In the PROBLEMS file at the root of the source tree, it makes the
following claims:
*** Dumping error when using GNU binutils / GNU ld on a Sun.
Errors similar to the following:
Dumping under the name xemacs unexec():
dldump(/space/rpluim/xemacs-obj/src/xemacs): ld.so.1: ./temacs:
fatal: /space/rpluim/xemacs-obj/src/xemacs: unknown dynamic entry:
1879048176
are caused by using GNU ld. There are several workarounds available:
In XEmacs 21.2 or later, configure using the new portable dumper
(--pdump).
Alternatively, you can link using the Sun version of ld, which is
normally held in /usr/ccs/bin. This can be done by one of:
- building gcc with these configure flags:
configure --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
- adding -B/usr/ccs/bin/ to CFLAGS used to configure XEmacs
(Note: The trailing '/' there is significant.)
- uninstalling GNU ld.
- configuring XEmacs with these environment settings (suggested by
Goran Koruga <goran.koruga(a)hermes.si>):
LD=/usr/ccs/bin/ld AS=/usr/ccs/bin/as configure
The Solaris2 FAQ claims:
When you install gcc, don't make the mistake of installing
GNU binutils or GNU libc, they are not as capable as their
counterparts you get with Solaris 2.x.
I know this doesn't exactly describe your problem, but I have never
had success using GNU ld on a Solaris system. I think you should try
building without GNU ld.
BTW, please don't send HTML to this email list.
HTH,
Vin