gnome-shell crashed with SIGSEGV in __GI___libc_free() from g_free() from meta_wayland_finalize() from meta_finalize() from meta_run()

Bug #1715179 reported by Jean-Baptiste Lallement
34
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Fix Released
Medium
Unassigned
mutter (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

https://errors.ubuntu.com/problem/b39dded3eb3a2559d54e26e7fa6434fb8c0f84e8

---

Ubuntu Artful Desktop up to date

Test Case
1. Login with wayland
2. Logout
3. Login with X
4. Logout
5. Repeat from step 1 until this crash happens

ProblemType: Crash
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.25.91-0ubuntu3
ProcVersionSignature: Ubuntu 4.12.0-12.13-generic 4.12.8
Uname: Linux 4.12.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CrashCounter: 1
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 5 16:28:07 2017
DisplayManager: gdm3
ExecutablePath: /usr/bin/gnome-shell
GsettingsChanges:
 b'org.gnome.shell' b'had-bluetooth-devices-setup' b'true'
 b'org.gnome.shell' b'favorite-apps' b"['org.gnome.Nautilus.desktop', 'firefox.desktop', 'google-chrome-beta.desktop', 'streamtuner2.desktop']"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
InstallationDate: Installed on 2014-07-23 (1140 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
ProcCmdline: /usr/bin/gnome-shell
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SegvAnalysis:
 Segfault happened at: 0x7f5f3bde9d52 <free+66>: mov (%rax),%rdi
 PC (0x7f5f3bde9d52) ok
 source "(%rax)" (0x1814000000) not located in a known VMA region (needed readable region)!
 destination "%rdi" ok
SegvReason: reading unknown VMA
Signal: 11
SourcePackage: gnome-shell
StacktraceTop:
 free () from /lib/x86_64-linux-gnu/libc.so.6
 meta_run () from /usr/lib/x86_64-linux-gnu/libmutter-1.so.0
 ?? ()
 __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
 ?? ()
Title: gnome-shell crashed with SIGSEGV in free()
UpgradeStatus: Upgraded to artful on 2017-06-13 (84 days ago)
UserGroups: adm dialout libvirt lpadmin lxd sambashare sudo

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __GI___libc_free (mem=0x18160562e9) at malloc.c:2984
 g_free (mem=<optimized out>) at ../../../../glib/gmem.c:189
 meta_wayland_finalize () at wayland/meta-wayland.c:409
 meta_finalize () at core/main.c:301
 meta_run () at core/main.c:650

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
summary: - gnome-shell crashed with SIGSEGV in free()
+ gnome-shell crashed with SIGSEGV in __GI___libc_free()
tags: removed: need-amd64-retrace
summary: - gnome-shell crashed with SIGSEGV in __GI___libc_free()
+ gnome-shell crashed with SIGSEGV in __GI___libc_free() from g_free()
+ from meta_wayland_finalize() from meta_finalize() from meta_run()
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Upstream mentioned that the crashes in meta_finalize are fixed here:
https://git.gnome.org/browse/mutter/commit/?id=807658e9725bd8d3693e3a7178c72546b8835e63

But the bug mentioned in that commit seems to be the wrong bug (covers multiple issues/fixes).

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

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
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix Released. This crash was never seen outside of release 17.10.

Changed in gnome-shell (Ubuntu):
status: Confirmed → Fix Released
Changed in mutter (Ubuntu):
status: Confirmed → 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.