Bug 489923 - KDE Power Management System crash in Core::onResumingFromIdle()
Summary: KDE Power Management System crash in Core::onResumingFromIdle()
Status: RESOLVED DUPLICATE of bug 490356
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-07-08 12:16 UTC by Kévin Le Gouguec
Modified: 2024-07-19 06:10 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kévin Le Gouguec 2024-07-08 12:16:30 UTC
Application: org_kde_powerdevil (6.1.2)

Qt Version: 6.7.2
Frameworks Version: 6.3.0
Operating System: Linux 6.9.7-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.1.2 [CoredumpBackend]

-- Information about the crash:
If I remember correctly, I picked the mouse after a period of inactivity (possibly after toggling my KVM switch back to this desktop) and started moving the pointer toward the system tray, then the crash notification came up.

I do not think any GUI application were running, but I might be misremembering (memory of the incident got hazy after some roundtrips through zypper to install debug info & python311-sentry-sdk).

The reporter is unsure if this crash is reproducible.

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

[New LWP 4680]
[New LWP 4688]
[New LWP 4686]
[New LWP 4682]
[New LWP 4687]
[New LWP 4689]
[New LWP 4691]
[New LWP 4701]
[New LWP 4703]
[New LWP 4683]
[New LWP 4690]
[New LWP 4681]
[New LWP 4702]

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/libexec/org_kde_powerdevil'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f03478949dc in __pthread_kill_implementation () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f0342180ac0 (LWP 4680))]
Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7f0342180ac0 (LWP 4680))]

