Summary: | Powerdevil crashes inPowerDevil::Core::onKIdleTimeoutReached() once the screen poweroff timeout has been reached after manually powering off the display | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | MScattolin <matheus.scattolinanselmo> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | jpetso, me, natalie_clarius, nate |
Priority: | NOR | Keywords: | wayland |
Version: | 6.1.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
MScattolin
2024-08-01 16:44:27 UTC
Crashing in this line of code:
> void Core::onKIdleTimeoutReached(int identifier, int msec)
> {
> // Find which action(s) requested this idle timeout
> for (auto i = m_registeredActionTimeouts.constBegin(), end = m_registeredActionTimeouts.constEnd(); i != end; ++i) {
> if (i.value().contains(identifier)) {
> i.key()->onIdleTimeout(std::chrono::milliseconds(msec)); <<<<<<<<<< HERE <<<<<<<<<<<<<<
>
> // And it will need to be awaken
> m_pendingResumeFromIdleActions.insert(i.key());
> break;
> }
> }
>
> // Catch the next resume event if some actions require it
> if (!m_pendingResumeFromIdleActions.isEmpty()) {
> KIdleTime::instance()->catchNextResumeEvent();
> }
> }
Ah, it's already been fixed for Plasma 6.1.4! *** This bug has been marked as a duplicate of bug 490421 *** |