OverflowError when machine suspends and resumes after a longer while
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dstat (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I was running dstat and suspended my laptop. After a longer while (day) I opened the lid and saw dstat crashed on OverflowError.
2 1 97 0 0| 0 80k| 0 0 | 0 0 | 477 1395 Traceback (most recent call last):
File "/usr/bin/dstat", line 2842, in <module>
main()
File "/usr/bin/dstat", line 2687, in main
scheduler.run()
File "/usr/lib/
action(
File "/usr/bin/dstat", line 2799, in perform
line = line + o.show() + o.showend(totlist, vislist)
File "/usr/bin/dstat", line 519, in show
line = line + cprintlist(
File "/usr/bin/dstat", line 2087, in cprintlist
ret = ret + sep + cprint(var, ctype, width, scale)
File "/usr/bin/dstat", line 2137, in cprint
ret, c = dchg(var, width, base)
File "/usr/bin/dstat", line 2037, in dchg
ret = str(int(
OverflowError: cannot convert float infinity to integer
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: dstat 0.7.4-4
ProcVersionSign
Uname: Linux 5.4.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu18
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 9 12:46:58 2020
Dependencies: python3-six 1.14.0-2
InstallationDate: Installed on 2020-01-09 (59 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200106)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=pl_PL.UTF-8
SHELL=/bin/bash
SourcePackage: dstat
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.