[sylpheed-jp:10793] Re: enchant 1.5.0 でセグメンテ ーション違反

"M.H" <[email protected]>
Newsgroups gmane.mail.sylpheed.general.japanese
Message-ID <[email protected]>
こんにちは、M.H と申します。

> sylpheed 2.7.1 を使用しておりまして、転送や返信ボタンをクリックするとセグメンテーション
> 違反で異常終了するようになりました。
> 少し調べて見たところ、enchant 1.5.0 を使用すると発生するようです。

私も Plamo-4.7b1 の enchant-1.5.0 + gtkspell-2.0.15 で make した sylpheed で
同様の問題に遭遇しました。

gdb でバックトレースを取ると、

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb71f06c0 (LWP 28581)]
0xb757fd21 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0xb757fd21 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0xb75804df in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0xb7580bdf in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0xb79e3549 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x08061b2b in ?? ()
#5  0x00000000 in ?? ()

https://bugs.launchpad.net/ubuntu/+source/enchant/+bug/413994
といったところが検索にひっかかったので、
とりあえず、--disable-gtkspell で make し直したんですが、
その後、色々試してみることにしました。

結果、/usr/lib/enchant 以下にある不要なライブラリを削除すると
異常終了しなくなりました。
Plamo の場合は、aspell しか提供されていないので、
/usr/lib/enchant/libenchant_aspell.so のみ残しました。

同じ問題かどうかはわかりませんが、
/usr/lib/enchant(Arch Linux だと違う場所かも知れません)以下を
とりあえず、見直してみるとどうでしょうか。

Thanks!
  -M.H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.