Loading IM context type 'ibus' failed

Bug #1865907 reported by liufeng4080
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Fix Released
High
Unassigned
ibus (Debian)
Fix Released
Unknown
ibus (Ubuntu)
Fix Released
High
Gunnar Hjalmarsson

Bug Description

Regression issue caused by recent system updates on Ubuntu 20.04 Focal Fossa (development branch)

Many(or to say, most) applications,like eclipse,lazarus,gnome-shell,gedit... reported below error in syslog or console as,
...
(lazarus-ide:20387): Gtk-WARNING **: 00:11:55.562: Loading IM context type 'ibus' failed
(lazarus-ide:20387): Gtk-WARNING **: 00:11:55.566: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
...

and Pinyin input method does not work in these applications.

Symptom occurs since I updated below 17 packages some hours before,
gir1.2-ibus-1.0
gvfs
gvfs-backends
gvfs-bin
gvfs-common
gvfs-daemons
gvfs-fuse
gvfs-libs
ibus
ibus-data
ibus-gtk
ibus-gtk3
libglib2.0-0
libgtk-3-0
libgtk2.0-0
libibus-1.0-5
python3-ibus-1.0

current versions of above packages are,
gir1.2-ibus-1.0/focal,now 1.5.22-1~exp1ubuntu1 amd64 [installed]
gvfs/focal,now 1.43.92-1ubuntu1 amd64 [installed]
gvfs-backends/focal,now 1.43.92-1ubuntu1 amd64 [installed,automatic]
gvfs-bin/focal,now 1.43.92-1ubuntu1 amd64 [installed]
gvfs-common/focal,focal,now 1.43.92-1ubuntu1 all [installed]
gvfs-daemons/focal,now 1.43.92-1ubuntu1 amd64 [installed]
gvfs-fuse/focal,now 1.43.92-1ubuntu1 amd64 [installed]
gvfs-libs/focal,now 1.43.92-1ubuntu1 amd64 [installed]
ibus/focal,now 1.5.22-1~exp1ubuntu1 amd64 [installed,automatic]
ibus-data/focal,focal,now 1.5.22-1~exp1ubuntu1 all [installed,automatic]
ibus-gtk/focal,now 1.5.22-1~exp1ubuntu1 amd64 [installed]
ibus-gtk3/focal,now 1.5.22-1~exp1ubuntu1 amd64 [installed]
libglib2.0-0/focal,now 2.63.5-2 amd64 [installed]
libgtk-3-0/focal,now 3.24.13-1ubuntu1 amd64 [installed]
libgtk2.0-0/focal,now 2.24.32-4ubuntu4 amd64 [installed]
libibus-1.0-5/focal,now 1.5.22-1~exp1ubuntu1 amd64 [installed]
python3-ibus-1.0/focal,focal,now 1.5.22-1~exp1ubuntu1 all [installed,automatic]

description: updated
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report! I could reproduce the problem, which is a bit weird because IBus was updated yesterday and the IBus input methods I tested worked fine then...

Anyway, I see in the error message: "GLib version too old". So I upgraded the libglib2.0-* packages to version 2.64.0-1 (from focal-proposed) and that fixed the issue.

So it looks like we just need to be patient and wait for libglib2.0-* to migrate to focal-release.

Changed in glib2.0 (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Changed in ibus (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
liufeng4080 (liufeng4080) wrote :

Symptom unreproducible after glib upgraded to proposed libglib2.0-0/focal-proposed,now 2.64.0-1 amd64 [installed].

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

glib2.0 2.64.0-1 migrated to -release. Closing this bug.

Changed in glib2.0 (Ubuntu):
status: Confirmed → Fix Released
Changed in ibus (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Reopening the ibus task, since there is a fix in Debian which will prevent this issue from showing up going forward.

Changed in ibus (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: Fix Released → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus - 1.5.22-2ubuntu1

---------------
ibus (1.5.22-2ubuntu1) focal; urgency=medium

  * Merge from Debian unstable (LP: #1865907). Remaining changes:
    - d/p/ubuntu-disable-trigger.patch
    - d/p/ubuntu-forward-panel-properties.patch
    - d/p/ubuntu-unicode-keybinding.patch
    - d/rules, d/control: use dh_translations
    - Add breaks for older libglib2.0-0 releases which do not contain
      the GDBusServer fix for Qt applications

ibus (1.5.22-2) unstable; urgency=medium

  [ Changwoo Ryu ]
  * Revert the emoji-test.txt embedding and use emoji-test.txt in
    unicode-data (>= 13.0.0-2), which ships this file (#953795).
  * debian/patches/libexec-fhs2-compat.patch: Provide compatibility with
    FHS 2.x built ibus engine packages, after moving to /usr/libexec
  * debian/rules: Set GVFS_DISABLE_FUSE=1 while running tests, to prevent
    gvfsd from mounting FUSE filesystems.
  * debian/patches/remove-glib-check-version.patch: Do not check glib
    runtime version on gtk immodule init. (Closes: #954207)
  * debian/ibus.bug-script: Updated
    - Use /bin/sh instead of /bin/bash
    - Remove locale/shell envvars which are redundant (See #946326)
    - Add more settings from GSettings, localectl, setxkbmap and ~/.Xmodmap
      (Closes: #942470)

  [ Laurent Bigonville ]
  * Move the daemons to /usr/libexec now that's allowed in the policy

ibus (1.5.22-1) unstable; urgency=high

  [ Changwoo Ryu ]
  * debian/lintian-overrides: Ignore lintian info
    hardening-no-fortify-functions on /usr/bin/ibus-daemon. It uses
    readlink(2) which is not protectable.
  * debian/copyright: Correct copyright years and add new files
  * Fix FTBFS with unicode-data 13.0 (Closes: #953775)
    - debian/emoji/emoji-test.txt: Added in the source, downloaded from
      https://www.unicode.org/Public/emoji/13.0/.
    - debian/README.source: Add information on it
    - debian/copyright: Add Unicode license
    - debian/rules: Add --with-unicode-emoji-dir flag
  * debian/control: Update Build-Depends
    - The upstream requires GTK 3.12.0

  [ Laurent Bigonville ]
  * debian/control: Add libglib2.0-doc to the Build-Depends-Indep. This
    will fix the link between the ibus documentation and the GLib one

 -- Gunnar Hjalmarsson <email address hidden> Sat, 21 Mar 2020 23:32:00 +0100

Changed in ibus (Ubuntu):
status: In Progress → Fix Released
affects: glib2.0 (Debian) → ibus (Debian)
Changed in ibus (Debian):
status: Unknown → Fix Released
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.