Menu

#16 Crash on large pid numbers

v1.0 (example)
closed-fixed
None
5
2013-05-12
2011-12-14
Anonymous
No

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

Discussion

  • Arnout Engelen

    Arnout Engelen - 2012-03-15

    lol did not know this was possible. Should be fixed in CVS.

     
  • Arnout Engelen

    Arnout Engelen - 2012-03-15
    • assigned_to: nobody --> raboofje
    • status: open --> pending-fixed
     
  • Arnout Engelen

    Arnout Engelen - 2013-05-12
    • status: pending-fixed --> closed-fixed
    • Group: --> v1.0 (example)