渡辺一寛です。

Web ブラウザの kazehakase-0.4.4.1 を、FreeBSD 6.2-RELEASE-p2/i386 に 
ports-current からインストールしています。実行中の動作には問題ないの
ですが、終了時に Segmentation fault で core dump してしまいます。

単に起動 -> 終了しただけでも同様に core dump しますし、
自分で ./configure -> make したバイナリでも同様です。

以前のバージョン (確か kazehakase-0.4.3) ではこのようなことは無かった
のですが、0.4.4.1 にバージョンを上げてから、core dump するようになって
しまいました。

私の環境固有の問題ではないのなら、開発元のメーリングリストに話を振って
みるつもりなのですが、同じ様な症状に逢われている方、または問題なく動作
している方はいますか?


ちなみにデバッガで backtrace してみると、次のようになりました。

$ gdb /usr/local/bin/kazehakase
GNU gdb 6.1.1 [FreeBSD]
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 "i386-marcel-freebsd"...
(gdb) run
Starting program: /usr/local/bin/kazehakase 
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100052]
[New Thread 0x8055000 (LWP 100052)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x8055000 (LWP 100095)]
0x287977df in SmcCloseConnection (smcConn=0x0, count=0, reasonMsgs=0x0)
    at sm_client.c:267
267         IceConn                     iceConn = smcConn->iceConn;
(gdb) bt
#0  0x287977df in SmcCloseConnection (smcConn=0x0, count=0, reasonMsgs=0x0)
    at sm_client.c:267
#1  0x280c947c in dispose (object=0x808ccc0) at kz-app.c:438
#2  0x28a06697 in IA__g_object_unref (_object=0x808ccc0) at gobject.c:1760
#3  0x0804a7c4 in main (argc=1, argv=0xbfbfe3c4) at main.c:514
(gdb) list sm_client.c:267
262     SmcConn smcConn;
263     int     count;
264     char    **reasonMsgs;
265     
266     {
267         IceConn                     iceConn = smcConn->iceConn;
268         smCloseConnectionMsg        *pMsg;
269         char                        *pData;
270         int                         extra, i;
271         IceCloseStatus              closeStatus;
(gdb) 

SmcCloseConnection() は /usr/X11R6/lib/libSM.so.6 で定義されている
ライブラリ関数です。


なお依存 package として、次のものがインストールされています。

$ pkg_info -r /var/db/pkg/kazehakase-0.4.4.1/
Information for kazehakase-0.4.4.1:

Depends on:
Dependency: pkg-config-0.21
Dependency: expat-2.0.0_1
Dependency: xorg-fonts-encodings-6.9.0_1
Dependency: jpeg-6b_4
Dependency: libiconv-1.9.2_2
Dependency: gettext-0.14.5_2
Dependency: qdbm-1.8.74
Dependency: png-1.2.14
Dependency: freetype2-2.2.1_1
Dependency: perl-5.8.8
Dependency: fontconfig-2.3.2_6,1
Dependency: nspr-4.6.5
Dependency: nss-3.11.4
Dependency: glib-2.12.9
Dependency: libxml2-2.6.27
Dependency: popt-1.7_2
Dependency: libgpg-error-1.4
Dependency: libdrm-2.0.2
Dependency: xorg-libraries-6.9.0_1
Dependency: libgcrypt-1.2.4
Dependency: tiff-3.8.2_1
Dependency: hyperestraier-1.4.9_1
Dependency: hicolor-icon-theme-0.9_2
Dependency: bitstream-vera-1.10_2
Dependency: shared-mime-info-0.20
Dependency: cairo-1.2.6_1
Dependency: gnutls-1.6.1_1
Dependency: libIDL-0.8.8
Dependency: libXft-2.1.7_1
Dependency: xorg-fonts-truetype-6.9.0
Dependency: atk-1.12.4
Dependency: gnomehier-2.2
Dependency: desktop-file-utils-0.12
Dependency: pango-1.14.10
Dependency: gtk-2.10.9_1
Dependency: firefox-2.0.0.2,1

---
Watanabe Kazuhiro ([EMAIL PROTECTED])

メールによる返信