[Bug 1676840] Re: mate-panel crashes on empty Icon field in any .desktop file

Vlad Orlov 1676840 at bugs.launchpad.net
Thu Nov 9 15:01:58 UTC 2017


** Description changed:

+ [Impact]
+ 
+ Any .desktop file from /usr/share/applications which contains the empty Icon
+ 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/applications and remove the value part
+ 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-app-launch4 linux-headers-lowlatency:amd64 linux-image-lowlatency:amd64 linux-lowlatency:amd64 linux-tools-lowlatency:amd64
+   libubuntu-app-launch4 linux-headers-lowlatency:amd64 linux-image-lowlatency:amd64 linux-lowlatency:amd64 linux-tools-lowlatency:amd64
  The following packages will be upgraded:
-   chrome-gnome-shell eject gir1.2-ges-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-mate-panel gir1.2-networkmanager-1.0 gnome-settings-daemon
-   gnome-settings-daemon-schemas gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
-   gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-ugly-amr gstreamer1.0-pulseaudio
-   gstreamer1.0-tools gstreamer1.0-x libegl1-mesa libegl1-mesa-dev libgbm1 libges-1.0-0 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-dri:amd64 libgl1-mesa-glx
-   libgl1-mesa-glx:amd64 libglapi-mesa libglapi-mesa:amd64 libgles2-mesa libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0
-   libgstreamer1.0-0 liblirc-client0 liblircclient0 libmate-desktop-2-17 libmate-panel-applet-4-1 libmirclient-dev libmirclient9 libmircommon-dev libmircommon7 libmircookie-dev
-   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-egl1-mesa libxatracker2 linux-libc-dev linux-libc-dev:amd64 linux-tools-common mate-desktop
-   mate-desktop-common mate-panel mate-panel-common mate-settings-daemon mate-settings-daemon-common mesa-common-dev mesa-vdpau-drivers network-manager python3-gst-1.0
-   signon-ui signon-ui-service signon-ui-x11 snapd-login-service thunderbird thunderbird-globalmenu thunderbird-gnome-support thunderbird-locale-de thunderbird-locale-en
-   thunderbird-locale-en-gb thunderbird-locale-en-us thunderbird-locale-fr xscreensaver-data xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
+   chrome-gnome-shell eject gir1.2-ges-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-mate-panel gir1.2-networkmanager-1.0 gnome-settings-daemon
+   gnome-settings-daemon-schemas gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
+   gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-ugly-amr gstreamer1.0-pulseaudio
+   gstreamer1.0-tools gstreamer1.0-x libegl1-mesa libegl1-mesa-dev libgbm1 libges-1.0-0 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-dri:amd64 libgl1-mesa-glx
+   libgl1-mesa-glx:amd64 libglapi-mesa libglapi-mesa:amd64 libgles2-mesa libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0
+   libgstreamer1.0-0 liblirc-client0 liblircclient0 libmate-desktop-2-17 libmate-panel-applet-4-1 libmirclient-dev libmirclient9 libmircommon-dev libmircommon7 libmircookie-dev
+   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-egl1-mesa libxatracker2 linux-libc-dev linux-libc-dev:amd64 linux-tools-common mate-desktop
+   mate-desktop-common mate-panel mate-panel-common mate-settings-daemon mate-settings-daemon-common mesa-common-dev mesa-vdpau-drivers network-manager python3-gst-1.0
+   signon-ui signon-ui-service signon-ui-x11 snapd-login-service thunderbird thunderbird-globalmenu thunderbird-gnome-support thunderbird-locale-de thunderbird-locale-en
+   thunderbird-locale-en-gb thunderbird-locale-en-us thunderbird-locale-fr xscreensaver-data xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
  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
  ProcVersionSignature: Ubuntu 4.10.0-13.15-lowlatency 4.10.1
  Uname: Linux 4.10.0-13-lowlatency x86_64
  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
+  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/i386-linux-gnu/libgtk-3.so.0
-  () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
-  g_datalist_clear () at /lib/i386-linux-gnu/libglib-2.0.so.0
-  () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
-  g_object_unref () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
+  () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
+  () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
+  g_datalist_clear () at /lib/i386-linux-gnu/libglib-2.0.so.0
+  () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
+  g_object_unref () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  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

** Patch removed: "Fix crash on empty Icon field for Yakkety"
   https://bugs.launchpad.net/ubuntu/+source/mate-panel/+bug/1676840/+attachment/4901027/+files/fix-crash-on-empty-icon-field-1.16.patch

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1676840

Title:
  mate-panel crashes on empty Icon field in any .desktop file

Status in mate-panel package in Ubuntu:
  Fix Released
Status in mate-panel source package in Zesty:
  Triaged

Bug description:
  [Impact]

  Any .desktop file from /usr/share/applications which contains the empty Icon
  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/applications and remove the value part
  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-app-launch4 linux-headers-lowlatency:amd64 linux-image-lowlatency:amd64 linux-lowlatency:amd64 linux-tools-lowlatency:amd64
  The following packages will be upgraded:
    chrome-gnome-shell eject gir1.2-ges-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-mate-panel gir1.2-networkmanager-1.0 gnome-settings-daemon
    gnome-settings-daemon-schemas gstreamer1.0-alsa gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
    gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-ugly-amr gstreamer1.0-pulseaudio
    gstreamer1.0-tools gstreamer1.0-x libegl1-mesa libegl1-mesa-dev libgbm1 libges-1.0-0 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-dri:amd64 libgl1-mesa-glx
    libgl1-mesa-glx:amd64 libglapi-mesa libglapi-mesa:amd64 libgles2-mesa libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-good1.0-0
    libgstreamer1.0-0 liblirc-client0 liblircclient0 libmate-desktop-2-17 libmate-panel-applet-4-1 libmirclient-dev libmirclient9 libmircommon-dev libmircommon7 libmircookie-dev
    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-egl1-mesa libxatracker2 linux-libc-dev linux-libc-dev:amd64 linux-tools-common mate-desktop
    mate-desktop-common mate-panel mate-panel-common mate-settings-daemon mate-settings-daemon-common mesa-common-dev mesa-vdpau-drivers network-manager python3-gst-1.0
    signon-ui signon-ui-service signon-ui-x11 snapd-login-service thunderbird thunderbird-globalmenu thunderbird-gnome-support thunderbird-locale-de thunderbird-locale-en
    thunderbird-locale-en-gb thunderbird-locale-en-us thunderbird-locale-fr xscreensaver-data xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
  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
  ProcVersionSignature: Ubuntu 4.10.0-13.15-lowlatency 4.10.1
  Uname: Linux 4.10.0-13-lowlatency x86_64
  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/i386-linux-gnu/libgtk-3.so.0
   () at /usr/lib/i386-linux-gnu/libgtk-3.so.0
   g_datalist_clear () at /lib/i386-linux-gnu/libglib-2.0.so.0
   () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
   g_object_unref () at /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mate-panel/+bug/1676840/+subscriptions



More information about the Ubuntu-sponsors mailing list