Bug 191957
Summary: | LTC23919-Chinese SCIM was down intermittently when input mode was switched | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | IBM Bug Proxy <bugproxy> | ||||||||||||||||||||||||||||||
Component: | scim-chewing | Assignee: | Caius Chance <K9> | ||||||||||||||||||||||||||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||||||||||||||||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||||||||||||||||||||
Priority: | medium | ||||||||||||||||||||||||||||||||
Version: | 5 | CC: | eng-i18n-bugs, petersen | ||||||||||||||||||||||||||||||
Target Milestone: | --- | Keywords: | i18n, Reopened | ||||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||||||
Hardware: | i386 | ||||||||||||||||||||||||||||||||
OS: | Linux | ||||||||||||||||||||||||||||||||
Whiteboard: | |||||||||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||||||
Last Closed: | 2006-08-22 02:14:19 UTC | Type: | --- | ||||||||||||||||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||||||
Embargoed: | |||||||||||||||||||||||||||||||||
Bug Depends On: | |||||||||||||||||||||||||||||||||
Bug Blocks: | 167798 | ||||||||||||||||||||||||||||||||
Attachments: |
|
Description
IBM Bug Proxy
2006-05-16 16:03:54 UTC
Created attachment 129216 [details]
OK.PNG
Created attachment 129218 [details]
NG.PNG
So this only happens with scim-tables IMEs (factories)? ----- Additional Comments From toshiona.com 2006-05-17 02:56 EDT ------- I found that the problem occurred when both "scim-talbes-chinese" and "scim- chewing" were installed. (This is the default configuration of Fedora Core 5 for Chinese.) If scim-chewing was uninstalled, I didn't seen the problem. It seems the problem happens when the input mode is switched between scim- tables-chinese's one and scim-chewing's one. But, I'm not sure which component has cause. ----- Additional Comments From shoji.com 2006-06-20 21:45 EDT ------- I could reproduce the problem. If you switch IMs rapidly, the problem seems to be occured easier. According to "SCIM" related process status, one scim backend process (IM- Engine <--> socket frontend) is killed. <Before problem> [shoji@localhost ~]$ ps ax | fgrep sci 3380 ? Ss 0:00 /usr/lib/scim-1.0/scim-helper-manager 3381 ? Ssl 0:37 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay 3383 ? Ss 0:00 /usr/lib/scim-1.0/scim-launcher -d -c socket -e socket -f x11 3446 ? Ss 0:00 /usr/lib/scim-1.0/scim-helper-launcher --daemon -- config socket --display :0.0 anthy-imengine-helper 24a65e2b-10a8-4d4c-adc9- 266678cb1a38 3839 ? Ss 0:00 /usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket --no-stay 3863 pts/3 S+ 0:00 fgrep sci <After Problem occured> [shoji@localhost ~]$ ps ax | fgrep sci 3380 ? Ss 0:00 /usr/lib/scim-1.0/scim-helper-manager 3381 ? Ssl 0:40 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay 3383 ? Ss 0:00 /usr/lib/scim-1.0/scim-launcher -d -c socket -e socket -f x11 3446 ? Ss 0:00 /usr/lib/scim-1.0/scim-helper-launcher --daemon -- config socket --display :0.0 anthy-imengine-helper 24a65e2b-10a8-4d4c-adc9- 266678cb1a38 3889 pts/3 S+ 0:00 fgrep sci ----- Additional Comments From shoji.com 2006-06-20 21:51 EDT ------- Backtrace information of "scim-launcher" process. rogram received signal SIGSEGV, Segmentation fault. 0x00c85fd3 in strlen () from /lib/libc.so.6 (gdb) where #0 0x00c85fd3 in strlen () from /lib/libc.so.6 #1 0x006f6f18 in ChewingIMEngineInstance::commit () from /usr/lib/scim- 1.0/1.4.0/IMEngine/chewing.so #2 0x006f927f in ChewingIMEngineInstance::process_key_event () from /usr/lib/scim-1.0/1.4.0/IMEngine/chewing.so #3 0x00b3f86b in scim::FrontEndBase::process_key_event () from /usr/lib/libscim-1.0.so.8 #4 0x001ca441 in SocketFrontEnd::socket_process_key_event () from /usr/lib/scim-1.0/1.4.0/FrontEnd/socket.so #5 0x001cb648 in SocketFrontEnd::socket_receive_callback () from /usr/lib/scim-1.0/1.4.0/FrontEnd/socket.so #6 0x001cbc75 in scim::MethodSlot2<SocketFrontEnd, void, scim::SocketServer*, scim::Socket const&>::call () from /usr/lib/scim-1.0/1.4.0/FrontEnd/socket.so #7 0x00b74c9b in scim::SocketServer::run () from /usr/lib/libscim-1.0.so.8 #8 0x001c3a11 in SocketFrontEnd::run () from /usr/lib/scim- 1.0/1.4.0/FrontEnd/socket.so #9 0x001c4161 in socket_LTX_scim_frontend_module_run () from /usr/lib/scim- 1.0/1.4.0/FrontEnd/socket.so #10 0x00b42fd9 in scim::FrontEndModule::run () from /usr/lib/libscim-1.0.so.8 #11 0x0804a78a in ?? () #12 0x00c31724 in __libc_start_main () from /lib/libc.so.6 #13 0x08049841 in ?? () Created attachment 131260 [details]
LTC23919.patch
changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #17032|0 |1 is obsolete| | ------- Additional Comments From shoji.com 2006-06-21 04:47 EDT ------- Patch. According to valgrind log files, some uninitialized values were used in if statements of the scim-chewing code. Please find the attached patch to initialize private members of ChewingIMEngineInstance class. changed: What |Removed |Added ---------------------------------------------------------------------------- Status|FIXEDAWAITINGTEST |TESTED ------- Additional Comments From toshiona.com 2006-06-21 05:43 EDT ------- Sugiyama-san, I tried the recreate scenario more than 20 times with your patch, and wasn't able to recreate this problem. It can say your fix is working. Thank you! The function is ChewingIMEngineInstance::ChewingIMEngineInstance. Patch has been added and build in devel for RAWHIDE. Tested the bug on Simplified and Traditional Chinese with Cangjie method. Result : 1. Pressing a three times, without giving space (aaa) showing 3 char different chinese char for each key press. Chiness characters are appearing each time. No ASCII char showing. 2. If type "as" then a candidate window appearing with 2 chars 1 & 2. If then press 1, the corresponding char is not entering. it is looking like "as1" Want to mention that, the candidate window appearing after pressing 'a' and still present on the screen after pressing "s" also. Is it the right behavior? please see the attachment. Tested on environments and package versions : scim-pinyin-0.5.91-5 scim-chewing-0.3.1-1 scim-devel-1.4.4-21 scim-tables-chinese-0.5.6-5 scim-hangul-0.2.2-4.fc6 scim-tables-0.5.6-5 scim-1.4.4-21 scim-anthy-1.0.0-2.fc6 scim-libs-1.4.4-21 scim-qtimm-0.9.4-4 scim-libs-1.4.4-17 scim-m17n-0.2.0-3 And O.S. version in which tested is Fedora Core release 5.89 (Rawhide) - i386. Created attachment 131799 [details]
zh_CN-screenshot
Created attachment 131800 [details]
zh_TW-Screenshot-1
Created attachment 131801 [details]
zh_TW-Screenshot-2
Tested changing the input mode with CTRL + SHIFT.
Created attachment 131802 [details]
zh_TW-Screenshot-3
Created attachment 131803 [details]
zh_TW-Screenshot-4
Created attachment 131804 [details]
zh_TW-Screenshot-5
Created attachment 131805 [details]
zh_TW-Screenshot-6
See if any more screenshot needed. please inform.
Fix is in scim-chewing-0.3.1-2! (Darshan, please mention the package ver-rel next time.) ----- Additional Comments From toshiona.com 2006-07-02 21:56 EDT ------- The behaviors you attached are correct. If this problem occurs, no Chinese character nor alphabet with underline is shown. As we found, the problem intermittently occurs when input mode switched between "scim-talbes-chinese" and "scim-chewing". result is same as the result written in the comment no. - 12. Version tested for the component : scim-chewing-0.3.1-2.1 scim-qtimm-0.9.4-5 scim-pinyin-0.5.91-11.3.fc6 scim-bridge-gtkimm-0.2.6-1.fc6 scim-fcitx-3.1.1-5.fc6 scim-chinese-standard-0.0.2-3.fc6 scim-bridge-0.2.6-1.fc6 scim-input-pad-0.1.1-4.fc6 scim-libs-1.4.4-25.fc6 scim-devel-1.4.4-25.fc6 scim-fcitx-tools-3.1.1-5.fc6 scim-m17n-0.2.0-5.fc6 scim-doc-1.4.4-25.fc6 scim-tables-0.5.6-7 scim-tables-chinese-0.5.6-7 scim-skk-0.5.2-7.fc6 scim-tables-additional-0.5.6-7 Patch was included in -2 but not applied... Created attachment 134361 [details]
patch which applies, 0.3.1-2.3
Created attachment 134362 [details]
spec file of above patch
The patch is not applicable anymore. The expressions and variables in the patch are not used in recent version of scim & scim-chewing. ----- After I tried to reproduce the bug with the latest devel versions: scim-chewing-0.3.1-2.1 scim-devel-1.4.4-31.fc6 scim-debuginfo-1.4.4-31.fc6 scim-1.4.4-31.fc6 scim-tables-chinese-0.5.6-7 scim-tables-0.5.6-7 scim-chewing-debuginfo-0.3.1-2.1 scim-libs-1.4.4-31.fc6 The bug is either does not exist, or it is even not a bug. ----- The steps I reproduce the bug: 1. Alt-F2 -> input "gedit" -> gedit started, click on gedit window to focus. 2. Ctrl-space to turn on scim. 3. Ctrl-shifts to change to changjie. 4. input "aaa" and press Space, a character appears on gedit. 5. a character "æ¶" appears on gedit. 6. Ctrl-shift 3 times and scim changes to Canton-HK input method. 7. input "aa" and candidates come up, press "1" to let "å" appears on gedit. 8. Ctrl-shift 2 times and scim changes to chewing input method. 9. input "ma" and candidates come up, press "1" then enter to let "å" appears on gedit. 10. Ctrl-space to change scim back to english input mode. Repeated above steps but personally I reckon there is no problems found regarding the mentioned behavior problems of scim. ----- FYI, there are differences among the chinese imput methods, some of them uses space key to select a candidates, some of them uses enter key or number keys instead. Also, inputing "aaa" will not guarantee to match a candidate in certain chinese input methods. If eventually such behavior is defined as a bug, it might be considered as another bug when similar symptoms exists in the recent version. So to summarize: apparently the scim-chewing issue is fixed in scim-chewing-0.3.1 which is in FC development. Presumably the problem still exists in fc5: we should probably consider doing an update to fix that. The original patch by dsantani was supposed to put into FC-5 branch but it was in fact put into devel branch. The patch is only applicable to FC-5 (scim-chewing-0.2.1), which scim-chewing-0.3.1 does not need and also not applicable such patch. Patch has now been relocated properly and in progress of rebuild and test. Created attachment 134420 [details]
source rpm with patch
Created attachment 134421 [details]
i386 rpm patched
I rebuilt and did a basic test. ----- Additional Comments From shoji.com 2006-08-21 06:34 EDT ------- Nakamura-san, Could you kindly double check it with the latest scim RPM packages as attached ? Regards, scim-chewing-0.2.1-5.4.fc5 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. ----- Additional Comments From toshiona.com 2006-08-21 23:12 EDT ------- I verified the problem was fixed on scim-chewing-0.2.1-5.4.fc5.i386.rpm in http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/ Thank you. |