mate-panel crashes on empty Icon field in any .desktop file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mate-panel (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Zesty |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
Any .desktop file from /usr/share/
field makes mate-panel crash. It's very annoying and confusing because you
don't have to create a panel launcher from that file - it happens by itself,
usually during package updates/upgrades.
The patch attached to this report fixes the issue.
The fix is already present in Artful and tested by developers and users.
Would be nice to backport it to Zesty as well to free users from frustration.
[Test Case]
Edit any .desktop file in /usr/share/
from the Icon field (that is, make it just "Icon="). Restart mate-panel just
in case, then update/upgrade some packages. Soon the panel should crash.
[Regression Potential]
Quite low. The fix only affects loading icons which are used for menu items.
The worst outcome would be to lose some icons in the menu applets.
[Other Info]
The patch is included into the debdiff attached to bug 1675888.
The debdiff contains patches to fix bug 1675888, bug 1676840, bug 1690517,
bug 1695648. See other reports for the corresponding SRU templates.
Note that the debdiff attached to bug 1690517 is a separate one for Artful.
[Original Description]
Happened while sudo apt-get upgrade was running, with the following package list:
The following packages have been kept back:
libubuntu-
The following packages will be upgraded:
chrome-
gnome-
gstreamer1.
gstreamer1.
libgl1-
libgstreamer1.0-0 liblirc-client0 liblircclient0 libmate-
libmircookie2 libmircore-dev libmircore1 libmirprotobuf3 libnm-glib-vpn1 libnm-glib4 libnm-util2 libnm0 libosmesa6 libosmesa6:amd64 libpcre16-3 libpcre3 libpcre3:amd64
libpcre3-dev libpcre32-3 libpcrecpp0v5 libsnapd-glib1 libwayland-
mate-
signon-ui signon-ui-service signon-ui-x11 snapd-login-service thunderbird thunderbird-
thunderbird-
95 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
ProblemType: Crash
DistroRelease: Ubuntu 17.04
Package: mate-panel 1.18.0-0ubuntu2
ProcVersionSign
Uname: Linux 4.10.0-
ApportVersion: 2.20.4-0ubuntu2
Architecture: i386
CrashCounter: 1
CurrentDesktop: MATE
Date: Tue Mar 28 13:20:38 2017
ExecutablePath: /usr/bin/mate-panel
InstallationDate: Installed on 2011-10-14 (1991 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
ProcCmdline: mate-panel
SegvAnalysis:
Segfault happened at: 0xf70b9394: mov 0x4(%esi),%eax
PC (0xf70b9394) ok
source "0x4(%esi)" (0x00000004) not located in a known VMA region (needed readable region)!
destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: mate-panel
StacktraceTop:
() at /usr/lib/
() at /usr/lib/
g_datalist_clear () at /lib/i386-
() at /usr/lib/
g_object_unref () at /usr/lib/
Title: mate-panel crashed with SIGSEGV
UpgradeStatus: Upgraded to zesty on 2017-01-05 (81 days ago)
UserGroups: adm admin audio cdrom dialout fax floppy lpadmin lxd plugdev pulse-access sambashare
summary: |
- mate-panel crashed with SIGSEGV + mate-panel crashes on empty Icon field in any .desktop file |
tags: | added: ubuntu-mate-zesty-sru |
Changed in mate-panel (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in mate-panel (Ubuntu Zesty): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in mate-panel (Ubuntu): | |
importance: | Medium → Low |
description: | updated |
StacktraceTop: definition_ unref (def=0x0) at ././gtk/ gtkimagedefinit ion.c:249 source_ site_destroy (data=0xf3603b20) at ././gtk/ gtkdragsource. c:117 sandbox_ 00X9V6/ lib/i386- linux-gnu/ libglib- 2.0.so. 0 sandbox_ 00X9V6/ usr/lib/ i386-linux- gnu/libgobject- 2.0.so. 0 sandbox_ 00X9V6/ usr/lib/ i386-linux- gnu/libgobject- 2.0.so. 0
gtk_image_
gtk_drag_
g_datalist_clear () from /tmp/apport_
?? () from /tmp/apport_
g_object_unref () from /tmp/apport_