[Macuim-dev 98] m17n-libで落ちる
Masaki Yatsu
yatsu @ yatsu.info
谷津です。 On 2006/08/18, at 19:51, Masaki Yatsu wrote: > 現状報告としては、 > m17nlibを--with-guiかつfreetypeなしでビルドするのは難しそう > だということがわかりました。 > > 解決にはもう少し時間がかかりそうです。 m17n-libのコンパイルエラーはfreetypeを静的リンクすることで解決 しました。dlopenのエラーも解決しました。 ニイハオが変換できることも確認しました。 ところが、今度は、m17n-zh-py, m17n-zh-pinyinで「英数」を押すと クラッシュするようになってしまいました。 MacUIMでは「英数」を「Private1」と定義しています。 以下がクラッシュしたときのログです。 ERROR: not a symbol or string *backtrace* >>(m17nlib-translate-ukey-to-mkey key key-state) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:276 >>(m17nlib-push-key mc key key-state) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:283 >>(if (m17nlib-context-on mc) (if (m17nlib-push-key mc key key-state) () (let* ((result (m17nlib-lib-get-result mid)) (consumed? (car result)) (commit-str (cdr result))) (if (m17nlib-off-key? key key-state) (begin (m17nlib-context-set-on! mc ()) (if (not (string=? commit-str "")) (im-commit mc commit-str))) (if (string=? commit-str "") (im-commit-raw mc) (begin (im-commit mc commit-str) (m17nlib-lib-commit mid) (if (not consumed?) (im-commit-raw mc))))))) (m17nlib-proc-direct-state mc key key-state)) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:282 >>(begin (let-internal (mid) ((m17nlib-context-mc-id mc)) (begin (if (m17nlib-context-on mc) (if (m17nlib-push-key mc key key-state) () (let* ((result (m17nlib-lib-get-result mid)) (consumed? (car result)) (commit-str (cdr result))) (if (m17nlib-off-key? key key-state) (begin (m17nlib-context-set-on! mc ()) (if (not (string=? commit-str "")) (im-commit mc commit-str))) (if (string=? commit-str "") (im-commit-raw mc) (begin (im-commit mc commit-str) (m17nlib-lib-commit mid) (if (not consumed?) (im-commit-raw mc))))))) (m17nlib-proc-direct-state mc key key-state)) (m17nlib-update-preedit mc) (m17nlib-update-candidate mc)))) >>(and handler (apply handler handler-args)) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/im.scm:308 >>(key-press-handler 0 (quote Private1) 0) ERROR: not a symbol or string *backtrace* >>(m17nlib-translate-ukey-to-mkey key key-state) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:276 >>(m17nlib-push-key mc key key-state) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:283 >>(if (m17nlib-context-on mc) (if (m17nlib-push-key mc key key-state) () (let* ((result (m17nlib-lib-get-result mid)) (consumed? (car result)) (commit-str (cdr result))) (if (m17nlib-off-key? key key-state) (begin (m17nlib-context-set-on! mc ()) (if (not (string=? commit-str "")) (im-commit mc commit-str))) (if (string=? commit-str "") (im-commit-raw mc) (begin (im-commit mc commit-str) (m17nlib-lib-commit mid) (if (not consumed?) (im-commit-raw mc))))))) (m17nlib-proc-direct-state mc key key-state)) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:282 >>(begin (let-internal (mid) ((m17nlib-context-mc-id mc)) (begin (if (m17nlib-context-on mc) (if (m17nlib-push-key mc key key-state) () (let* ((result (m17nlib-lib-get-result mid)) (consumed? (car result)) (commit-str (cdr result))) (if (m17nlib-off-key? key key-state) (begin (m17nlib-context-set-on! mc ()) (if (not (string=? commit-str "")) (im-commit mc commit-str))) (if (string=? commit-str "") (im-commit-raw mc) (begin (im-commit mc commit-str) (m17nlib-lib-commit mid) (if (not consumed?) (im-commit-raw mc))))))) (m17nlib-proc-direct-state mc key key-state)) (m17nlib-update-preedit mc) (m17nlib-update-candidate mc)))) >>(and handler (apply handler handler-args)) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/im.scm:308 >>(key-press-handler 0 (quote Private1) 0) >>ERROR: not a symbol or string *backtrace* >>(m17nlib-translate-ukey-to-mkey key key-state) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:276 >>(m17nlib-push-key mc key key-state) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:283 >>(if (m17nlib-context-on mc) (if (m17nlib-push-key mc key key-state) () (let* ((result (m17nlib-lib-get-result mid)) (consumed? (car result)) (commit-str (cdr result))) (if (m17nlib-off-key? key key-state) (begin (m17nlib-context-set-on! mc ()) (if (not (string=? commit-str "")) (im-commit mc commit-str))) (if (string=? commit-str "") (im-commit-raw mc) (begin (im-commit mc commit-str) (m17nlib-lib-commit mid) (if (not consumed?) (im-commit-raw mc))))))) (m17nlib-proc-direct-state mc key key-state)) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/m17nlib.scm:282 >>(begin (let-internal (mid) ((m17nlib-context-mc-id mc)) (begin (if (m17nlib-context-on mc) (if (m17nlib-push-key mc key key-state) () (let* ((result (m17nlib-lib-get-result mid)) (consumed? (car result)) (commit-str (cdr result))) (if (m17nlib-off-key? key key-state) (begin (m17nlib-context-set-on! mc ()) (if (not (string=? commit-str "")) (im-commit mc commit-str))) (if (string=? commit-str "") (im-commit-raw mc) (begin (im-commit mc commit-str) (m17nlib-lib-commit mid) (if (not consumed?) (im-commit-raw mc))))))) (m17nlib-proc-direct-state mc key key-state)) (m17nlib-update-preedit mc) (m17nlib-update-candidate mc)))) >>(and handler (apply handler handler-args)) at /Library/Frameworks/UIM.framework/Versions/1.2.1/share/uim/im.scm:308 >>(key-press-handler 0 (quote Private1) 0) Aug 19 01:03:33 dgc005-pb crashdump[20728]: TextEdit crashed Aug 19 01:03:34 dgc005-pb crashdump[20728]: crash report written to: /Users/yatsu/Library/Logs/CrashReporter/TextEdit.crash.log --- 谷津 真樹 (Masaki Yatsu) yatsu @ yatsu.info
Macuim-dev メーリングリストの案内 |