[Anthy-dev 232] Re: uim 0.0.9 released

Back to archive index

KIHARA Hideto deton****@m1*****
2003年 10月 8日 (水) 21:48:30 JST


uim-0.0.8からuim-0.0.9にアップグレードしたら、
Loquiがsegmentation faultで起動しなくなって一時間くらいなやみました。
~/.uimから使っていた関数rk-find-seqの名前が
rk-lib-find-seqに変更されたのが原因でした。
~/.uim中のrk-find-seqをrk-lib-find-seqに変更したら落ちなくなりました。
(set-car! (cadr (rk-find-seq '("w" " ") tutcode-rule)) "〜")

~/.uim中のエラーでgtk2なアプリが起動できないのはうれしくないなぁ、
と思いました。


(gdb) run
Starting program: /home/kihara/work/uim-0.1.0/gtk-entry

Program received signal SIGSEGV, Segmentation fault.
0x409f4831 in uim_set_mode_cb (uc=0x0, update_cb=0x409ab950 <mode_cb>)
    at uim.c:235
235       uc->mode_update_cb = update_cb;
(gdb) bt
#0  0x409f4831 in uim_set_mode_cb (uc=0x0, update_cb=0x409ab950 <mode_cb>)
    at uim.c:235
#1  0x409acfb8 in im_module_create (context_id=0x8101634 "tutcode")
    at gtk-im-uim.c:909
#2  0x400b5cab in _gtk_im_module_create (context_id=0x8101630 "uim-tutcode")
    at gtkimmodule.c:483
...
(gdb) up
#1  0x409acfb8 in im_module_create (context_id=0x8101634 "tutcode")
    at gtk-im-uim.c:909
909       uim_set_mode_cb(uic->uc, mode_cb);
(gdb) list
904
905       uic->uc =  uim_create_context(uic, "UTF-8",
906                                     NULL, (char *)context_id,
907                                     im_uim_commit_string);
908       /**/
909       uim_set_mode_cb(uic->uc, mode_cb);
910       uim_set_preedit_cb(uic->uc, clear_cb,
911                          pushback_cb, update_cb);
912       uim_set_mode_list_update_cb(uic->uc,
913                                   update_mode_list_cb);
(gdb) p *uic
$1 = {parent = {parent_instance = {g_type_instance = {g_class = 0x8103118},
      ref_count = 1, qdata = 0x0}}, slave = 0x0, uc = 0x0, cwin = {
    top_win = 0x0, clist = 0x0, numlabel = 0x0, nr_candidates = 0,
    candidate_index = 0, layout_begin = 0, is_active = 0, select_count = 0,
    cursor = {x = 0, y = 0, width = 0, height = 0}}, nr_psegs = 0, pseg = 0x0,
  stat_win = 0x0, menu = 0x0, win = 0x0, toplevel = 0x0, preedit_pos = {x = 0,
    y = 0, width = 0, height = 0}, mode = 0, prev = 0x0, next = 0x0}

-- 
木原 英人 / KIHARA, Hideto / deton****@m1*****
http://www1.interq.or.jp/~deton/



Anthy-dev メーリングリストの案内
Back to archive index