I can confirm #5, but instead of break, use pass. The reason for such
bug is the status message like this on 4.4.0-127-generic #153-Ubuntu SMP
Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

cat /proc/1/status
Name:   systemd
State:  S (sleeping)
Tgid:   1
Ngid:   0
Pid:    1
PPid:   0
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 256
Groups: 
NStgid: 1
NSpid:  1
NSpgid: 1
NSsid:  1
VmPeak:   185548 kB
VmSize:   120012 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:      6276 kB
VmRSS:      5388 kB
VmData:    83736 kB
VmStk:       132 kB
VmExe:      1392 kB
VmLib:      3684 kB
VmPTE:        96 kB
VmPMD:        16 kB
VmSwap:      212 kB
HugetlbPages:          0 kB
Threads:        1
SigQ:   1/14288
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 7be3c0fe28014a03
SigIgn: 0000000000001000
SigCgt: 00000001800004ec
CapInh: 0000000000000000
CapPrm: 0000003fffffffff
CapEff: 0000003fffffffff
CapBnd: 0000003fffffffff
CapAmb: 0000000000000000
Seccomp:        0
                                     <<<---  EMPTY LINE !!!
Speculation_Store_Bypass:       not vulnerable
Cpus_allowed:   f
Cpus_allowed_list:      0-3
Mems_allowed:   00000000,00000001
Mems_allowed_list:      0
voluntary_ctxt_switches:        3069
nonvoluntary_ctxt_switches:     6316

The line should be skipped during parsing.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773383

Title:
  iotop crashes on launch

To manage notifications about this bug go to:
https://bugs.launchpad.net/pkg-website/+bug/1773383/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to