gnome-shell crashed with SIGABRT [St:ERROR:../src/st/st-image-content.c:155:st_image_content_get_preferred_size: assertion failed (priv->width > -1): (-1 > -1)]

Bug #1819126 reported by Didier Roche-Tolomelli
38
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)

Bug Description

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1027
https://errors.ubuntu.com/problem/40bb6815b23393e7dfa95f5895de4b0603ac431b

---

The crash happened when a new application or system crash report window from update-notifier showed up.

Reproducer:
1. sleep 1000 on one terminal
2. kill -SIGSEGV $(pidof sleep)
-> wait for update-notifier to try showing up apport (application crash) or update-notifier (system crash) windows. This can take up to 180s.

-----

ProblemType: Crash
DistroRelease: Ubuntu 19.04
Package: gnome-shell 3.31.92-1ubuntu1
ProcVersionSignature: Ubuntu 4.19.0-13.14-generic 4.19.20
Uname: Linux 4.19.0-13-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 8 09:32:41 2019
DisplayManager: gdm3
ExecutablePath: /usr/bin/gnome-shell
InstallationDate: Installed on 2018-05-24 (287 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcCmdline: /usr/bin/gnome-shell
Signal: 6
SourcePackage: gnome-shell
StacktraceTop:
 () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_assertion_message_cmpnum () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 () at /usr/lib/gnome-shell/libst-1.0.so
 clutter_actor_get_preferred_size () at /usr/lib/x86_64-linux-gnu/mutter-4/libmutter-clutter-4.so.0
 clutter_actor_get_transformed_size () at /usr/lib/x86_64-linux-gnu/mutter-4/libmutter-clutter-4.so.0
Title: gnome-shell crashed with SIGABRT
UpgradeStatus: Upgraded to disco on 2019-01-08 (58 days ago)
UserGroups: adm cdrom dip docker kvm libvirt lpadmin plugdev sambashare sudo
separator:

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :
description: updated
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
 __GI_abort () at abort.c:79
 g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7fe35362efe0 <__FUNCTION__.49030> "st_image_content_get_preferred_size", message=<optimized out>) at ../../../glib/gtestutils.c:2878
 g_assertion_message_cmpnum (domain=domain@entry=0x7fe35362d634 "St", file=file@entry=0x7fe35362eef7 "../src/st/st-image-content.c", line=line@entry=155, func=func@entry=0x7fe35362efe0 <__FUNCTION__.49030> "st_image_content_get_preferred_size", expr=expr@entry=0x7fe35362eee6 "priv->width > -1", arg1=-1, cmp=cmp@entry=0x7fe35362eee4 ">", arg2=-1, numtype=105 'i') at ../../../glib/gtestutils.c:2937
 st_image_content_get_preferred_size (content=0x55e715c2f0a0, width=0x7ffc89352100, height=0x7ffc89352104) at ../src/st/st-image-content.c:155

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 : ThreadStacktrace.txt
Changed in gnome-shell (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: gnome-shell crashed with SIGABRT

Hmm, Seb mentioned this yesterday. But I think this is the first bug report.

summary: - gnome-shell crashed with SIGABRT
+ gnome-shell crashed with SIGABRT [St:ERROR:../src/st/st-image-
+ content.c:155:st_image_content_get_preferred_size: assertion failed
+ (priv->width > -1): (-1 > -1)]
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

JournalErrors.txt says:

mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: **
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: St:ERROR:../src/st/st-image-content.c:155:st_image_content_get_preferred_size: assertion failed (priv->width > -1): (-1 > -1)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: GNOME Shell crashed with signal 6
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: == Stack trace for context 0x55e7108c61c0 ==
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #0 55e7142db810 i resource:///org/gnome/shell/ui/messageTray.js:1309 (7fe3358a5700 @ 432)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #1 55e7142db758 i resource:///org/gnome/shell/ui/messageTray.js:1225 (7fe3358a53a0 @ 462)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #2 55e7142db6a8 i resource:///org/gnome/shell/ui/messageTray.js:1089 (7fe3358a3f70 @ 303)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #3 7ffc893548c0 b self-hosted:979 (7fe33584e8b0 @ 440)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #4 7ffc893549b0 b resource:///org/gnome/gjs/modules/signals.js:128 (7fe335bcb820 @ 386)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #5 55e7142db618 i resource:///org/gnome/shell/ui/messageTray.js:795 (7fe3358a3040 @ 100)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #6 55e7142db570 i resource:///org/gnome/shell/ui/windowAttentionHandler.js:47 (7fe335684ee0 @ 489)
mars 08 09:32:41 hostname org.gnome.Shell.desktop[2198]: #7 7ffc89356000 b self-hosted:979 (7fe33584e8b0 @ 440)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
description: updated
tags: added: regression-proposed
tags: added: regression
removed: regression-proposed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
description: updated
information type: Private → Public
Changed in gnome-shell (Ubuntu):
importance: Medium → High
tags: added: rls-dd-incoming
tags: added: fixed-upstream
Changed in gnome-shell (Ubuntu):
status: Confirmed → Triaged
Changed in gnome-shell (Ubuntu):
status: Triaged → Fix Committed
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
tags: added: fixed-3.32.0
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

I confirmed that 3.32.0 + trunk commits fixes the crash.

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.