After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172940 - gnome-system-monitor crash (before I can see any window) when I try to launch it :-(
gnome-system-monitor crash (before I can see any window) when I try to launch...
Status: RESOLVED DUPLICATE of bug 160560
Product: system-monitor
Classification: Core
Component: general
2.8.x
Other All
: High critical
: ---
Assigned To: System-monitor maintainers
System-monitor maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-07 12:25 UTC by Victor STINNER
Modified: 2011-11-11 10:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description Victor STINNER 2005-04-07 12:25:01 UTC
Steps to reproduce:
1. Run gnome-system-monitor
2. That's all !

Stack trace:
  • #0 gnome_vfs_volume_get_icon
    from /usr/lib/libgnomevfs-2.so.0
  • #1 cb_switch_page
  • #2 cb_switch_page
  • #3 g_hash_table_foreach
    from /usr/lib/libglib-2.0.so.0
  • #4 cb_update_disks
  • #5 get_sys_pane_pos
  • #6 create_main_window
  • #7 main


Other information:
I think that the SIGSEGV comes from gnome_vfs_volume_get_icon (library
libgnomevfs-2.so.0), but I don't understand why. I can also send you the
strace if you need it.

Versions :  gnome-system-monitor 2.8.1-1 and libgnomevfs2-0 2.8.4-2.

Last lines of strace :
---
stat64("/home/haypo/.local/share/icons/icon-theme.cache", 0xbffff4f0) =
-1 ENOENT (No such file or directory)
open("/home/haypo/.local/share/icons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = -1 ENOENT (No such file or directory)
stat64("/usr/local/share/icons/icon-theme.cache", 0xbffff4f0) = -1
ENOENT (No such file or directory)
open("/usr/local/share/icons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = -1 ENOENT (No such file or directory)
stat64("/usr/share/icons/icon-theme.cache", 0xbffff4f0) = -1 ENOENT (No
such file or directory)
open("/usr/share/icons", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) =
25
fstat64(25, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0
getdents64(25, /* 19 entries */, 4096)  = 584
getdents64(25, /* 0 entries */, 4096)   = 0
close(25)                               = 0
stat64("/usr/local/share/pixmaps/icon-theme.cache", 0xbffff4f0) = -1
ENOENT (No such file or directory)
open("/usr/local/share/pixmaps", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
O_DIRECTORY) = -1 ENOENT (No such file or directory)
stat64("/usr/share/pixmaps/icon-theme.cache", 0xbffff4f0) = -1 ENOENT
(No such file or directory)
open("/usr/share/pixmaps", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY)
= 25
fstat64(25, {st_mode=S_IFDIR|0755, st_size=16384, ...}) = 0
fcntl64(25, F_SETFD, FD_CLOEXEC)        = 0

getdents64(25, /* 106 entries */, 4096) = 4080
getdents64(25, /* 54 entries */, 4096)  = 2152
getdents64(25, /* 112 entries */, 4096) = 4088
getdents64(25, /* 58 entries */, 4096)  = 2208
getdents64(25, /* 92 entries */, 4096)  = 3424
getdents64(25, /* 0 entries */, 4096)   = 0
close(25)                               = 0
gettimeofday({1112874760, 780308}, NULL) = 0
open("/usr/share/icons/gnome/24x24/devices/gnome-dev-harddisk.png",
O_RDONLY|O_LARGEFILE) = 25
fstat64(25, {st_mode=S_IFREG|0644, st_size=793, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb6805000
read(25, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\30\0\0\0\30\10\6\0\0"...,
4096) = 793
_llseek(25, 0, [0], SEEK_SET)           = 0
read(25, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0\30\0\0\0\30\10\6\0\0"...,
4096) = 793
close(25)                               = 0
munmap(0xb6805000, 4096)                = 0
munmap(0xb680f000, 572)                 = 0
munmap(0xb680e000, 572)                 = 0
munmap(0xb680d000, 572)                 = 0
statfs("/home/ftp/media2", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096,
f_blocks=721453, f_bfree=82645, f_bavail=45997, f_files=366528,
f_ffree=366477, f_fsid={
0, 0}, f_namelen=255}) = 0
stat64("/home/ftp/media2", {st_mode=S_IFDIR|0775, st_size=4096, ...}) =
0
open("/proc/mounts", O_RDONLY)          = 25
fstat64(25, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb680f000
read(25, "rootfs / rootfs rw 0 0\n/dev/root"..., 1024) = 340
stat64("/home/ftp/media2", {st_mode=S_IFDIR|0775, st_size=4096, ...}) =
0
close(25)                               = 0
munmap(0xb680f000, 4096)                = 0
stat64("/home/ftp/media2", {st_mode=S_IFDIR|0775, st_size=4096, ...}) =
0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(3, "\22\0\20\0\1\0@\2\3\1\0\0\37\0\0\0\10_ID%\0\0\000117f0"...,
72) = 72
write(3, " \0\2\0\0\0\0\0", 8)          = 8
write(3, "+\0\1\0", 4)                  = 4
read(3, "\34\0M\0\1\0@\2\3\1\0\0\25q7\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32)
= 32
read(3, "\1\1P\0\0\0\0\0\20\0 \2\0\0\0\0\1\0\0\0\30\0\0\0\2601\266"...,
32) = 32
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|
SIGCHLD, child_tidptr=0xb7249a88) = 4177
waitpid(4177, Fontconfig error: "conf.d", line 1: no element found
[{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 4177
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn()                             = ? (mask now [SEGV])
exit_group(1)                           = ?
---
Comment 1 Benoît Dejean 2005-04-07 12:34:52 UTC

*** This bug has been marked as a duplicate of 160560 ***