Gnome-system-monitor crashes due to missing icon

Bug #351754 reported by Erik Meitner
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-system-monitor (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: gnome-system-monitor

From the terminal:
---
$ gnome-system-monitor

** (gnome-system-monitor:16632): WARNING **: SELinux was found but is not enabled.

terminate called after throwing an instance of 'Gio::Error'
Aborted (core dumped)
---
An strace log ends in the following:

gettimeofday({1238430328, 53180}, NULL) = 0
lstat64("/usr/share/icons/hicolor/scalable/apps/Terminal.svg", 0xbff8a178) = -1 ENOENT (No such file or directory)
open("/usr/share/icons/hicolor/scalable/apps/Terminal.svg", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
write(2, "terminate called after throwing a"..., 48terminate called after throwing an instance of ') = 48
write(2, "Gio::Error"..., 10Gio::Error) = 10
write(2, "'\n"..., 2'
) = 2
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(3028, 3028, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT (core dumped) +++

Copying some other SVG icon to /usr/share/icons/hicolor/scalable/apps/Terminal.svg allows the application to start up.

NOTE THAT this missing icon is part of the xfce4-terminal package that I purged only a few hours before while removing xfce4 from my system.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: gnome-system-monitor 2.26.0.1-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: gnome-system-monitor
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Erik Meitner (e.meitner) wrote :
Revision history for this message
Erik Meitner (e.meitner) wrote :

A reboot solved this but I suspect there is still a bug here. Gnome-sys-mon or it's applet(which I did have running at the time) seem to have expected the icon to be there. I am unable to reproduce.

Revision history for this message
Erik Meitner (e.meitner) wrote :

Unable to reproduce again.

Changed in gnome-system-monitor (Ubuntu):
status: New → Incomplete
Revision history for this message
J Canfield (jcanfield-creativeboulder) wrote :

I had the same problem. After upgrading from Intrepid to Jaunty yesterday, gnome-system-monitor would not start. It would appear then crash. I just located Terminal.svg and copied it to /usr/share/icons/hicolor/scalable/apps/ with no problems.

Revision history for this message
jay armstrong (jayarmstrong) wrote :

Just had the same issue here. A reboot didn't fix it but as the OP found, using strace, it was crashing when it couldn't find an icon.

Terminal.svg was missing but didn't solve it. In my case, it couldn't find picard.xpm (a music tagger) and was aborting. It ran fine as root, for whatever reason.

Architecture: i386
DistroRelease: Ubuntu 8.10
Package: gnome-system-monitor 2.24.1-0ubuntu1
SourcePackage: gnome-system-monitor
Uname: Linux 2.6.27-11-server
--------------------
(strace output)
--------------------
gettimeofday({1241311848, 215515}, NULL) = 0
lstat64("/usr/share/pixmaps/picard.xpm", {st_mode=S_IFLNK|0777, st_size=13, ...}) = 0
stat64("/usr/share/pixmaps/picard.xpm", 0xbfa4b4f8) = -1 ENOENT (No such file or directory)
open("/usr/share/pixmaps/picard.xpm", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
write(2, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48
write(2, "Gio::Error", 10Gio::Error) = 10
write(2, "\'\n", 2'
) = 2
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(17164, 17164, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Changed in gnome-system-monitor (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Erik Meitner (e.meitner) wrote :

I have not had any more problems. I am currently running Jaunty.

Revision history for this message
Sebastian Wiegand (radioactive8) wrote :

Encountered same problem: gnome-system-monitor shows up and closes again after few seconds.
This only happens if there is a gnome-terminal open.
system-monitor seems to need a icon file called Terminal.svg (upper case T), which is not available, but terminal.svg (lower case) is.
After creating symlink system-monitor works again.
I recently removed package xfce4-terminal, which holds the upper case Terminal.svg file, which system-monitor now seems to miss.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Is this reproducible with Ubuntu 9.10 the Karmic Koala? Please test and provide us of feedback about it, Thanks in advance..

Changed in gnome-system-monitor (Ubuntu):
importance: Medium → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gnome-system-monitor (Ubuntu) because there has been no activity for 60 days.]

Changed in gnome-system-monitor (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Carlo (carlo-vanhaecke) wrote :

this bug still occurs on natty

Revision history for this message
Andrew Taylor (benow) wrote :

This also occurs in Oneric. Strace revealed it crashing on nicotine.png, which was a non-resolving symbolic link. It should check for resolution and ignore, most likely.

Revision history for this message
Joseph F (joseph-finlayson) wrote :

Also have the problem

here:
I type in gnome-system-monitor

I get:

** (gnome-system-monitor:4073): WARNING **: SELinux was found but is not enabled.

** (gnome-system-monitor:4073): WARNING **: Failed to load icon for nicotine(1786) : Error opening file: No such file or directory

** (gnome-system-monitor:4073): WARNING **: Failed to load icon for nicotine(1786) : Error opening file: No such file or directory
terminate called after throwing an instance of 'Gio::Error'
Aborted

sudo gnome-system-monitor

** (gnome-system-monitor:4091): WARNING **: SELinux was found but is not enabled.

terminate called after throwing an instance of 'Gio::Error'
joe@josephfix-ThinkPad-X61:~$
Still doesn't open. doesn't mention nicotine.

Revision history for this message
Vadim Rutkovsky (roignac) wrote :

Andrew, Joseph, this is bug 700900
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

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.