On Thu, 2017-05-04 at 11:17 +0300, Andrei C wrote: > ChristianEhrhardt <1685...@bugs.launchpad.net>
FYI, as you can see here this address only mails the bug report: https://bugs.launchpad.net/ubuntu/+source/iotop/+bug/1685512/comments/3 > Hope this helps to notify whoever is necessary. Thanks for the ping, I usually look at Ubuntu iotop bugs only when I'm about to make an upload to Debian, which hasn't happened for a while because Guillaume Chazarain hasn't made a release recently. > https://bugs.launchpad.net/bugs/1685512 I think the issue is that iotop uses the current time to calculate duration instead of using monotonically increasing time, which means that when you change the time backwards, it gets a negative duration and that causes some calculations to be incorrect. Please test the attached patch and if it is correct I will include it upstream and make an upload to Debian once stretch is released. The patch can then be synced to Ubuntu. Please note that the patch relies on Python 3.3 or later, so it won't work on anything older than trusty. If it works then I'll try to make it work on more Python versions too. tag patch -- bye, pabs https://wiki.debian.org/PaulWise ** Patch added: "0001-Use-monotonic-time-to-calculate-durations.patch" https://bugs.launchpad.net/bugs/1685512/+attachment/4871922/+files/0001-Use-monotonic-time-to-calculate-durations.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1685512 Title: iotop crashes when system time updates to a value in the past To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iotop/+bug/1685512/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs