Crash on large pid numbers
Brought to you by:
raboofje
Hi,
My kernel uses an extended range of pid's and this causes nethogs to crash with the following error:
nethogs: cui.cpp:80: void Line::show(int): Assertion `m_pid <= 100000' failed.
You can recreate this bug by setting the kernel parameter to a large value, f.e.:
sysctl -w kernel.pid_max=2000000
lol did not know this was possible. Should be fixed in CVS.