IP Messenger 障害レポート掲示板


Ubuntu7.10でsegmentation fault : hao(07/11/5 22:20)
Re:Ubuntu7.10でsegmentation fault : 加藤(07/12/13 06:04)
Re[2]:Ubuntu7.10でsegmentation fault : kato(08/2/11 08:29)
Re[3]:Ubuntu7.10でsegmentation fault : mm(08/3/26 21:21)
Re[4]:Ubuntu7.10でsegmentation fault : kato(08/4/23 22:00)
Todd Cowle & Ultima : buguncefe(10/3/17 04:20)
Entr齢elungen, Wohnungsaufl奕ngen : PetrKunkAlpinist1977(10/7/3 21:09)
Wassup people ! : Gourmet Food(10/11/17 20:04)


返事を書く|リスト
916 Root [922]
Ubuntu7.10でsegmentation fault
hao(07/11/5 22:20)

IPMsgのバージョン:g2ipmsg 0.9.3
OSのバージョン:Ubuntu 7.10

./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --enable-systray
でコンパイルすると起動時にsegmentation falutが発生します。
--enable-systrayを外すと問題ないのですが、
解決できてる方、いますか?

(gdb) run
Starting program: /home/hao/work/g2ipmsg-0.9.3/src/g2ipmsg
[Thread debugging using libthread_db enabled]
[New Thread -1228359488 (LWP 17350)]
[New Thread -1229726832 (LWP 17354)]
[New Thread -1238119536 (LWP 17355)]
[New Thread -1238385776 (LWP 17356)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1229726832 (LWP 17354)]
0xb75849a1 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
(gdb) bt
#0 0xb75849a1 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#1 0x0809eb04 in ipmsg_ui_thread (data=0x0) at main.c:75
#2 0xb75055af in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00000000 in ?? ()

こんな感じで落ちてます。


返事を書く|リスト
922 [916] [939]
Re:Ubuntu7.10でsegmentation fault
加藤(07/12/13 06:04)

調べてみますので、configure時の出力をお送りいただけますか?
お手数ですが、よろしくお願いいたします。

> IPMsgのバージョン:g2ipmsg 0.9.3
> OSのバージョン:Ubuntu 7.10
>
> ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --enable-systray
> でコンパイルすると起動時にsegmentation falutが発生します。
> --enable-systrayを外すと問題ないのですが、
> 解決できてる方、いますか?
>
> (gdb) run
> Starting program: /home/hao/work/g2ipmsg-0.9.3/src/g2ipmsg
> [Thread debugging using libthread_db enabled]
> [New Thread -1228359488 (LWP 17350)]
> [New Thread -1229726832 (LWP 17354)]
> [New Thread -1238119536 (LWP 17355)]
> [New Thread -1238385776 (LWP 17356)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1229726832 (LWP 17354)]
> 0xb75849a1 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
> (gdb) bt
> #0 0xb75849a1 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
> #1 0x0809eb04 in ipmsg_ui_thread (data=0x0) at main.c:75
> #2 0xb75055af in ?? () from /usr/lib/libglib-2.0.so.0
> #3 0x00000000 in ?? ()
>
> こんな感じで落ちてます。
>


返事を書く|リスト
939 [922] [944]
Re[2]:Ubuntu7.10でsegmentation fault
kato(08/2/11 08:29)

> 調べてみますので、configure時の出力をお送りいただけますか?
> お手数ですが、よろしくお願いいたします。
>
判明しました。
結論から言うと、pixmapファイルがインストールできていないようです。
--prefix=/usr
でコンフィグレーションを実施するか, お手数ですが, 下記の修正を入れてください。
次の版数である0.9.5版から下記修正を取り込みます。

diff -u -r1.5 systray.c
--- systray.c 3 Feb 2008 20:47:23 -0000 1.5
+++ systray.c 10 Feb 2008 23:23:50 -0000
@@ -116,8 +116,8 @@

