Bug 237439

Summary: Scim may cause that the gui applications associated with scim lose response
Product: [Fedora] Fedora Reporter: William Gan <onlyou.gan>
Component: scim-pinyinAssignee: Peng Huang <phuang>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: 6CC: eng-i18n-bugs, james.su, luoyuhong, onlyou.gan, petersen
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 0.5.91-22.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-16 00:39:20 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:
Attachments:
Description Flags
The crash profile of Konqueror
none
The crash profile of Konqueror with debug info
none
The gdb backtrace of konqueror
none
The tar of $HOME/.scim none

Description William Gan 2007-04-23 03:56:11 UTC
Description of problem:
When I set the option 'Input Method' as 'Follow the system-wide
configuration[SCIM]', the Konqueror crashes[See attachment] and the firefox
responses too slow to work.
When I set the option 'Input Method' as 'Never use input method', all things are
ok..

Version-Release number of selected component (if applicable):
The packages associated with scim installed in my laptop:
scim-tables-0.5.7-2.1.fc6
scim-tables-chinese-0.5.7-2.1.fc6
scim-1.4.4-37.fc6
scim-bridge-0.4.10-1.fc6
scim-libs-1.4.4-37.fc6
scim-chewing-0.3.1-7.fc6
scim-pinyin-0.5.91-12.fc6
scim-bridge-gtk-0.4.10-1.fc6
scim-qtimm-0.9.4-5

How reproducible:
Follow my description.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
The Konqueror crashes.

Expected results:


Additional info:

Comment 1 William Gan 2007-04-23 03:56:11 UTC
Created attachment 153264 [details]
The crash profile of Konqueror

Comment 2 Jens Petersen 2007-04-27 07:54:54 UTC
Can you please install scim-pinyin-debuginfo and scim-debuginfo
to help get a more detailed backtrace.

Comment 3 William Gan 2007-04-30 02:47:37 UTC
Created attachment 153757 [details]
The crash profile of Konqueror with debug info

Comment 4 Jens Petersen 2007-04-30 03:14:57 UTC
Can you try uninstalling scim-pinyin temporarily and restarting your desktop
to see if you still get the crash without scim-pinyin?

Thanks for the gdb backtraces btw: one problem with them is that they are missing
the inner stack frames apparently.  Sorry but could you try running konqueror
directly from gdb like this:

$ gdb konqueror
(gdb) run
:
:
(gdb) backtrace

and if that gives more information please attach the output here.  Thanks.

Comment 5 William Gan 2007-05-09 01:53:32 UTC
Created attachment 154373 [details]
The gdb backtrace of konqueror

Comment 6 Jens Petersen 2007-05-09 02:49:32 UTC
Thanks for the new backtrace, so it seems the crash is occurring in scim-pinyin.

Would you be able to disable Smart Pinyin (either temporarily remove scim-pinyin,
disable it in scim-setup, or at least try changing to an other SCIM IMEngine) to
so see if it also crashes then?

Comment 7 William Gan 2007-05-10 02:59:34 UTC
[root@william ~]# scim-setup 
/usr/bin/scim-setup: line 32:  3753 Segmentation fault     
/usr/lib/scim-1.0/scim-helper-launcher setup 8034d025-bdfc-4a10-86a4-82b9461b32b0 $*


Comment 8 William Gan 2007-05-10 03:29:05 UTC
When I remove the package scim-pinyin, everything is ok.

Comment 9 Peng Huang 2007-05-14 01:17:36 UTC
Does scim-pinyin only crash with Konqueror and firefox? Can it work well with
other gnome and kde applications?

Comment 10 William Gan 2007-05-14 01:37:35 UTC
Most apps [Terminal and Text Editor for GNOME]associated with scim-pinyin have
no response for 3-10 secs and then works.

Comment 11 Peng Huang 2007-05-14 01:40:04 UTC
I can not reproduce it in my box. I guess maybe it is because of bad phrase
files or configure files. Could you backup and remove $HOME/.scim folder and
restart desktop to test it? If I am right, please package .scim folder and
attach it to bugzilla. Thanks.

Comment 12 Jens Petersen 2007-05-14 01:55:39 UTC
Also are you using GNOME or KDE desktop?

Comment 13 William Gan 2007-05-15 02:19:24 UTC
You are right. First I backup the $HOME/.scim folder and then remove it,
everything is ok.
See attached.

Comment 14 William Gan 2007-05-15 02:20:11 UTC
Created attachment 154702 [details]
The tar of $HOME/.scim

Comment 15 Peng Huang 2007-06-06 06:20:09 UTC
It is because of some errors in bad user pinyin phrase table or configure files.
I think it should not happen if use does not do some lethal operations (like
shutdown computer by power button). So I will close it as NOTABUG. If anyone
find similar bugs, feel free to reopen it. :)


Comment 16 Peng Huang 2007-10-19 09:16:16 UTC
*** Bug 322301 has been marked as a duplicate of this bug. ***

Comment 17 Peng Huang 2007-11-15 07:50:29 UTC
Fixed in scim-pinyin-0_5_91-22_fc8 and scim-pinyin-0_5_91-22_fc9

Comment 18 Fedora Update System 2007-11-16 00:39:18 UTC
scim-pinyin-0.5.91-22.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.