| Summary: | Negative "Relative Start Time" in Process Table after hibernation | ||
|---|---|---|---|
| Product: | [Unmaintained] ksysguard | Reporter: | evandrocoan <evandrocoan> |
| Component: | ksysguard | Assignee: | KSysGuard Developers <ksysguard-bugs> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | normal | CC: | richard.llom, zrenfire |
| Priority: | NOR | ||
| Version First Reported In: | 5.12.7 | ||
| Target Milestone: | --- | ||
| Platform: | Mint (Debian based) | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
evandrocoan
2019-03-10 16:45:42 UTC
I observe this regularly after putting my PC to sleep. I don't hibernate it, and I'm able to wake it with the spacebar. Operating System: Manjaro Linux KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.65.0 Qt Version: 5.14.0 Kernel Version: 5.4.6-2-MANJARO ----- Here's where the logic is calculated: * https://github.com/KDE/libksysguard/blob/master/processui/ProcessModel.cpp#L1410 * https://github.com/KDE/libksysguard/blob/master/processui/ProcessModel.cpp#L1573 I think it's caused by TimeUtil::systemUptimeAbsolute(), as it takes the current time, and subtracts TimeUtil::systemUptimeSeconds() * https://github.com/KDE/libksysguard/blob/master/processui/timeutil.h#L65 * https://github.com/KDE/libksysguard/blob/master/processui/timeutil.h#L45 * https://doc.qt.io/qt-5/qdatetime.html#currentDateTime We're using CLOCK_MONOTONIC > https://linux.die.net/man/3/clock_gettime > CLOCK_MONOTONIC > Clock that cannot be set and represents monotonic time since some unspecified starting point. I assume that it's taking the seconds since waking up and subtracting the seconds since the system's initial boot somewhere but I can't figure it out without some debug logging. ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task. If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks! |