Hello list,
I have a nice little pure 64bit distro running on a sun T1 (niagra) box.
Everything builds and runs fine, except xemacs, which crashes every
30secs or so.
Using exact same distro and xemacs build running pure 64bit on x86_64
boxes does _not_ show the same problems, so this is likely something
sparc64 specific.
Anyhow, to diagnose the problem I have downloaded (cvs) and built the
latest beta version and installed the sumo tarball.
I enabled core dumps, loaded up some kernel sources into xemacs and
started playing around, splitting windows and scrolling about. Sure
enough, I soon got a segfault, and here is the backtrace:
$ gdb /bin/xemacs /tmp/core
GNU gdb 6.5
Copyright (C) 2006 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 "sparc64-unknown-linux-gnu"...Using host
libthread_db library "/pkg/glibc/lib/libthread_db.so.1".
Reading symbols from /pkg/berkeleydb/lib/libdb-4.5.so...done.
Loaded symbols for /pkg/berkeleydb/lib/libdb-4.5.so
Reading symbols from /pkg/ncurses/lib/libncurses.so.5...done.
Loaded symbols for /pkg/ncurses/lib/libncurses.so.5
Reading symbols from /pkg/glibc/lib/libm.so.6...done.
Loaded symbols for /pkg/glibc/lib/libm.so.6
Reading symbols from /pkg/glibc/lib/libdl.so.2...done.
Loaded symbols for /pkg/glibc/lib/libdl.so.2
Reading symbols from /pkg/glibc/lib/libutil.so.1...done.
Loaded symbols for /pkg/glibc/lib/libutil.so.1
Reading symbols from /pkg/glibc/lib/libc.so.6...done.
Loaded symbols for /pkg/glibc/lib/libc.so.6
Reading symbols from /pkg/glibc/lib/libpthread.so.0...done.
Loaded symbols for /pkg/glibc/lib/libpthread.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib64/ld-linux.so.2
Reading symbols from /pkg/glibc/lib/libnss_files.so.2...done.
Loaded symbols for /pkg/glibc/lib/libnss_files.so.2
Core was generated by `xemacs kernel/lockdep_internals.h'.
Program terminated with signal 11, Segmentation fault.
#0 0xfffff80100575548 in kill () from /pkg/glibc/lib/libc.so.6
(gdb) where
#0 0xfffff80100575548 in kill () from /pkg/glibc/lib/libc.so.6
#1 0x00000000001ab280 in fatal_error_signal (sig=11) at emacs.c:3800
#2 <signal handler called>
#3 0xfffff801005beffc in memcpy () from /pkg/glibc/lib/libc.so.6
#4 0x00000000002c4368 in Lstream_write_1 (lstr=0xc73280,
data=0x7feff769660, size=34) at lstream.c:555
#5 0x00000000002c4474 in Lstream_write (lstr=0xc73280,
data=0x7feff769660, size=34) at lstream.c:602
#6 0x00000000002d4958 in output_string (function=13054592,
nonreloc=0x0, reloc=6773424, offset=0, len=34) at print.c:442
#7 0x00000000002db654 in print_string (obj=6773424,
printcharfun=13054592, escapeflag=0) at print.c:1403
#8 0x00000000002dc600 in print_internal (obj=6773424,
printcharfun=13054592, escapeflag=0) at print.c:1761
#9 0x00000000002d6a78 in print_error_message (error_object=14321584,
stream=13054592) at print.c:1005
#10 0x00000000002d6e20 in Fdisplay_error (error_object=14321584,
stream=5514648) at print.c:1070
#11 0x00000000001ba458 in Ffuncall (nargs=3, args=0x7feff769e38) at
eval.c:3893
#12 0x000000000015bcc8 in execute_optimized_program (
program=0xf0cfa0 "�\033�\032\r�\034�\021�\211\020\026\035�\026\036
\016\037�\004� \210� \210\r\026 ��!\210��\f�a�\037�\rA@!�\025�\rA@GU�\r�
\rA@�H!�\004Ъ\035Ѫ\032\f�a�\004Ҫ\022\f�s�\004Ԫ\n\f�a�\004֪\002�\"\210�
\r�\"\210� �\v��\016!\"\210��!\210+�\207", stack_depth=6,
constants_data=0x5f8198) at bytecode.c:862
#13 0x00000000001b9ce4 in funcall_compiled_function (fun=7183920,
nargs=1, args=0x7feff76a548) at eval.c:3495
#14 0x00000000001ba954 in Ffuncall (nargs=2, args=0x7feff76a540) at
eval.c:3932
#15 0x00000000001bcb6c in call1 (fn=5130984, arg0=14321584) at
eval.c:4545
#16 0x000000000016e958 in cmd_error (data=14321584,
unused_dummy=5516376) at cmdloop.c:212
#17 0x00000000001b3b84 in condition_case_1 (handlers=5511624,
bfun=0x16efb0 <command_loop_1>, barg=5516376, hfun=0x16e8d4 <cmd_error>,
harg=5516376) at eval.c:1908
#18 0x000000000016ead8 in command_loop_3 () at cmdloop.c:262
#19 0x000000000016eb0c in command_loop_2 (unused_dummy=5516376) at
cmdloop.c:275
#20 0x00000000001b33a8 in internal_catch (tag=5122200, func=0x16eafc
<command_loop_2>, arg=5516376, threw=0x0, thrown_tag=0x0,
backtrace_before_throw=0x0) at eval.c:1530
#21 0x000000000016ecc8 in initial_command_loop (load_me=5516376) at
cmdloop.c:313
#22 0x00000000001a9444 in xemacs_21_5_b27_sparc64_unknown_linux (argc=2,
argv=0x7feff76b5a8, unused_envp=0x0, restart=0) at emacs.c:2667
#23 0x00000000001aa5a0 in main (argc=2, argv=0x7feff76b5a8,
unused_envp=0x7feff76b5c0) at emacs.c:3111
(gdb)
You'll all understand that I _need_ xemacs to work ;) So any help in
nailing these problems will be much appreciated! I can test, and give
ssh access to the server if that would help.
Andrew Walrond
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta