gnome-shell assert failure: *** Error in `/usr/bin/gnome-shell': free(): invalid pointer: 0x00000000082dcf30 *** in g_strfreev() from g_themed_icon_finalize() from g_object_unref() from desktop_entry_unref()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
Fix Committed
|
High
|
Unassigned | ||
libgweather |
Fix Released
|
Medium
|
|||
gnome-shell (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
libgweather (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Zesty |
In Progress
|
High
|
Unassigned |
Bug Description
[Impact]
Backport git patch that fixes memory corruption in libgweather that is causing gnome-shell to crash. This is particularly bad on wayland as it causes the user to lose their sessions
I believe this should also fix bug 1688208 and potentially a couple of other high ranking crashes on errors.ubuntu.com. I have not however found reliable reproducers for those other bugs.
[Test Case]
After update of libgweather
1. Ensure org.gnome.
2. Disable Location Services
3. gnome-shell should not crash
[Regression Potential]
Low, the patch merely fixes a refcounting bug. Given the high impact of this bug, this is an important fix.
======= original bug report ============
This happened while installing Xfce with Synaptic.
chris@localhost:~$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
chris@localhost:~$ apt-cache policy gnome-shell
gnome-shell:
Installed: 3.18.5-0ubuntu0.1
Candidate: 3.18.5-0ubuntu0.1
Version table:
*** 3.18.5-0ubuntu0.1 500
500 http://
100 /var/lib/
3.
500 http://
ProblemType: CrashDistroRelease: Ubuntu 16.04
Package: gnome-shell 3.18.5-0ubuntu0.1
ProcVersionSign
Uname: Linux 4.4.0-34-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AssertionMessage: *** Error in `/usr/bin/
CrashCounter: 1
CurrentDesktop: GNOME
Date: Wed Aug 24 16:21:37 2016
DisplayManager: gdm3
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2014-10-24 (670 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcCmdline: /usr/bin/
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
Signal: 6SourcePackage: gnome-shell
StacktraceTop:
__libc_message (do_abort=
malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fabad1dd48f "free(): invalid pointer", action=3) at malloc.c:5007
_int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3868
__GI___libc_free (mem=<optimized out>) at malloc.c:2969
g_strfreev () from /lib/x86_
Title: gnome-shell assert failure: *** Error in `/usr/bin/
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
XsessionErrors:
x-session-
x-session-
x-session-
information type: | Private → Public |
Changed in ubuntu-gnome: | |
milestone: | none → artful |
Changed in gnome-shell: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
affects: | gnome-shell → libgweather |
Changed in gnome-shell (Ubuntu): | |
status: | Confirmed → Invalid |
description: | updated |
no longer affects: | gnome-shell (Ubuntu Zesty) |
Changed in libgweather (Ubuntu Zesty): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in libgweather (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-gnome: | |
status: | New → Fix Committed |
importance: | Undecided → High |
summary: |
gnome-shell assert failure: *** Error in `/usr/bin/gnome-shell': free(): - invalid pointer: 0x00000000082dcf30 *** + invalid pointer: 0x00000000082dcf30 *** in g_strfreev() from + g_themed_icon_finalize() from g_object_unref() from + desktop_entry_unref() |
Changed in libgweather: | |
status: | Confirmed → Fix Released |
StacktraceTop: do_abort@ entry=2, fmt=fmt@ entry=0x7fabad1 e06b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/ posix/libc_ fatal.c: 175 sandbox_ Ypcjlo/ lib/x86_ 64-linux- gnu/libglib- 2.0.so. 0
__libc_message (do_abort=
malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fabad1dd48f "free(): invalid pointer", action=3) at malloc.c:5007
_int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3868
__GI___libc_free (mem=<optimized out>) at malloc.c:2969
g_strfreev () from /tmp/apport_