lotem / rimeime

Legacy codebase of Rime, automatically exported from code.google.com/p/rimeime
48 stars 23 forks source link

Squirrel 崩潰 #527

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
請寫下能夠重現此狀況的操作步驟:
1. (不明,用到一半崩潰)
2.
3.

所得的結果是這個樣:按下鍵盤按鍵時, Squirrel 會組字
預期結果該是那個樣:按下鍵盤按鍵時, Squirrel 
不會組字,所有按鍵都直接輸入到應用程式裡面。若按下 
Deploy 也沒有反應。

請提供以下信息,幫我們定位問題。

1. 輸入法的款式:鼠鬚管
   輸入法版本號:0.9.22

2. 操作系統類型:Mac
   操作系統版本:10.9.1 Build 13A603

3. 
輸入方案名稱:自製的輸入方案,然而事實上無法切換到內��
�方案

還想再說幾句:

更具體的情況是這樣:

在 Console.app 裡面有記錄到 crash log ,並且有附上一個 crash 
report 檔案。

在 Crash 的同時,首先會出現這個 log:

    2013/11/16 23:52:31.904 com.apple.launchd.peruser.502[180]: (com.googlecode.rimeime.inputmethod.Squirrel.52304[45601]) Job appears to have crashed: Segmentation fault: 11

接下來每個應用程式都會出現:

    2013/11/16 23:52:31.910 Mou[45602]: Urgent.  The Input Method com.googlecode.rimeime.inputmethod.Squirrel has crashed.  It would be a good idea to stop using it and report the problem.

Crash 之後,已經開啟的應用程式都無法經由 Squirrel 
組字,新開啟或關掉重開的應用程式則沒問題,並且 Console 
裡面會出現 createSession 的訊息:

    2013/11/17 02:45:08.087 Squirrel[46501]: createSession: com.mouapp.Mou

最後,我有附上 crash report ,其中的 UUID 
我不確定是不是機密資料,所以用 XX 
隱藏,若有需要我再重新附上。

Original issue reported on code.google.com by duckste...@gmail.com on 16 Nov 2013 at 6:56

Attachments:

GoogleCodeExporter commented 9 years ago
呃,對不起,我把「所得的結果是這個樣」和「預期結果該��
�那個樣」弄反了,由於不能改原文,請自行補完…

Original comment by duckste...@gmail.com on 16 Nov 2013 at 6:57

GoogleCodeExporter commented 9 years ago
崩潰報告裏顯示,按照字體名稱加載字體時出錯了。
我猜測問題出在自定義字體,求一份 ~/Library/Rime/squirrel.yaml 
來做測試。

如果與自定義字體有關,可暫時將 style/font_face: 
這項設置刪除避免崩潰。

Original comment by contral...@gmail.com on 18 Nov 2013 at 2:26

GoogleCodeExporter commented 9 years ago
Hi, 附上了,另外也附上了 squirrel.custom.yaml

我的字體設定值是這樣:

    style/font_face: 'Hiragino Maru Gothic Pro, Yuanti SC'

我會先把它關掉用一陣子看看,希望不會再崩潰了。

謝謝

Original comment by duckste...@gmail.com on 18 Nov 2013 at 12:36

Attachments:

GoogleCodeExporter commented 9 years ago
試了修改字體設定,沒出問題。
今天我在調試程序的時候發現 OS X 10.9 
與過去版本不同的行爲:某個輸入法連續崩潰幾次之後,系��
�就再也不調用他了,可能爲了防止輸入法出問題時不停嘗試�
��起而卡死系統吧。
於是當我修復了輸入法的故障之後,也只有登出、重新登入��
�前用戶纔能正常使用。

Original comment by contral...@gmail.com on 19 Nov 2013 at 6:42