GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

Bug #1950065 reported by Tong Sun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fcitx (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm getting the following error whenever I start GTK related programs, like meld, firefox etc:

GLib-GIO-CRITICAL **: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed

All search hits suggests that it is fcitx-module-dbus' problem, and removing it will solve the problem. However, I do want to keep fcitx-module-dbus. Any other alternatives?

I asked in a developer group and they suggest to upgrade to fcitx5 instead, but so far I can only find fcitx-module-dbus in 21.10 impish's repo, but it does has fcitx5.

Can fcitx5-module-dbus be packed and available in 21.10 impish please?

$ date; meld
Sat Nov 6 17:46:39 EDT 2021
2021-11-06 17:47:05,368 CRITICAL Gtk:
(org.gnome.meld:26756): GLib-GIO-CRITICAL **: 17:47:05.368: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
2021-11-06 17:47:05,368 CRITICAL Gtk:
(org.gnome.meld:26756): GLib-GIO-CRITICAL **: 17:47:05.368: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
. . .

Basically it is causing every GTK related programs, like meld, firefox etc, to have an extended delay in starting.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish

$ sudo apt list fcitx* | grep installed
fcitx-bin/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-config-common/impish,impish,now 0.4.10-3 all [installed,automatic]
fcitx-config-gtk/impish,now 0.4.10-3 amd64 [installed,automatic]
fcitx-data/impish,impish,now 1:4.2.9.8-3 all [installed,automatic]
fcitx-frontend-all/impish,impish,now 1:4.2.9.8-3 all [installed,automatic]
fcitx-frontend-gtk2/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-frontend-gtk3/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-frontend-qt5/impish,now 1.2.5-1ubuntu2 amd64 [installed,automatic]
fcitx-module-dbus/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-module-kimpanel/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-module-lua/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-module-x11/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-modules/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx-ui-classic/impish,now 1:4.2.9.8-3 amd64 [installed,automatic]
fcitx5-module-quickphrase-editor/impish,now 1.2.5-1ubuntu2 amd64 [installed,automatic]
fcitx/impish,impish,now 1:4.2.9.8-3 all [installed,automatic]

And I've just reinstalled them all.

Revision history for this message
Tong Sun (suntong001) wrote :

So far I can only find fcitx-module-dbus *version 4* in 21.10 impish's repo, but it does has fcitx5.

Revision history for this message
Tong Sun (suntong001) wrote :

> And I've just reinstalled them all.

with,

sudo apt install --reinstall fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt5:amd64 fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic fcitx5-module-quickphrase-editor:amd64

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.