Thread 13 (Thread 0x7f0324a006c0 (LWP 4702)):
#0  0x00007f034790578f in poll () at /lib64/libc.so.6
#1  0x00007f034671432f in ??? () at /lib64/libglib-2.0.so.0
#2  0x00007f0346714a3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f0346714a81 in ??? () at /lib64/libglib-2.0.so.0
#4  0x00007f034674130e in ??? () at /lib64/libglib-2.0.so.0
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 12 (Thread 0x7f0341c006c0 (LWP 4681)):
#0  0x00007f034790578f in poll () at /lib64/libc.so.6
#1  0x00007f034671432f in ??? () at /lib64/libglib-2.0.so.0
#2  0x00007f0346714a3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f03483c1adc in QEventDispatcherGlib::processEvents (this=0x7f033c000b70, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#4  0x00007f03481993db in QEventLoop::exec (this=0x7f0341bffa50, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:34
#5  0x00007f0348274a64 in QThread::exec (this=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:74
#6  0x00007f03490ed70a in ??? () at /lib64/libQt6DBus.so.6
#7  0x00007f03482ed139 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:326
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:262
#9  QThreadPrivate::start (arg=0x7f0349170b20) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:285
#10 0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#11 0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 11 (Thread 0x7f03320006c0 (LWP 4690)):
#0  0x00007f034788efee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0347891d30 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f033931cd99 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f03392fcf3b in ??? () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f033931ccd7 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 10 (Thread 0x7f033be006c0 (LWP 4683)):
#0  0x00007f034790578f in poll () at /lib64/libc.so.6
#1  0x00007f03459a9dd1 in poll (__timeout=-1, __nfds=2, __fds=0x7f033bdffa90) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x557cee54e450) at /usr/src/debug/qtwayland-everywhere-src-6.7.2/src/client/qwaylanddisplay.cpp:182
#3  0x00007f03482ed139 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:326
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:262
#5  QThreadPrivate::start (arg=0x557cee54e450) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:285
#6  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#7  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 9 (Thread 0x7f031fe006c0 (LWP 4703)):
#0  0x00007f034790578f in poll () at /lib64/libc.so.6
#1  0x00007f034671432f in ??? () at /lib64/libglib-2.0.so.0
#2  0x00007f0346714c5f in g_main_loop_run () at /lib64/libglib-2.0.so.0
#3  0x00007f0342628206 in ??? () at /lib64/libgio-2.0.so.0
#4  0x00007f034674130e in ??? () at /lib64/libglib-2.0.so.0
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 8 (Thread 0x7f0330c006c0 (LWP 4701)):
#0  0x00007f0347911bcd in syscall () at /lib64/libc.so.6
#1  0x00007f034676ed50 in g_cond_wait () at /lib64/libglib-2.0.so.0
#2  0x00007f03466dd0db in ??? () at /lib64/libglib-2.0.so.0
#3  0x00007f0346741aa2 in ??? () at /lib64/libglib-2.0.so.0
#4  0x00007f034674130e in ??? () at /lib64/libglib-2.0.so.0
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 7 (Thread 0x7f03316006c0 (LWP 4691)):
#0  0x00007f034788efee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0347891d30 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f033931cd99 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f03392fcf3b in ??? () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f033931ccd7 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 6 (Thread 0x7f0332a006c0 (LWP 4689)):
#0  0x00007f034788efee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0347891d30 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f033931cd99 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f03392fcf3b in ??? () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f033931ccd7 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 5 (Thread 0x7f0333e006c0 (LWP 4687)):
#0  0x00007f034788efee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0347891d30 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f033931cd99 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f03392fcf3b in ??? () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f033931ccd7 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 4 (Thread 0x7f03412006c0 (LWP 4682)):
#0  0x00007f034788efee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0347891d30 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f03482f8fbb in QWaitConditionPrivate::wait (deadline=..., this=0x557cee56c550) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qwaitcondition_unix.cpp:102
#3  QWaitCondition::wait (this=this@entry=0x557cee54bf60, mutex=mutex@entry=0x557cee54bf58, deadline=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qwaitcondition_unix.cpp:180
#4  0x00007f03459a9d67 in QtWaylandClient::EventThread::waitForReading (this=0x557cee54bf20) at /usr/src/debug/qtwayland-everywhere-src-6.7.2/src/client/qwaylanddisplay.cpp:216
#5  QtWaylandClient::EventThread::run (this=0x557cee54bf20) at /usr/src/debug/qtwayland-everywhere-src-6.7.2/src/client/qwaylanddisplay.cpp:177
#6  0x00007f03482ed139 in operator() (__closure=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:326
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:262
#8  QThreadPrivate::start (arg=0x557cee54bf20) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/thread/qthread_unix.cpp:285
#9  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#10 0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 3 (Thread 0x7f03390006c0 (LWP 4686)):
#0  0x00007f034788efee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0347891d30 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f033931cd99 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f03392fcf3b in ??? () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f033931ccd7 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 2 (Thread 0x7f03334006c0 (LWP 4688)):
#0  0x00007f034788efee in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0347891d30 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f033931cd99 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#3  0x00007f03392fcf3b in ??? () at /usr/lib64/dri/radeonsi_dri.so
#4  0x00007f033931ccd7 in ??? () at /usr/lib64/dri/radeonsi_dri.so
#5  0x00007f0347892ba2 in start_thread () at /lib64/libc.so.6
#6  0x00007f034791400c in clone3 () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0342180ac0 (LWP 4680)):
[KCrash Handler]
#4  0x0000000000000051 in ??? ()
#5  0x00007f034943c54b in std::__invoke_impl<void, void (PowerDevil::Action::* const&)(), PowerDevil::Action* const&> (__f=<synthetic pointer>: <optimized out>, __t=<optimized out>) at /usr/include/c++/13/bits/invoke.h:71
#6  std::__invoke<void (PowerDevil::Action::* const&)(), PowerDevil::Action* const&> (__fn=<synthetic pointer>: <optimized out>) at /usr/include/c++/13/bits/invoke.h:96
#7  std::_Mem_fn_base<void (PowerDevil::Action::*)(), true>::operator()<PowerDevil::Action* const&> (this=<synthetic pointer>) at /usr/include/c++/13/functional:170
#8  std::for_each<QSet<PowerDevil::Action*>::const_iterator, std::_Mem_fn<void (PowerDevil::Action::*)()> > (__f=..., __last=..., __first=...) at /usr/include/c++/13/bits/stl_algo.h:3833
#9  PowerDevil::Core::onResumingFromIdle (this=0x557cee813e30) at /usr/src/debug/powerdevil-6.1.2/daemon/powerdevilcore.cpp:873
#10 0x00007f03481e7f90 in QtPrivate::QSlotObjectBase::call (a=0x7ffcbd6c1dc8, r=0x557cee813e30, this=0x557cee7ceff0) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobjectdefs_impl.h:469
#11 doActivate<false> (sender=0x557cee75b5f0, signal_index=3, argv=0x7ffcbd6c1dc8) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4086
#12 0x00007f03486312bc in KIdleTimePrivate::resumingFromIdle (this=<optimized out>) at /usr/src/debug/kidletime-6.3.0/src/kidletime.cpp:286
#13 operator() (__closure=<optimized out>) at /usr/src/debug/kidletime-6.3.0/src/kidletime.cpp:85
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KIdleTime::KIdleTime()::<lambda()> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#15 QtPrivate::FunctorCallable<KIdleTime::KIdleTime()::<lambda()> >::call<QtPrivate::List<>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#16 QtPrivate::QCallableObject<KIdleTime::KIdleTime()::<lambda()>, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#17 0x00007f03481e7f90 in QtPrivate::QSlotObjectBase::call (a=0x7ffcbd6c1eb8, r=0x557cee75b5f0, this=0x557cee847440) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobjectdefs_impl.h:469
#18 doActivate<false> (sender=0x557cee7430c0, signal_index=3, argv=0x7ffcbd6c1eb8) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4086
#19 0x00007f03481e7f90 in QtPrivate::QSlotObjectBase::call (a=0x7ffcbd6c1f98, r=0x557cee7430c0, this=0x557cee73be10) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobjectdefs_impl.h:469
#20 doActivate<false> (sender=0x557cee77b290, signal_index=4, argv=0x7ffcbd6c1f98) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:4086
#21 0x00007f03443fc972 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#22 0x00007f03443f92df in ffi_call_int (cif=cif@entry=0x7ffcbd6c21b0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#23 0x00007f03443fbf36 in ffi_call (cif=cif@entry=0x7ffcbd6c21b0, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffcbd6c2280) at ../src/x86/ffi64.c:710
#24 0x00007f03463aebb3 in wl_closure_invoke (closure=closure@entry=0x7f03340019d0, target=<optimized out>, target@entry=0x557cee7a4730, opcode=opcode@entry=1, data=<optimized out>, flags=1) at ../src/connection.c:1228
#25 0x00007f03463af369 in dispatch_event (display=0x557cee54f9d0, queue=0x557cee54fac8) at ../src/wayland-client.c:1670
#26 0x00007f03463af72b in dispatch_queue (queue=0x557cee54fac8, display=0x557cee54f9d0) at ../src/wayland-client.c:1816
#27 wl_display_dispatch_queue_pending (display=0x557cee54f9d0, queue=0x557cee54fac8) at ../src/wayland-client.c:2058
#28 0x00007f03459a9c2a in QtWaylandClient::QWaylandDisplay::flushRequests (this=<optimized out>) at /usr/src/debug/qtwayland-everywhere-src-6.7.2/src/client/qwaylanddisplay.cpp:227
#29 0x00007f03481d1e1b in QObject::event (this=0x557cee54f7a0, e=0x7f0334002400) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1452
#30 0x00007f034818ec30 in QCoreApplication::notifyInternal2 (receiver=0x557cee54f7a0, event=0x7f0334002400) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
#31 0x00007f034818ec69 in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1583
#32 0x00007f034818ef90 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x557cee5460d0) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1940
#33 0x00007f03483c2fe3 in postEventSourceDispatch (s=0x557cee54c270) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#34 0x00007f0346712740 in ??? () at /lib64/libglib-2.0.so.0
#35 0x00007f0346714388 in ??? () at /lib64/libglib-2.0.so.0
#36 0x00007f0346714a3c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#37 0x00007f03483c1b01 in QEventDispatcherGlib::processEvents (this=0x557cee54bf00, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#38 0x00007f03481993db in QEventLoop::exec (this=0x7ffcbd6c27e0, flags=...) at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:34
#39 0x00007f0348192bb6 in QCoreApplication::exec () at /usr/src/debug/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:74
#40 0x0000557ccc9432af in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/powerdevil-6.1.2/daemon/powerdevilapp.cpp:135

Reported using DrKonqi
Comment 1 Jakob Petsovits 2024-07-18 11:39:08 UTC
I've got an understanding of the issue and a fix, marking as duplicate of 490356. Thanks for reporting the crash!

*** This bug has been marked as a duplicate of bug 490356 ***
Comment 2 Kévin Le Gouguec 2024-07-19 06:10:05 UTC
> I've got an understanding of the issue and a fix, marking as duplicate of 490356. Thanks for reporting the crash!

You're welcome, thanks for the update & the fix!