https://bugs.kde.org/show_bug.cgi?id=451946
Bug ID: 451946 Summary: Calling KIdleTime::removeIdleTimeout() during KidleTime::timeoutReached() signal causes crash Product: frameworks-kidletime Version: 5.92.0 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: adachristin...@gmail.com Target Milestone: --- Created attachment 147756 --> https://bugs.kde.org/attachment.cgi?id=147756&action=edit backtrace Calling KIdleTime::removeIdleTimeout() from a slot connected to KIdleTime::timeoutReached() will cause an application to crash at QHashData::nextNode() STEPS TO REPRODUCE 1. connect a slot to KIdleTime::timeoutReached() 2. call KIdletime::instance()->setTimeout() 3. wait for the timeout to occur 3. call KIdleTime::instance()->removeTimeout() with the returned key from setTimeout() inside the connected slot. 4. return from the slot OBSERVED RESULT application crashes at QHashData::nextNode() via QHash::iterator::operator++() EXPECTED RESULT application proceeds normally SOFTWARE/OS VERSIONS Linux: 5.17.0 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.