I was having alot of trouble running remotely: xemacs running on
Solaris:SPARC and displayed on Mac OS X (Tiger:Intel). I tried
these suggestions, but it was still crashing whenever I would
delete something. So, I decided to create a version of xemacs
just for remote execution with Xaw. However, I can't even get
the Xaw build to run locally:
uname -a: SunOS
buz.biostat.mcw.edu 5.9 Generic_118558-10 sun4u sparc
SUNW,Ultra-4
configure --cflags=-Os --with-dialogs=athena --with-widgets=athena
--with-mule --with-xim=xlib
XEmacs 21.4.20 "Double Solitaire" configured for `sparc-sun-solaris2.9'.
Compilation / Installation:
Source code location: /usr/local/apps/xemacs/xemacs-21.4.20
Installation prefix: /usr/local
Runtime library search path:
/usr/ccs/lib:/opt/sfw/lib:/usr/openwin/lib:/usr/local/lib/gcc/sparc-sun-solaris2.9/4.1.1/../../..
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc-4.1.1 -Os
Compiler version: gcc-4.1.1 (GCC) 4.1.1
Compiler specs file: specs.
Relocating allocator for buffers: yes
GNU version of malloc: yes
libc: SUNWcsl 11.9.0,REV=2002.04.06.15.27
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/openwin/include
- X Windows libraries location: /usr/openwin/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.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
WARNING: -----------------------------------------------------------
WARNING: Compiling without PNG image support.
Reason: PNG library version and header file don't match!
WARNING: You should strongly consider installing the PNG libraries.
WARNING: Otherwise certain images and glyphs may not display.
WARNING: (a copy may be found in
ftp://ftp.xemacs.org/pub/xemacs/aux)
WARNING: -----------------------------------------------------------
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
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.
buz:root:/usr/local/bin% ulimit -c unlimited
buz:root:/usr/local/bin% xemacs-xaw
Fatal error (11).
Your files have been auto-saved.
Use `M-x recover-session' to recover them.
Your version of XEmacs was distributed with a PROBLEMS file that may
describe
your crash, and with luck a workaround. Please check it first, but do
report
the crash anyway. Please report this bug by invoking M-x report-emacs-bug,
or by selecting `Send Bug Report' from the Help menu. If necessary, send
ordinary email to `xemacs-beta(a)xemacs.org'. *MAKE SURE* to include the
XEmacs
configuration from M-x describe-installation, or equivalently the file
Installation in the top of the build tree.
*Please* try *hard* to obtain a C stack backtrace; without it, we are
unlikely
to be able to analyze the problem. Locate the core file produced as a
result
of this crash (often called `core' or `core.<process-id>', and located in
the directory in which you started XEmacs or your home directory), and type
gdb /usr/local/bin/xemacs-xaw core
then type `where' at the debugger prompt. No GDB on your system? You may
have DBX, or XDB, or SDB. (Ask your system administrator if you need help.)
If no core file was produced, enable them (often with `ulimit -c unlimited'
in case of future recurrance of the crash.
Lisp backtrace follows:
# (unwind-protect ...)
make-device(x nil)
# bind (display)
make-x-device(nil)
init-x-win()
# bind (debugger debug-on-error command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " §" ... 1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
zsh: segmentation fault (core dumped) xemacs-xaw
buz:root:/usr/local/bin% gdb /usr/local/bin/xemacs-xaw core
GNU gdb 6.2.1
Copyright 2004 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 "sparc-sun-solaris2.9"...
warning: core file may not match specified executable file.
Core was generated by `xemacs-xaw'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libXaw.so.5...done.
Loaded symbols for /usr/lib/libXaw.so.5
Reading symbols from /usr/local/lib/libjpeg.so.62...done.
Loaded symbols for /usr/local/lib/libjpeg.so.62
Reading symbols from /usr/lib/libz.so...done.
Loaded symbols for /usr/lib/libz.so
Reading symbols from /usr/lib/libXpm.so.4...done.
Loaded symbols for /usr/lib/libXpm.so.4
Reading symbols from /usr/openwin/lib/libtt.so.2...done.
Loaded symbols for /usr/openwin/lib/libtt.so.2
Reading symbols from /usr/lib/libXmu.so.4...done.
Loaded symbols for /usr/lib/libXmu.so.4
Reading symbols from /usr/lib/libXt.so.4...done.
Loaded symbols for /usr/lib/libXt.so.4
Reading symbols from /usr/lib/libXext.so.0...done.
Loaded symbols for /usr/lib/libXext.so.0
Reading symbols from /usr/lib/libX11.so.4...done.
Loaded symbols for /usr/lib/libX11.so.4
Reading symbols from /usr/lib/libSM.so.6...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/local/apps/sfw/lib/libdb-4.1.so...done.
Loaded symbols for /opt/sfw/lib/libdb-4.1.so
Reading symbols from /usr/local/lib/libgdbm.so.2...done.
Loaded symbols for /usr/local/lib/libgdbm.so.2
Reading symbols from /usr/local/lib/libncurses.so.5...done.
Loaded symbols for /usr/local/lib/libncurses.so.5
Reading symbols from /usr/lib/libintl.so.1...
warning: Lowest section in /usr/lib/libintl.so.1 is .hash at 00000074
done.
Loaded symbols for /usr/lib/libintl.so.1
Reading symbols from /usr/local/apps/sfw/lib/libldap.so.2...done.
Loaded symbols for /opt/sfw/lib/libldap.so.2
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/local/apps/sfw/lib/liblber.so.2...done.
Loaded symbols for /opt/sfw/lib/liblber.so.2
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
#0 0xfeca01a0 in _libc_kill () from /usr/lib/libc.so.1
(gdb) where
#0 0xfeca01a0 in _libc_kill () from /usr/lib/libc.so.1
#1 0x00077e2c in fatal_error_signal ()
#2 <signal handler called>
#3 0x00000000 in ?? ()
#4 0xff05e4b4 in XRegisterIMInstantiateCallback () from
/usr/lib/libX11.so.4
#5 0x0014d934 in x_init_device ()
#6 0x00069118 in Fmake_device ()
#7 0x0007aa78 in Ffuncall ()
#8 0x00056e80 in execute_optimized_program ()
#9 0x00058eb4 in funcall_compiled_function ()
#10 0x0007ac4c in Ffuncall ()
#11 0x00056e80 in execute_optimized_program ()
#12 0x00058eb4 in funcall_compiled_function ()
#13 0x0007ac4c in Ffuncall ()
#14 0x00056e80 in execute_optimized_program ()
#15 0x00058eb4 in funcall_compiled_function ()
#16 0x0007a4ac in Feval ()
#17 0x0007c900 in condition_case_1 ()
#18 0x0005656c in execute_rare_opcode ()
#19 0x00056ca4 in execute_optimized_program ()
#20 0x00058eb4 in funcall_compiled_function ()
#21 0x0007a4ac in Feval ()
#22 0x0007c900 in condition_case_1 ()
#23 0x00060d04 in top_level_1 ()
#24 0x00079b04 in internal_catch ()
#25 0x00060b60 in initial_command_loop ()
#26 0x00077a60 in xemacs_21_4_20_sparc_sun_solaris2_9 ()
#27 0x00077b20 in main ()
(gdb)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta