Bug 467552 - Powerdevil Crashes When Unlocking Screen After Powersaving
Summary: Powerdevil Crashes When Unlocking Screen After Powersaving
Status: RESOLVED WORKSFORME
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-19 01:48 UTC by Carlos Castro
Modified: 2023-04-23 03:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Castro 2023-03-19 01:48:26 UTC
Application: org_kde_powerdevil (5.27.2)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.18-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
Left computer for a period of time, and display went to sleep. Woke up screen and entered password to unlock, had unusual behavior of having to click unlock button after entering password, then when presented with desktop had crash notification for powerdevil

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Power Management System (org_kde_powerdevil), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f1d4fbd7ba7 in wl_proxy_marshal_array_flags () from /lib64/libwayland-client.so.0
#5  0x00007f1d4fbd8219 in wl_proxy_marshal_flags () from /lib64/libwayland-client.so.0
#6  0x00007f1d32c199c7 in DpmsManager::addScreen(QScreen*) () from /lib64/libKF5ScreenDpms.so.8
#7  0x00007f1d32c1a390 in QtPrivate::QFunctorSlotObject<DpmsManager::DpmsManager(WaylandDpmsHelper*)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /lib64/libKF5ScreenDpms.so.8
#8  0x00007f1d550d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007f1d4fc60617 in QtWaylandClient::QWaylandDisplay::addRegistryListener(void (*)(void*, wl_registry*, unsigned int, QString const&, unsigned int), void*) () from /lib64/libQt5WaylandClient.so.5
#10 0x00007f1d4fc7da2e in QWaylandClientExtension::addRegistryListener() () from /lib64/libQt5WaylandClient.so.5
#11 0x00007f1d550abcda in QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const () from /lib64/libQt5Core.so.5
#12 0x00007f1d550ace1e in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /lib64/libQt5Core.so.5
#13 0x00007f1d32c1980b in WaylandDpmsHelper::blockUntilSupported() () from /lib64/libKF5ScreenDpms.so.8
#14 0x00007f1d32c1b318 in KScreen::Dpms::isSupported() const () from /lib64/libKF5ScreenDpms.so.8
#15 0x00007f1d55d9d36f in PowerDevil::ActionPool::init(PowerDevil::Core*) () from /lib64/libpowerdevilcore.so.2
#16 0x00007f1d55da4ded in PowerDevil::Core::onBackendReady() () from /lib64/libpowerdevilcore.so.2
#17 0x00007f1d550d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#18 0x00007f1d40152afa in PowerDevilUPowerBackend::initWithBrightness(bool) () from /usr/lib64/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#19 0x00007f1d550d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#20 0x00007f1d40149f53 in PowerDevilUPowerBackend::brightnessSupportQueried(bool) () from /usr/lib64/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
#21 0x00007f1d550d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007f1d55c1c3d9 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#23 0x00007f1d55c21e3b in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#24 0x00007f1d550d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#25 0x00007f1d40be4863 in KAuth::DBusHelperProxy::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0] () from /usr/lib64/qt5/plugins/kauth/helper/kauth_helper_plugin.so
#26 0x00007f1d40be4f41 in KAuth::DBusHelperProxy::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/kauth/helper/kauth_helper_plugin.so
#27 0x00007f1d55b500bb in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) () from /lib64/libQt5DBus.so.5
#28 0x00007f1d550c8134 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#29 0x00007f1d5509d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#30 0x00007f1d550a0854 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#31 0x00007f1d550eeb07 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#32 0x00007f1d53c63c7f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#33 0x00007f1d53cba118 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#34 0x00007f1d53c60f00 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#35 0x00007f1d550ee5fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#36 0x00007f1d5509bf3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#37 0x00007f1d550a4002 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#38 0x000055d5074cea45 in main ()
[Inferior 1 (process 23308) detached]

The reporter indicates this bug may be a duplicate of or related to bug 466904, bug 466800.

Reported using DrKonqi
Comment 1 tagwerk19 2023-03-19 07:32:20 UTC
(In reply to Carlos Castro from comment #0)
> Application: KDE Power Management System (org_kde_powerdevil), signal: Segmentation fault
I see Fedora 37 has just got Plasma 5.27.3 (and also Frameworks 5.104)

The issues I had with Powerdevil, as per Bug 466181, now seem OK. Worth a try...
Comment 2 tagwerk19 2023-03-23 20:46:52 UTC
(In reply to tagwerk19 from comment #1)
> ... Worth a try
Are you still having trouble?
Comment 3 Carlos Castro 2023-03-24 05:38:31 UTC
Tried to reproduce issue after updating  over the weekend to :
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.7-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland

And the issue appears to be no longer happening, I left my computer running for an extended period of time with the screen locked and asleep.  And when I unlocked the screen, there was no crash and everything was operating as normal.
Comment 4 tagwerk19 2023-03-24 06:36:34 UTC
(In reply to Carlos Castro from comment #3)
> And the issue appears to be no longer happening, I left my computer running
> for an extended period of time with the screen locked and asleep.  And when
> I unlocked the screen, there was no crash and everything was operating as
> normal.
That is good, can close.
Seems to be the same root cause as Bug 466181, so flag as a duplicate

*** This bug has been marked as a duplicate of bug 466181 ***
Comment 5 Bug Janitor Service 2023-04-08 03:45:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-04-23 03:45:59 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!