gnome-shell crashed on logout with SIGSEGV in [strlen() from] g_strdup() from g_error_copy() from meta_kms_page_flip_data_discard_in_impl() from g_list_foreach()

Bug #1944388 reported by po ying chiang
28
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
gnome-shell (Ubuntu)
Fix Released
Undecided
Daniel van Vugt

Bug Description

gnome-shell crashed with SIGSEGV in g_strdup()

ProblemType: Crash
DistroRelease: Ubuntu 21.10
Package: gnome-shell 40.2-1ubuntu6
Uname: Linux 5.13.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
CasperMD5CheckResult: unknown
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 21 02:58:40 2021
DisplayManager: gdm3
ExecutablePath: /usr/bin/gnome-shell
ProcCmdline: /usr/bin/gnome-shell
RelatedPackageVersions: mutter-common 40.2.1-1ubuntu1
Signal: 11
SourcePackage: gnome-shell
StacktraceTop:
 g_strdup () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 g_error_copy () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libmutter-8.so.0
 g_list_foreach () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /lib/x86_64-linux-gnu/libmutter-8.so.0
Title: gnome-shell crashed with SIGSEGV in g_strdup()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo wireshark
separator:

Revision history for this message
po ying chiang (pyc0326) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 g_strdup (str=0x1 <error: Cannot access memory at address 0x1>) at ../../../glib/gstrfuncs.c:363
 g_error_copy (error=0x55f1f3295130) at ../../../glib/gerror.c:886
 meta_kms_page_flip_data_discard_in_impl (page_flip_data=0x55f1f3485e60, error=<optimized out>) at ../src/backends/native/meta-kms-page-flip.c:285
 g_list_foreach (list=<optimized out>, func=func@entry=0x7f6abee5a730 <meta_kms_page_flip_data_discard_in_impl>, user_data=user_data@entry=0x55f1f3295130) at ../../../glib/glist.c:1090
 meta_kms_impl_device_simple_prepare_shutdown (impl_device=0x55f1f3295130) at ../src/backends/native/meta-kms-impl-device-simple.c:1497

tags: removed: need-amd64-retrace
summary: - gnome-shell crashed with SIGSEGV in g_strdup()
+ gnome-shell crashed with SIGSEGV in g_strdup() from g_error_copy() from
+ meta_kms_page_flip_data_discard_in_impl()
summary: gnome-shell crashed with SIGSEGV in g_strdup() from g_error_copy() from
- meta_kms_page_flip_data_discard_in_impl()
+ meta_kms_page_flip_data_discard_in_impl() from g_list_foreach()
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gnome-shell crashed with SIGSEGV in g_strdup() from g_error_copy() from meta_kms_page_flip_data_discard_in_impl() from g_list_foreach()

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

Changed in gnome-shell (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
status: New → Confirmed
summary: - gnome-shell crashed with SIGSEGV in g_strdup() from g_error_copy() from
- meta_kms_page_flip_data_discard_in_impl() from g_list_foreach()
+ gnome-shell crashed with SIGSEGV in [strlen() from] g_strdup() from
+ g_error_copy() from meta_kms_page_flip_data_discard_in_impl() from
+ g_list_foreach()
no longer affects: mutter (Ubuntu)
Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in gnome-shell (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in mutter (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
tags: added: gnome-shell-shutdown-crash
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: gnome-shell crashed with SIGSEGV in [strlen() from] g_strdup() from g_error_copy() from meta_kms_page_flip_data_discard_in_impl() from g_list_foreach()

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: Confirmed → Fix Released
summary: - gnome-shell crashed with SIGSEGV in [strlen() from] g_strdup() from
- g_error_copy() from meta_kms_page_flip_data_discard_in_impl() from
+ gnome-shell crashed on logout with SIGSEGV in [strlen() from] g_strdup()
+ from g_error_copy() from meta_kms_page_flip_data_discard_in_impl() from
g_list_foreach()
no longer affects: mutter (Ubuntu)
Changed in mutter:
status: Unknown → 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.