GtkWidget *
create_ipmsg_status_icon(void){
- GtkStatusIcon *statusIcon;
- GdkPixbuf *statusIcon_icon_pixbuf;
+ GtkStatusIcon *statusIcon = NULL;
+ GdkPixbuf *statusIcon_icon_pixbuf = NULL;

statusIcon_icon_pixbuf = create_pixbuf ("g2ipmsg/ipmsg.xpm");
if (statusIcon_icon_pixbuf)


返事を書く|リスト
944 [939] [949] [993] [1012] [1026]
Re[3]:Ubuntu7.10でsegmentation fault
mm(08/3/26 21:21)

はじめまして。
0.9.5を利用させていただいてますが、やはり同じ箇所でSegmentation faultが起きます。
--prefix=/usr をつけると正常に動作するようです。
xpmファイルは/usr/local/share/pixmaps/g2ipmsg/ipmsg.xpmにあります。

以下、かなり長いですが、configureのログを貼り付けます。

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for intltool >= 0.31... 0.36.3 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dirfd... yes
checking for asctime_r... yes
checking for localtime_r... yes
checking for pkg-config... /usr/bin/pkg-config
checking OpenSSL options with pkg-config... found
checking for gdi32... no
checking for CRYPTO_lock in -lcrypto... yes
checking openssl/rsa.h usability... yes
checking openssl/rsa.h presence... yes
checking for openssl/rsa.h... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking openssl/bn.h usability... yes
checking openssl/bn.h presence... yes
checking for openssl/bn.h... yes
checking for RAND_bytes... yes
checking for RAND_status... yes
checking for RAND_seed... yes
checking for RAND_poll... yes
checking for HMAC_CTX_init... yes
checking for HMAC_Init... yes
checking for HMAC_Update... yes
checking for HMAC_Final... yes
checking for HMAC_CTX_cleanup... yes
checking for EVP_EncryptInit... yes
checking for EVP_DecryptInit... yes
checking for EVP_EncryptUpdate... yes
checking for EVP_EncryptFinal... yes
checking for EVP_CIPHER_CTX_block_size... yes
checking for EVP_CIPHER_CTX_cleanup... yes
checking for EVP_bf_cbc... yes
checking for EVP_rc2_cbc... yes
checking for EVP_des_ede_cbc... yes
checking for BN_new... yes
checking for BN_bn2hex... yes
checking for BN_hex2bn... yes
checking for BN_bn2bin... yes
checking for BN_rand... yes
checking for BN_free... yes
checking for RSA_new... yes
checking for RSA_size... yes
checking for RSA_check_key... yes
checking for RSA_public_encrypt... yes
checking for RSA_private_decrypt... yes
checking for RSA_sign... yes
checking for RSA_free... yes
checking for PEM_write_RSAPrivateKey... yes
checking for PEM_read_RSAPrivateKey... yes
checking for PEM_write_RSAPublicKey... yes
checking for PEM_read_RSAPublicKey... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for G2IPMSG... yes
checking for SYSTRAY... yes
checking whether to be enable systray... yes
checking whether to be enable applet... yes
checking for APPLET... yes
checking for iconv... /usr/bin/iconv
checking external representation character code of ipmsg... CP932
checking directory configuration for PREFIX... /usr/local
checking directory configuration for LIBDIR... /usr/local/lib
checking directory configuration for SYSCONFDIR... /usr/local/etc
checking directory configuration for DATADIR... /usr/local/share
checking directory configuration for GNOME_ICONDIR... /usr/local/share/icons
checking directory configuration for GNOME_PIXMAPSDIR... /usr/local/share/pixmaps
checking directory configuration for GNOME_GLADEDIR... /usr/local/share/gnome-applets/glade
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... ja zh_CN
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for GST... no
configure: WARNING: You need GStreamer-0.10 or later installed if you need sound relevant functions
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


返事を書く|リスト
949 [944] なし
Re[4]:Ubuntu7.10でsegmentation fault
kato(08/4/23 22:00)

加藤です。

返事が遅くなって済みません。

GNOME2の場合, プレフィクスの配下にGNOME環境があることが前提となります。
このため, 多くのLinux環境のような, /usr配下にGNOME2環境がインストール
される環境の場合は, --prefix=/usrをつけていただいてコンパイルしていただく
必要があります。

なお、私の手元では, ubuntu-7.10の32bit, 64bitの双方の環境で(簡単な)動作確認を
しています。

> はじめまして。
> 0.9.5を利用させていただいてますが、やはり同じ箇所でSegmentation faultが起きます。
> --prefix=/usr をつけると正常に動作するようです。
> xpmファイルは/usr/local/share/pixmaps/g2ipmsg/ipmsg.xpmにあります。
>
> 以下、かなり長いですが、configureのログを貼り付けます。
>


返事を書く|リスト
993 [944] なし
Todd Cowle & Ultima
buguncefe(10/3/17 04:20)

Todd Cowle Municipal Bond Credit Report synthesizes, analyzes and presents aggregate credit information and trends in the municipal bond market. The report includes municipal bond rating information from the three major rating agencies Moody痴 Investor Services, Standard and Poor痴 and Fitch Ratings.


返事を書く|リスト
1012 [944] なし
Entr齢elungen, Wohnungsaufl 奕ngen
PetrKunkAlpinist1977(10/7/3 21:09)

Da haste dir aber viel m腐 gegeben
Den Eiger in 2,47 Stunden zu besteigen w臧re wohl vor 70Jahren nicht moeglich gewesen
Respekt Ueli Steck!




返事を書く|リスト
1026 [944] なし
Wassup people !
Gourmet Food(10/11/17 20:04)

Hi people, I知 a novice to your website, but I致e been viewing it for some time now, and the content is refreshing. Cheers!


[ IP Messengerのページ / 利用方法 / 一覧表示 / 最新記事 / 新規投稿 / 管理用 ]

掲示板管理者 email : FlasH BBS Pro v1.41 [Shigeto Nakazawa]