[Uim] Re: What should be done until 0.4.6

Mike FABIAN mfabian at suse.de
Sat Jan 8 12:54:31 EET 2005


YamaKen <yamaken at bp.iij4u.or.jp> さんは書きました:

> At Sat, 08 Jan 2005 13:24:23 +0900,
> yamaken at bp.iij4u.or.jp wrote:
>> 
>> At Sat, 8 Jan 2005 13:02:35 +0900,
>> ekato at ees.hokudai.ac.jp wrote:
>> > 
>> > On Sat, Jan 08, 2005 at 12:44:33PM +0900,
>> > Etsushi Kato <ekato at ees.hokudai.ac.jp> wrote:
>> > 
>> > > > The backtrace looks like this:
>> > > 
>> > > Thanks.  This backtrace indicates that crash happen in libuim
>> > > (slib.c).  Maybe GTK application also crashes with GTK_IM_MODULE=uim?
>> > 
>> > OK.  I was able to reproduce the bug.  To avoid this, please use 
>> > --disable-compat-custom --enable-compat-scm --enable-scm-nested-eval
>> > --disable-callback-queue configure option.
>> > 
>> > This option has just become default since today's revision, but maybe
>> > your snapshot doesn't contain yet.  Of cource, this should be resolved
>> > with any configure option.
>> 
>> It may be fixed by following patch. I'll test it after lunch.
>> Thank you reporting and investigating.
>
> Oops, another problems had been found. I've resolved them also
> by r165 and make uim's interpreter segv-proof for such bug.


> Please try it with --disable-scm-nested-eval --enable-callback-queue.

when using default configure options, r165 still crashes for me
in de_DE.UTF-8 on i386 (ja_JP.UTF-8 works. It doesn't crash on x86_64
in de_DE.UTF-8 either):

    mike at kibou:~$ LANG=de_DE.UTF-8 uim-xim
    UIM-XIM bridge. Now supporting multiple locales.
    Using full-synchronous XIM event flow
    load /usr/lib/uim/plugin/libuim-anthy.so
    plugin init
    plugin scm init
    load /usr/lib/uim/plugin/libuim-canna.so
    load failed /usr/lib/uim/plugin/libuim-canna.so: undefined symbol:
    true_sym
    Supported conversion engines:
      py (zh_CN)
      pyunihan (zh_CN)
      pinyin-big5 (zh_TW:zh_HK)
      anthy (ja)
      prime (ja)
      skk (ja)
      tcode (ja)
      tutcode (ja)
      hangul2 (ko)
      hangul3 (ko)
      romaja (ko)
      viqr (vi)
      ipa ()
      latin ()
      direct ()
    セグメンテーション違反です (core dumped)
    mike at kibou:~$

(By the way, canna still broken?)

Backtrace:

    (gdb) bt
    #0  0x40301bf0 in strcmp () from /lib/tls/libc.so.6
    #1  0x40144e3a in uim_check_im_exist () from /usr/lib/libuim.so.0
    #2  0x40144fd6 in uim_get_default_im_name () from /usr/lib/libuim.so.0
    #3  0x0804bc42 in main ()
    (gdb)

I'll try the above mentioned configure options now and see whether
this makes a difference.

-- 
Mike FABIAN   <mfabian at suse.de>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。



More information about the uim mailing list