Bug#598901: gnome-system-monitor: On kfreebsd System Monitor spews "LibGTop-Server: kvm_read (si): Bad address".

Michael Dorrington michael.dorrington at gmail.com
Fri Oct 29 19:50:29 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Michael Dorrington wrote:
> Josselin Mouette wrote:
> [snip]
>>> In kfreebsd start the program (capturing stdout and stderr to a file).
>>>
>>> $ gnome-system-monitor > gnome-system-monitor.out 2>&1
>>>
>>> Click on the Processes tab. System Monitor is now spewing
>>> "LibGTop-Server: kvm_read (si): Bad address" to the output capture file
>>> and lacks responsiveness. End the program.
>> In all cases the bug lies in libgtop.
>>
>>> Note that on my installation of kfreebsd the program doesn't crash
>>> (unlike <http://bugs.debian.org/568404>) and it does display the process
>>> list (unlike <http://bugs.debian.org/596142>).
>> Could it be that either: 
>>       * you have a different kernel version? 
>>       * you have something else installed that should be a dependency
>>         for libgtop on kfreebsd?
> 
> The system was up to date at time of testing and was using the 8.1 (the
> default) kfreebsd kernel.
> I've tried the 8.0 kernel and its is the same. But the 7.3 kernel
> doesn't suffer the issue with the Processes tab and the processes are
> displayed. So its looks kernel specific. For the 7.3 kernel there is a
> problem with the Resources tab. On selecting the Resources tab the tab
> is never display but there is lots of "LibGTop-Server: kvm_read
> (ifnetaddr): Bad address".
> 
> $ gnome-system-monitor > gnome-system-monitor-kfreebsd7.3.out 2>&1
> Killed
> $ sort gnome-system-monitor-kfreebsd7.3.out | uniq -c | sort -nr
> 1919312 LibGTop-Server: kvm_read (ifnetaddr): Bad address
>      13 glibtop: geom_stats_open(): Permission denied
>       1 LibGTop-Server: kvm_read (ifnetaddr)
>       1 LibGTop-Server: kvm_getargv (9): Success
>       1 LibGTop-Server: kvm_getargv (8): Success
>       1 LibGTop-Server: kvm_getargv (7): Success
> [snip]

Now both the 7.3 and 8.1 kernel show the same behaviour for the
Processes tab, they don't show any processes. The version of libgtop2-7
has not changed.

$ dpkg-query --show libgtop2-7
libgtop2-7      2.28.1-1
$ gnome-system-monitor
kvm_open: kvm_nlist: No such file or directory
LibGTop-Server: sysctl (kern.proc.all): Cannot allocate memory
LibGTop-Server: sysctl (kern.proc.all): Cannot allocate memory
LibGTop-Server: sysctl (kern.proc.all): Cannot allocate memory
LibGTop-Server: sysctl (kern.proc.all): Cannot allocate memory
LibGTop-Server: sysctl (kern.proc.all): Cannot allocate memory
[prints "LibGTop-Server: sysctl (kern.proc.all): Cannot allocate memory"
line every second or so]

So it now looks like that reported in <http://bugs.debian.org/596142>.

Regards,
Mike.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIcBAEBCAAGBQJMyyWEAAoJENdybD6q+OPvOo0P/1fzeizFweIC9DAj/q5haOeU
Vwtc3wGZvx2NErMJRvPxHYcm6wmmUk5GAbaA18rLYUTu0XCIHtDyOQVU0j1VFD5q
8RezwLp3yxJJvxjmkWIhAQbq+5DmxodFwLkXRhz8MMjZNbcQB8xaH/QLY2tE9MTA
43kcWMk9uOp+Ppgd6FE3TuVj+pxCYR/4kGnWiCIbET+8xasyqZlf7Jo2cZZmrd1o
W1jPpHzDcJg7/mfrqZlqbdyIb2T0Y1TCPiiBS/oLGwrzdar19LInCtwNixaOU26j
gri0ZUaLFzh8Dn8rs1ey+uxkskGqzqlaE9k1Om0HQPsfoHP9UH1ei3yg7as4xu2O
Pt1VHDXYZ12kLh8WAsoIAk9aEtJcXApLZ60qHeKHzMNDr1sfxDobpKPL7PytNlqG
6qcJ+X0LreGgyrvwVtKuSYfhuCHJY3530BG/c73ZNLoIF1bdUCC7TWJWs95MB0ZV
aczmZZ6rIedkagNOt1EVDg82nnrv6MDRp9Sn+VxCF/19Coxsim/SS2jZRVxruZg3
tzOnBBtVG8qFqIEvwy8kKt0rvMbVxk/GIO2fEEYSIRGbA204HCi7Ixlcdgx2vzdo
Lf5Bg8h0rswQgDh1BEdBVHjRPvKFYIN+0rjGLnXZC0rY/SjT4HiY3lyY47d6SlOd
gfhKU3NTwz7oHpDTR8ou
=IYmz
-----END PGP SIGNATURE-----






More information about the pkg-gnome-maintainers mailing list