Discussion:
[Slackbuilds-users] iotop longer not work
Карабанов Алексей
2018-08-25 07:57:56 UTC
Permalink
Hello.
After update to Slackware 14.2 i found crash iotop.
Function parse_proc_pid_status(pid) in module data.py read lines from /proc/*/status
and split them by ':\t' delimiter.
Status file can contain empty strings (EOL only).
Therefore, function can't split line.

I created very simple patch for iotop v0.6 to check exist delimiter in string.

However, in git repository http://repo.or.cz/iotop.git/shortlog
exist commits for fixed this problem.

I provide use my patch or use newer version for git repo.

Patch attached.
--
С уважеМОеЌ, А.КарабаМПв
Willy Sudiarto Raharjo
2018-08-25 10:23:47 UTC
Permalink
Post by Карабанов Алексей
After update to Slackware 14.2 i found crash iotop.
Function parse_proc_pid_status(pid) in module data.py read lines from /proc/*/status
and split them by ':\t' delimiter.
Status file can contain empty strings (EOL only).
Therefore, function can't split line.
I created very simple patch for iotop v0.6 to check exist delimiter in string.
However, in git repository http://repo.or.cz/iotop.git/shortlog
exist commits for fixed this problem.
I provide use my patch or use newer version for git repo.
I have pushed a patch from another member and tested to work in my
branch. It will be part of the next public update.
--
Willy Sudiarto Raharjo
Loading...