GNOME Bugzilla – Bug 160560
Crash
Last modified: 2011-11-11 10:03:55 UTC
Gnome-system-monitor crashes everytime at startup.
Created attachment 34530 [details] [review] Proposed patch.
hum, i don't understand why you don't get a GnomeVFSVolume... i remember when i added this, i read the documentation and there was nothing about failures. Could you please add debug statement to see for which volums you don't get a GnomeVFSVolume ? which gnome-vfs and libgtop version do you have ?
Created attachment 34548 [details] [review] simpler patch isn't this better ?
Well, i've just tested your path, and if i_type is NULL, i get gtk_icon_theme_lookup_icon: assertion `icon_name != NULL' failed So : i'm going to apply my patch. But i'm still interested in what path makes gnome_vfs_volume_monitor_get_volume_for_path(theme, path) return NULL thanks.
I'll get you the path that returns NULL tonight.
http://cvs.gnome.org/viewcvs/procman/src/callbacks.c?r1=1.99&r2=1.100
The mount point that results in the NULL is "/dev/shm".
stange, i also have a tmpfs /dev/shm but i can get a volume for it. which version of libgtop and gnome-vfs do you have ?
CVS HEAD of both.
strange, but if it works :) thanks for testing
Thanks for fixing it.
*** Bug 161171 has been marked as a duplicate of this bug. ***
*** Bug 163473 has been marked as a duplicate of this bug. ***
*** Bug 162711 has been marked as a duplicate of this bug. ***
*** Bug 166137 has been marked as a duplicate of this bug. ***
*** Bug 168465 has been marked as a duplicate of this bug. ***
*** Bug 168910 has been marked as a duplicate of this bug. ***
*** Bug 169208 has been marked as a duplicate of this bug. ***
*** Bug 171082 has been marked as a duplicate of this bug. ***
*** Bug 171494 has been marked as a duplicate of this bug. ***
*** Bug 172940 has been marked as a duplicate of this bug. ***
*** Bug 173050 has been marked as a duplicate of this bug. ***
*** Bug 301452 has been marked as a duplicate of this bug. ***
*** Bug 302184 has been marked as a duplicate of this bug. ***
*** Bug 305004 has been marked as a duplicate of this bug. ***
*** Bug 306468 has been marked as a duplicate of this bug. ***
*** Bug 307272 has been marked as a duplicate of this bug. ***
*** Bug 307744 has been marked as a duplicate of this bug. ***
*** Bug 308061 has been marked as a duplicate of this bug. ***
*** Bug 308470 has been marked as a duplicate of this bug. ***
*** Bug 312618 has been marked as a duplicate of this bug. ***
*** Bug 315782 has been marked as a duplicate of this bug. ***
*** Bug 316428 has been marked as a duplicate of this bug. ***
*** Bug 317767 has been marked as a duplicate of this bug. ***
*** Bug 319598 has been marked as a duplicate of this bug. ***
*** Bug 322207 has been marked as a duplicate of this bug. ***
*** Bug 323026 has been marked as a duplicate of this bug. ***
*** Bug 323684 has been marked as a duplicate of this bug. ***
*** Bug 324310 has been marked as a duplicate of this bug. ***
*** Bug 331862 has been marked as a duplicate of this bug. ***
*** Bug 334857 has been marked as a duplicate of this bug. ***
*** Bug 340178 has been marked as a duplicate of this bug. ***
*** Bug 353819 has been marked as a duplicate of this bug. ***