始めまして、嵯峨田と申します。
;; xemacs-beta-ja には入ってませんので、よろしければ To/Ccに私の
;; 名前を残してください。よろしくお願い致します。
xemacsを愛用しておりまして、結構昔から betaの追っかけをやっております。
xemacs-21.2.xなのですが、記憶が確かなら xemacs-21.2.2{5|6|7}の頃から
'xemacs -nw' で、wanderlust を使用した時にcoreを吐く(bus error)ように
成ってます。しばらくしたら直るだろうと思ったのですが、現在xemacs-21.2.37
に至るまで修正されて無いようなので、遅ればせながら報告致します。
;; 過去の3ヵ月分ぐらいのMLのログは読みました。
OS: SunOS marlboro 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-2
xemacs: xemacs-21.2.26ぐらい〜xemacs-21.2.37まで
少なくても手元に残っているxemacs-21.2.20では問題なし。
xemacs-21.2.29では問題があったような記憶あり。
xemacsのmake方法:
;; % setenv CFLAGS '-O6 -msupersparc'
% setenv CFLAGS '-O2'
% make distclean
% configure --with-mule --with-site-lisp \
--x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib \
;; --error-checking=none
% make; sudo make install;
症状: xemacs -nw; M-x wl; の後に任意のfolderを選択すると、xemacsが即死。
xemacsのbacktraceなし。
というものです。M-x wlの後に、単にM-x garbage-collect とやっただけでも
落ちる事もあります。いずれの場合もgdbのwhereは同じ出力をします。
'xemacs -nw'じゃ無いとき(X11)は、全くこの症状はおきません。
実は、xemacs-21.2.2{3|4}あたりをmakeしていた頃に、libjpegをshared
library化していたので、これ以降のxemacs binaryはlibjpegをshared
linkしてますので、これも若干疑い、--with-jpeg=no も試しましたが、
症状は同じでした。過去のログから、--with-system-malloc も試しましたが
同様でした。
メールの最後に、gdbの whereの出力、lddの出力、M-x
describe-installationの出力を添付致します。
以上よろしくお願い致します。
sagata@marlboro[1357]% printenv LD_LIBRARY_PATH
/usr/openwin/lib:/usr/lib:/usr/local/lib:/usr/X11R6.3/lib:/usr/dt/lib
sagata@marlboro[1358]% printenv LD_RUN_PATH
sagata@marlboro[1359]%
sagata@marlboro[1435]% gdb /export/home/tool/xemacs-21.2.37/src/xemacs core
GNU gdb 4.17
Copyright 1998 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.6"...
Core was generated by `./src/xemacs -nw'.
Program terminated with signal 10, Bus Error.
Reading symbols from /usr/lib/libXm.so.3...done.
Reading symbols from /usr/lib/libcanna.so.1...done.
Reading symbols from /usr/local/lib/libpng.so.2...done.
Reading symbols from /usr/openwin/lib/libXpm.so.4.11...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/lib/libdl.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/libc.so.1...done.
Reading symbols from /usr/local/lib/libz.so.1.1.2...done.
Reading symbols from /usr/openwin/lib/libSM.so.6...done.
Reading symbols from /usr/openwin/lib/libICE.so.6...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/locale/ja/ja.so.1...done.
Reading symbols from /usr/lib/locale/ja/methods_ja.so.1...done.
Reading symbols from /usr/openwin/lib/locale/ja/xlibi18n_ja.so.2...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
#0 0xef10878c in _libc_kill ()
(gdb) where
#0 0xef10878c in _libc_kill ()
#1 0x8ddfc in fatal_error_signal ()
#2 <signal handler called>
#3 0x542f4 in compact_string_chars ()
#4 0x54720 in gc_sweep ()
#5 0x54dec in garbage_collect_1 ()
#6 0x54f68 in Fgarbage_collect ()
#7 0x97a1c in Ffuncall ()
#8 0x68480 in Fcall_interactively ()
#9 0x96450 in Fcommand_execute ()
#10 0x97a58 in Ffuncall ()
#11 0x62ec0 in execute_optimized_program ()
#12 0x62a10 in funcall_compiled_function ()
#13 0x97c0c in Ffuncall ()
#14 0x68eec in Fcall_interactively ()
#15 0x96450 in Fcommand_execute ()
#16 0xf5a34 in execute_command_event ()
#17 0xf642c in Fdispatch_event ()
#18 0x72724 in Fcommand_loop_1 ()
#19 0x724bc in command_loop_1 ()
#20 0x94204 in condition_case_1 ()
#21 0x71a24 in command_loop_3 ()
#22 0x71a44 in command_loop_2 ()
#23 0x93cf0 in internal_catch ()
#24 0x71db8 in initial_command_loop ()
#25 0x8f4b0 in sort_args ()
#26 0x8fc90 in voodoo_free_hook ()
% ldd /usr/local/bin/xemacs-21.2-b20
libXm.so.3 => /usr/lib/libXm.so.3
libcanna.so.1 => /usr/lib/libcanna.so.1
libRKC.so.1 => /usr/lib/libRKC.so.1
libtiff.so => /usr/openwin/lib/libtiff.so
libpng.so.2 => /usr/local/lib/libpng.so.2
libz.so.0 => /usr/local/lib/libz.so.0
libXpm.so.4.11 => /usr/openwin/lib/libXpm.so.4.11
libDtSvc.so.1 => /usr/dt/lib/libDtSvc.so.1
libtt.so.2 => /usr/openwin/lib/libtt.so.2
libXmu.so.4 => /usr/openwin/lib/libXmu.so.4
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libdl.so.1 => /usr/lib/libdl.so.1
libkvm.so.1 => /usr/lib/libkvm.so.1
libkstat.so.1 => /usr/lib/libkstat.so.1
libintl.so.1 => /usr/lib/libintl.so.1
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libelf.so.1 => /usr/lib/libelf.so.1
libc.so.1 => /usr/lib/libc.so.1
libz.so.1.1.2 => /usr/local/lib/libz.so.1.1.2
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
% ldd /usr/local/bin/xemacs-21.2-b36
libXm.so.3 => /usr/lib/libXm.so.3
libcanna.so.1 => /usr/lib/libcanna.so.1
libpng.so.2 => /usr/local/lib/libpng.so.2
libjpeg.so.62 => /usr/local/lib/libjpeg.so.62
libXpm.so.4.11 => /usr/openwin/lib/libXpm.so.4.11
libtt.so.2 => /usr/openwin/lib/libtt.so.2
libXmu.so.4 => /usr/openwin/lib/libXmu.so.4
libXt.so.4 => /usr/openwin/lib/libXt.so.4
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libdl.so.1 => /usr/lib/libdl.so.1
libkstat.so.1 => /usr/lib/libkstat.so.1
libm.so.1 => /usr/lib/libm.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libc.so.1 => /usr/lib/libc.so.1
libz.so.1.1.2 => /usr/local/lib/libz.so.1.1.2
libSM.so.6 => /usr/openwin/lib/libSM.so.6
libICE.so.6 => /usr/openwin/lib/libICE.so.6
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-2/lib/libc_psr.so.1
uname -a: SunOS marlboro 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-2
./configure '--with-mule' '--with-site-lisp' '--x-includes=/usr/openwin/include' '--x-libraries=/usr/op\
enwin/lib' '--with-jpeg=no'
XEmacs 21.2-b37 "Pan" configured for `sparc-sun-solaris2.6'.
Compilation / Installation:
Source code location: /export/home/tool/xemacs-21.2.35
Installation prefix: /usr/local
Runtime library search path: /usr/dt/lib:/usr/openwin/lib:/usr/local/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -O2 -Wall
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 Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for DBM.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using Motif to provide XIM support.
Compiling in support for Canna on Mule.
Compiling in support for the WNN input method on Mule.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Compiling in support for extra debugging code.
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: ---------------------------------------------------------
--
日本電信電話株式会社 サイバースペース研究所
嵯峨田 淳 sagata(a)nttvdt.hil.ntt.co.jp