gnome-shell crashed with SIGSEGV in clutter_stage_view_get_onscreen() from meta_stage_impl_add_onscreen_frame_info() from add_onscreen_frame_info() from post_finish_frame() from try_post_latest_swap()

Bug #2020049 reported by errors.ubuntu.com bug bridge
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
High
Daniel van Vugt
Lunar
Fix Committed
High
Daniel van Vugt
Mantic
Fix Released
High
Daniel van Vugt

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-shell. This problem was most recently seen with package version 44.0-2ubuntu3, the problem page at https://errors.ubuntu.com/problem/c675f1d61cef940571272d7e655162f1b1cddab1 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

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

Looks like triple buffering, probably.

summary: - /usr/bin/gnome-
- shell:11:clutter_stage_view_get_onscreen:meta_stage_impl_add_onscreen_frame_info:add_onscreen_frame_info:post_finish_frame:try_post_latest_swap
+ gnome-shell crashed with SIGSEGV in clutter_stage_view_get_onscreen()
+ from meta_stage_impl_add_onscreen_frame_info() from
+ add_onscreen_frame_info() from post_finish_frame() from
+ try_post_latest_swap()
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
tags: added: triple-buffering
Changed in mutter (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in mutter (Ubuntu):
status: New → In Progress
importance: Undecided → High
tags: added: mantic
Revision history for this message
Florian Beier (flobeier) wrote :

If there is anything I can do to assist in getting this bug fixed, please let me know. Today I had two crashes on resume from the lock screen.

Revision history for this message
derheld42 (carter-smithhart) wrote :

Me too. From lock screen, I unlocked with password and turned on my monitor. 2 seconds later it crashed.

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

I haven't been able to reproduce this crash yet, but it looks like it's related to monitors disconnecting during sleep mode (which is normal but doesn't happen on all machines). So I will have to try more types of monitors...

Revision history for this message
Florian Beier (flobeier) wrote :

I'm using a ThinkPad T14 (AMD) Gen 1 connected to a 38" LG monitor via USB-C using DisplayPort alternate mode. I can quite reliably reproduce the crash, it happens a few times per day when resuming from a locked screen.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-upstream
Changed in mutter (Ubuntu Lunar):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Daniel van Vugt (vanvugt)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 44.2-3ubuntu1

---------------
mutter (44.2-3ubuntu1) mantic; urgency=medium

  * Merge with Debian. Remaining changes:
    - Add x11-Add-support-for-fractional-scaling-using-Randr.patch
    - Add window-Add-ability-to-override-the-edge-constraints.patch
      + Make possible for extensions (such as Tiling Assistant) to override
        window constraints

mutter (44.2-3) experimental; urgency=medium

  * Cherry-pick patch to fix build test with mesa 23.1 (LP: #2025287)

mutter (44.2-2ubuntu1) mantic; urgency=medium

  * Merge with Debian. Remaining changes:
    - Add x11-Add-support-for-fractional-scaling-using-Randr.patch
    - Add window-Add-ability-to-override-the-edge-constraints.patch
      + Make possible for extensions (such as Tiling Assistant) to override
        window constraints

mutter (44.2-2) experimental; urgency=medium

  [ Daniel van Vugt ]
  * Cherry-pick 2 patches for stuttering fixes
    * Avoid cursor stuttering over some windows (LP: #2023766). This will also
      improve best-case input latency by roughly half a frame.
    * Avoid render stuttering in some fullscreen games (LP: #2016990).
  * Update Support-Dynamic-triple-double-buffering.patch
    * Fix a failure to resume from sleep (frozen black screen), which seems
      to be an old bug but only became likely in 44.1.
    * Fix a crash on resume from sleep (LP: #2020049).

 -- Jeremy Bícha <email address hidden> Wed, 28 Jun 2023 15:31:07 -0400

Changed in mutter (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Florian Beier (flobeier) wrote :

Is there a way to test the fix with Ubuntu Lunar?

Jeremy Bícha (jbicha)
Changed in mutter (Ubuntu Lunar):
status: Triaged → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu Lunar):
status: In Progress → Fix Committed
Revision history for this message
Florian Beier (flobeier) wrote :

I upgraded to mutter to 44.3-0ubuntu1 but am still experiencing crashes after resume from lock screen.

Log output:

Jul 17 16:13:59 ThinkPad-T14-flb kernel: gnome-shell[4048]: segfault at ffffffffffffff48 ip 00007f9efa316ebb sp 00007ffd043ed2d8 error 5 in libmutter-clutter-12.so.0.0.0[7f9efa2b4000+8b000] likely on CPU 14 (core 7, socket 0)
Jul 17 16:13:59 ThinkPad-T14-flb kernel: Code: 30 48 85 c0 74 09 c3 0f 1f 84 00 00 00 00 00 48 8b 47 68 48 85 c0 75 ee 48 8b 47 28 c3 66 90 f3 0f 1e fa 48 63 05 b5 e7 07 00 <48> 8b 44 38 28 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3

Please let me know if and how I can assist in further debugging.

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

I tried reporting my most recent crash but ubuntu-bug just exits immediately when I try to send the report with 'ubuntu-bug <crashfile>' and pressing S afterwards. I'll continue trying to report it.

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

Try using 'apport-cli' instead of 'ubuntu-bug'.

If crash reports still get rejected then check that all your packages are up to date before reporting another:

  sudo apt update
  sudo apt full-upgrade

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.