https://bugs.kde.org/show_bug.cgi?id=491133

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Powerdevil crashes once the |Powerdevil crashes
                   |screen poweroff timeout has |inPowerDevil::Core::onKIdle
                   |been reached after manually |TimeoutReached() once the
                   |powering off the display    |screen poweroff timeout has
                   |                            |been reached after manually
                   |                            |powering off the display
                 CC|                            |jpe...@petsovits.com,
                   |                            |n...@kde.org

--- Comment #1 from Nate Graham <n...@kde.org> ---
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();
>     }
> }

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to