gnome-shell crashed with SIGABRT. Assertion failure in meta_gpu_kms_flip_crtc: "monitor_manager->power_save_mode == META_POWER_SAVE_ON"

Bug #1820331 reported by Anders Kaseorg
58
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
gnome-shell (Ubuntu)
Invalid
Medium
Unassigned
mutter (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

https://gitlab.gnome.org/GNOME/mutter/issues/509
https://errors.ubuntu.com/problem/52cd7eaa22c6b950716ba83212632fd706353971

---

In the last few weeks, gnome-shell has been crashing almost every time I open my laptop to wake it from suspend. The rapid pace of package updates has stopped Apport from letting me report it until now, but the problem persists.

ProblemType: Crash
DistroRelease: Ubuntu 19.04
Package: gnome-shell 3.32.0-1ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-7.8-lowlatency 5.0.0
Uname: Linux 5.0.0-7-lowlatency x86_64
NonfreeKernelModules: openafs
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Mar 15 11:22:20 2019
DisplayManager: gdm3
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gnome-shell
InstallationDate: Installed on 2016-02-19 (1120 days ago)
InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160218)
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_expr () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
 () at /usr/lib/x86_64-linux-gnu/libmutter-4.so.0
 () at /usr/lib/x86_64-linux-gnu/libmutter-4.so.0
 g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
Title: gnome-shell crashed with SIGABRT
UpgradeStatus: Upgraded to disco on 2018-12-15 (90 days ago)
UserGroups: adm audio bumblebee cdrom dip docker libvirt libvirtd lpadmin lxd mock plugdev sambashare sbuild sudo wireshark
separator:

Related branches

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=0x7f7075698490 <__FUNCTION__.106414> "meta_gpu_kms_flip_crtc", message=<optimized out>) at ../../../glib/gtestutils.c:2878
 g_assertion_message_expr (domain=domain@entry=0x7f707568285f "mutter", file=file@entry=0x7f7075698358 "../src/backends/native/meta-gpu-kms.c", line=line@entry=276, func=func@entry=0x7f7075698490 <__FUNCTION__.106414> "meta_gpu_kms_flip_crtc", expr=expr@entry=0x7f70756983a0 "monitor_manager->power_save_mode == META_POWER_SAVE_ON") at ../../../glib/gtestutils.c:2904
 meta_gpu_kms_flip_crtc (gpu_kms=gpu_kms@entry=0x5564d6c7ade0, crtc=crtc@entry=0x5564d6edceb0, fb_id=117, flip_closure=0x5564d7ecfa40, error=error@entry=0x7ffc6c54b680) at ../src/backends/native/meta-gpu-kms.c:276
 retry_page_flips (user_data=0x5564d9e25db0) at ../src/backends/native/meta-renderer-native.c:1576
 g_main_dispatch (context=0x5564d6c69e80) at ../../../glib/gmain.c:3189

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
Anders Kaseorg (andersk)
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gnome-shell crashed with SIGABRT

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

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
El jinete sin cabeza (ejsc) wrote :
Changed in gnome-shell (Ubuntu):
status: Confirmed → Invalid
description: updated
Changed in mutter (Ubuntu):
status: New → Confirmed
description: updated
affects: gnome-shell → mutter
Changed in mutter:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
summary: - gnome-shell crashed with SIGABRT
+ gnome-shell crashed with SIGABRT. Assertion failure in
+ meta_gpu_kms_flip_crtc: "monitor_manager->power_save_mode ==
+ META_POWER_SAVE_ON"
description: updated
Changed in mutter:
status: New → Fix Released
Changed in mutter:
status: Fix Released → Unknown
description: updated
Changed in mutter:
status: Unknown → New
Changed in mutter:
status: New → Fix Released
Changed in mutter (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
tags: added: fixed-in-3.32.1 fixed-upstream
Revision history for this message
Anders Kaseorg (andersk) wrote :

I hope 3.32.1 will get into Disco, but in case this can’t happen and a more minimal set of patches is required, these are the nine upstream patches I added to my mutter package to get it to stop crashing on wakeup:

fe86694dd renderer/native: Make EGLStream page flip errors non-fatal
1eabaf12d renderer/native: Make the EGLStreams operate in mailbox mode
4cae9b5b1 monitor-manager: Clean up DPMS state tracking
40e7e5d35 renderer-native: Fix page flip retry timeout calculation
53b59d8bf renderer-native: Fake page flipped if power saving when retrying
3cc3b7526 renderer-native: Fake page flipping slower when power saving
88e4ff740 backend: Add API to freeze/thaw frame clock
808a75b23 renderer-native: Add helper to get backend from renderer
b2d0184c6 renderer-native: Freeze frames while retrying to page flip

Note that they were accepted into master nonconsecutively, with other commits between 1eabaf12d and 4cae9b5b1.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix committed via Debian:

mutter (3.32.0+git20190410-1) experimental; urgency=medium

Changed in mutter (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.32.0+git20190410-1ubuntu1

---------------
mutter (3.32.0+git20190410-1ubuntu1) disco; urgency=medium

  * Merge with debian git snapshot (LP: #1820542), remaining changes:
    + debian/control:
      - Update VCS flags to point to launchpad
      - Update maintainer to ubuntu
    + debian/gbp.conf: update branch to point to ubuntu/master
    + debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      - X11: Add support for fractional scaling using Randr
  * d/p/x11-Add-support-for-fractional-scaling-using-Randr.patch:
    - Refreshed.

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 10 Apr 2019 20:12:29 -0500

Changed in mutter (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.