[Pkg-ime-devel] Bug#650731: ibus: causes gnome-terminal and other GTK3 apps to hang on session restore

Fuwa fuwa Time fuwafuwa.time at yahoo.com
Fri Dec 2 12:06:32 UTC 2011

Package: ibus
Version: 1.4.0-1
Severity: important

Dear Maintainer,

   * What led up to the situation?

After a recent kernel upgrade, I rebooted my computer. When I logged
onto my XFCE 4.8 desktop, which had a stored gnome-terminal session
with several windows and tabs, gnome-terminal just popped up with
windows that didn't accept any keyboard input. While the window
and tab titles were present and could be clicked and dragged, the
terminal itself couldn't be used for any shell activity. In short,
gnome terminal had hung.

   * What exactly did you do (or not do) that was effective (or

Surprisingly, after killing the hung gnome-terminal instance,
I could run another gnome-terminal session without any
problems. Gnome-terminal appears to hang only when started from
the saved XFCE session.

After some trial and error involving deleting the session cache, etc,
I was able to stumble upon a weird fix. If I removed a certain ibus
config file, *before* I log onto XFCE (by logging in temporarily
at the Linux console), I was able to run gnome-terminal straight
from the XFCE session. The fix is:

rm ~/.cache/ibus/bus/registry.xml

This convinces me the problem with the hung gnome-terminal is
a problem with Ibus. I also observed this "hung" behavior when
Nautilus is run from a saved XFCE session.

Sorry for my poor English.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ibus depends on:
ii  gconf2           3.2.3-1  
ii  im-config        0.5      
ii  libc6            2.13-21  
ii  libgconf2-4      3.2.3-1  
ii  libglib2.0-0     2.30.2-4 
ii  libgtk2.0-0      2.24.8-2 
ii  libibus-1.0-0    1.4.0-1  
ii  librsvg2-common  2.34.2-1 
ii  libx11-6         2:1.4.4-4
ii  python           2.7.2-9  
ii  python-ibus      1.4.0-1  
ii  python-notify    0.1.1-3  
ii  python-xdg       0.19-3   

Versions of packages ibus recommends:
ii  ibus-gtk  1.4.0-1   
ii  ibus-qt4  1.3.1-2+b1

ibus suggests no packages.

-- no debconf information

More information about the Pkg-ime-devel mailing list