gnome-shell crashed with SIGSEGV in _XSend() from XQueryExtension() from InitDisplayInfoEntry() from __glXLookupDisplay() from CommonMakeCurrent() from cogl_onscreen_glx_dispose() from g_object_unref() from clutter_stage_view_finalize()

Bug #1942031 reported by errors.ubuntu.com bug bridge
112
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Mutter
New
Unknown
gnome-shell (Ubuntu)
Fix Released
Medium
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 40.2-1ubuntu1, the problem page at https://errors.ubuntu.com/problem/11d90a7db51d11df7d99a6ef6e5aa31eb678d273 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/.

summary: - /usr/bin/gnome-
- shell:11:_XSend:XQueryExtension:InitDisplayInfoEntry:__glXLookupDisplay:CommonMakeCurrent
+ gnome-shell crashed with SIGSEGV in _XSend() from XQueryExtension() from
+ InitDisplayInfoEntry() from __glXLookupDisplay() from
+ CommonMakeCurrent()
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gnome-shell crashed with SIGSEGV in _XSend() from XQueryExtension() from InitDisplayInfoEntry() from __glXLookupDisplay() from CommonMakeCurrent()

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

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I think this is the crash being reported in impish live sessions but the core files keep getting truncated so it's hard to tell. See also bug 1940532.

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

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

Changed in libx11 (Ubuntu):
status: New → Confirmed
affects: xorg-server (Ubuntu) → libx11 (Ubuntu)
Changed in libx11 (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1942031

tags: added: iso-testing
Revision history for this message
Bernard Stafford (bernard010) wrote (last edit ):

Daily Build 20210830 UEFI Live Test flashed to USB.
Gnome-Shell Crashed
Package: gnome-shell 40.2-1ubuntu1
PackageArchitecture: amd64
SourcePackage: gnome-shell
UnreportableReason:
Invalid core dump: BFD: warning: /tmp/apport_core_074ewlnx is truncated: expected core file size >= 412581888, found: 1114112
warning: Can't open file /memfd:pulseaudio (deleted) during file-backed mapping note processing
warning: Can't open file /memfd:xshmfence (deleted) during file-backed mapping note processing
_MarkForUpload: True
The tail of the crash report above.
sudo cat whoopsie-id
536703e3f7ef2aa189fc1f47606c7c72a894ee297884b2903353ab5441b9c4c43855b1c474e1972f3dc9ac8e5f2d5d1c7767a23f88ac587ab1ae98ed6a9202efubuntu@ubuntu:/var/lib/whoopsie$

Revision history for this message
Bernard Stafford (bernard010) wrote :

Adding the liveboot.txt file for daily build 20210830

Revision history for this message
Akbarkhon Variskhanov (kbar) wrote :

I believe this bug needs to be mentioned here: https://discourse.ubuntu.com/t/impish-indri-release-notes/21951

in the "Ubuntu Desktop" category.

tags: added: regression-release
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
affects: gnome-shell (Ubuntu) → mutter (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: New → Confirmed
tags: added: rls-ii-incoming
Changed in mutter (Ubuntu):
assignee: nobody → Bernard Stafford (bernard010)
status: Confirmed → Opinion
Changed in mutter (Ubuntu):
status: Opinion → Confirmed
assignee: Bernard Stafford (bernard010) → nobody
Revision history for this message
Brian Murray (brian-murray) wrote :

This has been added to the release notes for Impish Indri.

summary: gnome-shell crashed with SIGSEGV in _XSend() from XQueryExtension() from
InitDisplayInfoEntry() from __glXLookupDisplay() from
- CommonMakeCurrent()
+ CommonMakeCurrent() from cogl_onscreen_glx_dispose() from
+ g_object_unref() from clutter_stage_view_finalize()
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

It seems to be any gnome-shell Xorg session hitting this crash on exit... but for most people a Xorg session will only ever be used in the live image.

Changed in mutter (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in gnome-shell (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
no longer affects: libx11 (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: Confirmed → In Progress
Changed in mutter (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Akbarkhon Variskhanov (kbar) wrote :

Still affects libX11 in Live session (build 20210929), which I am currently testing.

Same thing:

segfault at 0 ip 00007f-------77f sp 00007ff--------0 error 4 in libX11.so.6.4.0[7f-------000+8c000]

Can attach detailed logs if required.

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

Yes the function at the top of the stack is in libX11, but libX11 has nothing to do with the root cause of the crash which is just gnome-shell.

no longer affects: mutter (Ubuntu)
tags: added: gnome-shell-shutdown-crash
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Here's a patch that stops the crashes, many crashes.

Changed in gnome-shell (Ubuntu):
importance: Undecided → High
importance: High → Medium
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in gnome-shell (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell - 40.5-1ubuntu2

---------------
gnome-shell (40.5-1ubuntu2) impish; urgency=medium

  [ Daniel van Vugt ]
  * debian/patches: Avoid full meta context finalization.
    To workaround (prevent) shutdown crashes (LP: #1936826, #1942031, #1942121,
    LP: #1943406, #1944054, #1945010, #1945116, #1944388)

 -- Marco Trevisan (Treviño) <email address hidden> Tue, 05 Oct 2021 04:52:11 +0200

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Akbarkhon Variskhanov (kbar) wrote :

Ubuntu Desktop amd64 daily-live 20211006

gnome-shell 40.5-1ubuntu2

gnome-shell --sm-disable --mode=ubiquity

crash with signal 11

Shall I include more logs?

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

Not all gnome-shell crashes are this one, and in fact there are zero reports of this one (so far) after 40.5-1ubuntu1 in https://errors.ubuntu.com/problem/11d90a7db51d11df7d99a6ef6e5aa31eb678d273

Please open a new bug for each crash file using the ubuntu-bug command.

Changed in mutter:
status: Unknown → New
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.