libgtop and network load (xfce4-systemlooad-plugin r569103 related)
Guido Falsi
mad at madpilot.net
Wed Mar 24 10:15:52 UTC 2021
Hi,
The xfce4-systemlooad-plugin panel plugin added libgtop support to get
network load information.
I tried enabling it by default adding an option to the port. It compiles
fine, but then fails to run.
a backtrace from the core dump I got shows it failing here:
#5 0x0000000802aad581 in glibtop_get_netload_l
(server=0x802ab9bb0 <_glibtop_global_server>, buf=0x7fffffffd4c0,
interface=0x803e00cf8 "re0") at lib.c:876
But at that code line there is an unconditional error.
What I gather is on FreeBSD it expects some server process, running
setgit kmem to actually read the data and report it back. This is not
happening though and it falls back to unconditional error.
I have noticed a libgtop_server2 binary but manually launching it is not
enough.
Am I missing something? Is some configuration required? Is this
documented somewhere?
At present I committed the port with libgtop support disabled
unconditionally, since it only makes the plugin crash on start. I'd like
to understand things better before enabling libgtop support in this
plugin in the port tree.
Thanks in advance!
--
Guido Falsi <mad at madpilot.net>
More information about the freebsd-xfce
mailing list