Object 0x... of type IBusText has been finalized while it was still owned by gjs, this is due to invalid memory management

Bug #1965673 reported by lotuspsychje
60
This bug affects 13 people
Affects Status Importance Assigned to Milestone
ibus
Unknown
Unknown
gnome-shell (Ubuntu)
Invalid
Undecided
Unassigned
ibus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Ubuntu 22.04 development branch @ 20/03/2022

Journal logs spam a lot of lines like these:

mrt 20 13:36:38 R00TB00K gnome-shell[3452]: Object 0x7f896cf7cad0 of type IBusText has been finalized while it was still owned by gjs, this is due to invalid memory management.
mrt 20 13:36:38 R00TB00K gnome-shell[3452]: Object 0x557a992efd20 of type IBusText has been finalized while it was still owned by gjs, this is due to invalid memory management

Probably regression bug upstream:

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5147

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42~beta-1ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
Uname: Linux 5.15.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu79
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Mar 20 13:34:37 2022
DisplayManager: gdm3
RelatedPackageVersions: mutter-common 42~beta-1ubuntu2
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.xdg.autostart.gnome-shell-overrides-migration.desktop: 2021-10-23T19:12:47.175230

Revision history for this message
lotuspsychje (lotuspsychje) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
summary: - Object 0x557aa9440850 of type IBusText has been finalized while it was
- still owned by gjs, this is due to invalid memory management
+ Object 0x... of type IBusText has been finalized while it was still
+ owned by gjs, this is due to invalid memory management
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ibus (Ubuntu):
status: New → Confirmed
Revision history for this message
Cam Cope (ccope) wrote :

Sounds like https://github.com/ibus/ibus/pull/2394 might fix the issue?

Changed in ibus (Ubuntu):
status: Confirmed → Fix Committed
Changed in gnome-shell (Ubuntu):
status: Confirmed → Invalid
tags: added: fixed-in-1.5.27 fixed-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus - 1.5.26-3

---------------
ibus (1.5.26-3) unstable; urgency=medium

  * Team upload
  * d/p/src-Fix-refcounting-issues.patch:
    - Cherry picked from upstream (LP: #1965673)

 -- Gunnar Hjalmarsson <email address hidden> Mon, 04 Apr 2022 13:01:37 +0200

Changed in ibus (Ubuntu):
status: Fix Committed → 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.