input for applications freezes with scim

Bug #147689 reported by Markus
6
Affects Status Importance Assigned to Milestone
scim (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: scim

When scim is active sometimes applications no longer receive/accept any input from keyboard.

After some experimentation I came up with the following procedure to reproduce this:

* Open firefox and any other window
* In firefox press ctrl-n immediately followed by alt-tab, focusing the other window
* A new firefox window apears and the input is frozen.

I'm using scim 1.4.7-1ubuntu2 and X11/Dynamic set to true (see Bug #66104).

.xinput.d/de_DE is a symbolic link to /etc/X11/xinit/xinput.d/scim and scim is started automatically when I log in.

After stopping scim via the applet sometimes the application continues to work normally, sometimes it crashes immediately and sometimes it crashes shortly afterwards.

I have to following scim-related packages installed

$ dpkg -l *scim*|grep '^.i'

ii libscim8c2a 1.4.7-1ubuntu2 library for SCIM platform
ii scim 1.4.7-1ubuntu2 smart common input method platform
ii scim-chewing 0.3.1-2ubuntu2 Chewing IM engine module for SCIM
ii scim-gtk2-immodule 1.4.7-1ubuntu2 GTK+2 input method module with SCIM as backe
ii scim-m17n 0.2.2-1 M17N Input Method Engine for SCIM
ii scim-modules-socket 1.4.7-1ubuntu2 socket modules for SCIM platform
ii scim-modules-table 0.5.7-1ubuntu2 generic tables IM engine module for SCIM pla
ii scim-pinyin 0.5.91-0ubuntu11 smart pinyin IM engine for SCIM platform
ii scim-qtimm 0.9.4-2ubuntu2 SCIM context plugin for qt-immodule
ii scim-tables-additional 0.5.7-1ubuntu2 miscellaneous input method data tables for S
ii scim-tables-zh 0.5.7-1ubuntu2 Chinese input method data tables for SCIM pl

ProblemType: Bug
Architecture: i386
Date: Mon Oct 1 16:30:52 2007
DistroRelease: Ubuntu 7.10
Uname: Linux fundstueck 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Tags: apport-bug
Revision history for this message
Ming Hua (minghua) wrote :

Please run command "/usr/share/bug/scim/script 3> scim.info", then attach the generated scim.info file, as well as your /etc/scim/global, /etc/scim/config, ~/.scim/global, ~/.scim/config, and /etc/X11/xinit/xinput.d/scim files to this bug. Thanks.

Revision history for this message
Jon-o Addleman (jaddle) wrote :

I'm seeing the same thing happening. Attached the requested files.

After closing scim gnome-panel and wallpaper-tray crashed (maybe others?) but firefox seems to have stayed put.

Revision history for this message
Markus (markus-schmaus) wrote :

And here are the requested files from me.

Revision history for this message
Ming Hua (minghua) wrote : [Bug 147689] Re: input for applications freezes with scim

Hi Jon-o Addleman,

On Tue, Oct 02, 2007 at 07:39:29PM -0000, Jon-o Addleman wrote:
> I'm seeing the same thing happening. Attached the requested files.

Thanks for sending the files, however your problem is known and
different from this bug:

$ grep "Dynamic" etc/scim/config
/FrontEnd/X11/Dynamic = false
$ grep "Dynamic" home/jono/.scim/config
/FrontEnd/X11/Dynamic = false

You problem has been analyzed in bug #66104, please look at that
bug report to see the workaround for the bug.

> After closing scim gnome-panel and wallpaper-tray crashed (maybe
> others?) but firefox seems to have stayed put.

This is expected. Closing scim in XIM mode will affect other
applications that used scim.

Ming
2007.10.06

Revision history for this message
Ming Hua (minghua) wrote :

On Tue, Oct 02, 2007 at 08:26:35PM -0000, Markus wrote:
> And here are the requested files from me.

Yes, your configuration indeed has /FrontEnd/X11/Dynamic set to true.

However, there is something very wrong. In scim.info:

> Related environment variables:
> $XMODIFIERS=
> $GTK_IM_MODULE=xim

The correct setting should have $XMODIFIERS=@im=SCIM. Actually, I am
surprised that scim works at all with these environment variables.
It seems you are not using the im-switch system to set up scim. Please
don't set up scim by yourself and use the system provided im-switch
system, and see if you still have the problem with correct setting.

Thanks,
Ming
2007.10.06

Revision history for this message
David Tansey (djtansey) wrote :

I saw bug #66104's description and was able to duplicate the lockup noted in that bug. when I closed scim, I was able to input text again. gnome-panel crashed when I did that.

I am responding to this bug because it is related to problems in gutsy. I was using scim input for Chinese without problems with feisty. Then I upgraded to gusty and starting seeing lockups in gnome-terminal and in oowriter and in nautilus. I don't think I've noticed as many in firefox... can't think of a firefox lockup off the top of my head...

so just saying that this is a problem on more than one system. I am going to install from the CD once the release candidate is out and see if that fixes anything.

~$ grep "X11/Dynamic" /etc/scim/config
/FrontEnd/X11/Dynamic = false

~$ grep "X11/Dynamic" ~/.scim/config
/FrontEnd/X11/Dynamic = false

~$ echo $GTK_IM_MODULE
xim

~$ dpkg -l scim-bridge
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
un scim-bridge <none> (no description available)

Revision history for this message
Ming Hua (minghua) wrote :

David Tansey wrote:
> I am responding to this bug because it is related to problems in gutsy. I was using scim input for Chinese without problems with feisty.

The problem described in bug #66104 applies to gutsy. Actually it will affect a default gutsy install, as you've found out (and as far as I know, the release candidate won't fix that problem).

I've updated the description in #66104 to make it more clear. Please read that bug again and see the workarounds provided there. Also please put further discussion in #66104 as well.

Revision history for this message
Ming Hua (minghua) wrote :

On Fri, Oct 26, 2007 at 08:29:44AM -0000, Alex Lee wrote:
> *** This bug is a duplicate of bug 66104 ***
> https://bugs.launchpad.net/bugs/66104
>
> ** This bug has been marked a duplicate of bug 66104
> scim: input freezes in various applications under XIM mode

Why? The original reporter said very clear that his problem is not the
same as bug #66104.

Ming
2007.10.26

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.