gjs-console crashed with signal 6 in g_assertion_message("assertion failed: (!priv->is_realized)") from g_assertion_message_expr() from gsk_renderer_dispose() from gsk_renderer_dispose() from g_object_unref()

Bug #2012287 reported by Maxim Solodovnik
186
This bug affects 35 people
Affects Status Importance Assigned to Milestone
GNOME Characters
Fix Released
Unknown
gjs (Ubuntu)
Won't Fix
Medium
Marco Trevisan (Treviño)
gnome-characters (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)
Lunar
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

Test Case
---------
1. From Ubuntu 22.10, install Lunar's glib 2.76.1
2. Log out
3. Log back in
4. Open the GNOME Shell Activities Overview and type the word smile
5. Close the Activities Overview

What Happens
------------
In my case, if I repeat 4 and 5 several times, I will eventually get an apport crash popup dialog reporting that the GNOME Shell search provider for GNOME Characters has crashed.

Tracking In
-----------
https://errors.ubuntu.com/problem/031c8ecfc5e8a51d75d6a028554e9c5354792705

Other Info
----------
This isn't a gjs bug, but I'm leaving the gjs task open since I think apport looks for it.

ProblemType: Crash
DistroRelease: Ubuntu 23.04
Package: gjs 1.75.90-1
Uname: Linux 6.1.0-16-generic x86_64
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 20 23:04:59 2023
ExecutablePath: /usr/bin/gjs-console
ExecutableTimestamp: 1678210639
ProcCmdline: /usr/bin/gjs-console /usr/bin/gnome-characters --gapplication-service
ProcCwd: /home/solomax
Signal: 6
SourcePackage: gjs
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo

Revision history for this message
Maxim Solodovnik (solomax666) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message (domain=domain@entry=0x7fa3cbccf4c7 "Gsk", file=file@entry=0x7fa3cbd218fe "../../../gsk/gskrenderer.c", line=line@entry=144, func=func@entry=0x7fa3cbd23190 <__func__.18.lto_priv.49> "gsk_renderer_dispose", message=message@entry=0x55c273098ad0 "assertion failed: (!priv->is_realized)") at ../../../glib/gtestutils.c:3444
 g_assertion_message_expr (domain=domain@entry=0x7fa3cbccf4c7 "Gsk", file=file@entry=0x7fa3cbd218fe "../../../gsk/gskrenderer.c", line=line@entry=144, func=func@entry=0x7fa3cbd23190 <__func__.18.lto_priv.49> "gsk_renderer_dispose", expr=expr@entry=0x7fa3cbd218eb "!priv->is_realized") at ../../../glib/gtestutils.c:3470
 gsk_renderer_dispose (gobject=<optimized out>) at ../../../gsk/gskrenderer.c:144
 gsk_renderer_dispose (gobject=<optimized out>) at ../../../gsk/gskrenderer.c:137
 g_object_unref (_object=0x55c27335c4c0) at ../../../gobject/gobject.c:3891

tags: removed: need-amd64-retrace
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceTop.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in gjs (Ubuntu):
importance: Undecided → Medium
tags: added: lunar
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Something invisible chashed

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

Changed in gjs (Ubuntu):
status: New → Confirmed
Jeremy Bícha (jbicha)
information type: Private → Public
Jeremy Bícha (jbicha)
Changed in gnome-characters (Ubuntu):
importance: Undecided → High
status: New → Triaged
summary: - Something invisible chashed
+ GNOME Characters search provider for GNOME Shell 44 crashes
Jeremy Bícha (jbicha)
description: updated
description: updated
Changed in gnome-characters:
status: Unknown → New
Changed in gnome-characters:
status: New → Fix Released
Revision history for this message
AndreK (andre-k) wrote : Re: GNOME Characters search provider for GNOME Shell 44 crashes

seeing this on Ubuntu 23.04

Revision history for this message
Pavel Selivanov (muiriled) wrote :

I'm getting this error every time I'm launching Steam (deb version).

Changed in gjs (Ubuntu Kinetic):
status: New → Confirmed
importance: Undecided → Medium
Changed in gnome-characters (Ubuntu Kinetic):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I'm dropping the Kinetic tasks since we don't support glib 2.76.1 on Kinetic.

no longer affects: gjs (Ubuntu Kinetic)
no longer affects: gnome-characters (Ubuntu Kinetic)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
Revision history for this message
Shy Zedaka (shaytzedaka) wrote :

Had this aswell on a fresh install of Ubuntu 23.04 Beta.

summary: - GNOME Characters search provider for GNOME Shell 44 crashes
+ gjs-console crashed with signal 6 in g_assertion_message("assertion
+ failed: (!priv->is_realized)") from g_assertion_message_expr() from
+ gsk_renderer_dispose() from gsk_renderer_dispose() from g_object_unref()
description: updated
Changed in gnome-characters:
status: Fix Released → Unknown
Changed in gnome-characters (Ubuntu Lunar):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Triaged → In Progress
Changed in gnome-characters:
status: Unknown → New
Changed in gjs (Ubuntu Lunar):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
no longer affects: gjs (Ubuntu Lunar)
Changed in gjs (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-characters - 44.0-2

---------------
gnome-characters (44.0-2) experimental; urgency=medium

  * debian/patches: Do not crash when rendering invisible characters
    (LP: #2012287)
  * debian/control: Add build-dependencies on xvfb and gjs for testing

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 14 Apr 2023 05:04:46 +0200

Changed in gnome-characters (Ubuntu Lunar):
status: In Progress → Fix Released
Changed in gnome-characters:
status: New → 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.