Bug 496637

Summary: Crash coming back from another user wayland session
Product: [Plasma] Powerdevil Reporter: Jaime Torres <jtamate>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: natalie_clarius, nate
Priority: NOR Keywords: drkonqi
Version: 6.2.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/98411/events/d0e1e3ac125b4e8a873ff251d5495026/

Description Jaime Torres 2024-11-24 14:47:44 UTC
Application: org_kde_powerdevil (6.2.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.0
Frameworks Version: 6.8.0
Operating System: Linux 6.11.8-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 6.2.3 [CoredumpBackend]

-- Information about the crash:
When I switched the wayland sessions, the crash failure handler where there.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Sistema de gestión de energía de KDE (org_kde_powerdevil), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[New LWP 48009]
[New LWP 48034]
[New LWP 48033]
[New LWP 48032]
[New LWP 48036]
[New LWP 48098]
[New LWP 48030]
[New LWP 48035]
[New LWP 48097]

warning: the debug information found in "/muyGrandes/usr.lib.debug//usr/lib64/libEGL_mesa.so.0.0.0.debug" does not match "/lib64/libEGL_mesa.so.0" (CRC mismatch).

warning: the debug information found in "/muyGrandes/usr.lib.debug//usr/lib64/libgbm.so.1.0.0.debug" does not match "/lib64/libgbm.so.1" (CRC mismatch).

warning: the debug information found in "/muyGrandes/usr.lib.debug//usr/lib64/libglapi.so.0.0.0.debug" does not match "/lib64/libglapi.so.0" (CRC mismatch).
[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  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7fa40f00dfc0 (LWP 48009))]

Cannot QML trace cores :(
[Current thread is 1 (Thread 0x7fa40f00dfc0 (LWP 48009))]

Thread 9 (Thread 0x7fa3fbfff6c0 (LWP 48097)):
#0  0x00007fa4146946be in __futex_abstimed_wait_common64 (private=0, futex_word=0x55d9f6a73170, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55d9f6a73170, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fa41469475f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d9f6a73170, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fa414697520 in __pthread_cond_wait_common (cond=0x55d9f6a73148, mutex=0x55d9f6a73118, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d9f6a73148, mutex=0x55d9f6a73118) at pthread_cond_wait.c:618
#5  0x00007fa404963139 in ??? () at /lib64/libgallium-24.2.6.so
#6  0x00007fa40494066b in ??? () at /lib64/libgallium-24.2.6.so
#7  0x00007fa404963077 in ??? () at /lib64/libgallium-24.2.6.so
#8  0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7fa40cbfb6c0 (LWP 48035)):
#0  0x00007fa41470f186 in __GI_ppoll (fds=fds@entry=0x55d9f69b2250, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007fa414152d9f in ppoll (__fds=0x55d9f69b2250, __nfds=1, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x55d9f69b1fd0, timeout_usec=<optimized out>, fds=0x55d9f69b2250, n_fds=1) at ../glib/gmain.c:4591
#3  g_main_context_iterate_unlocked (context=context@entry=0x55d9f69b1fd0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4268
#4  0x00007fa4141534bc in g_main_context_iteration (context=0x55d9f69b1fd0, may_block=may_block@entry=1) at ../glib/gmain.c:4338
#5  0x00007fa414153501 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6537
#6  0x00007fa41418249e in g_thread_proxy (data=0x55d9f69b21f0) at ../glib/gthread.c:892
#7  0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#8  0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7fa40ebff6c0 (LWP 48030)):
#0  0x00007fa41470f186 in __GI_ppoll (fds=fds@entry=0x55d9f696dcb0, nfds=nfds@entry=4, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007fa414152d9f in ppoll (__fds=0x55d9f696dcb0, __nfds=4, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x7fa408000cb0, timeout_usec=<optimized out>, fds=0x55d9f696dcb0, n_fds=4) at ../glib/gmain.c:4591
#3  g_main_context_iterate_unlocked (context=context@entry=0x7fa408000cb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4268
#4  0x00007fa4141534bc in g_main_context_iteration (context=0x7fa408000cb0, may_block=1) at ../glib/gmain.c:4338
#5  0x00007fa4151fe043 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#6  0x00007fa414fb6602 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#7  0x00007fa4150a2a8c in QThread::exec() () at /lib64/libQt6Core.so.6
#8  0x00007fa41557722e in QDBusConnectionManager::run (this=0x7fa4155feb20 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/debug/qtbase-everywhere-src-6.8.0/src/dbus/qdbusconnectionmanager.cpp:144
#9  0x00007fa41511ccf9 in ??? () at /lib64/libQt6Core.so.6
#10 0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#11 0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7fa3fb7fe6c0 (LWP 48098)):
#0  0x00007fa4146946be in __futex_abstimed_wait_common64 (private=0, futex_word=0x55d9f69e4948, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55d9f69e4948, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fa41469475f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d9f69e4948, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fa414697520 in __pthread_cond_wait_common (cond=0x55d9f69e4920, mutex=0x55d9f69e48f0, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d9f69e4920, mutex=0x55d9f69e48f0) at pthread_cond_wait.c:618
#5  0x00007fa404963139 in ??? () at /lib64/libgallium-24.2.6.so
#6  0x00007fa40494066b in ??? () at /lib64/libgallium-24.2.6.so
#7  0x00007fa404963077 in ??? () at /lib64/libgallium-24.2.6.so
#8  0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#9  0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7fa407fff6c0 (LWP 48036)):
#0  0x00007fa41470f186 in __GI_ppoll (fds=fds@entry=0x7fa3f4000b90, nfds=nfds@entry=2, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007fa414152d9f in ppoll (__fds=0x7fa3f4000b90, __nfds=2, __timeout=0x0, __ss=0x0) at /usr/include/bits/poll2.h:101
#2  g_main_context_poll_unlocked (priority=<optimized out>, context=0x55d9f69be190, timeout_usec=<optimized out>, fds=0x7fa3f4000b90, n_fds=2) at ../glib/gmain.c:4591
#3  g_main_context_iterate_unlocked (context=0x55d9f69be190, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4268
#4  0x00007fa4141536cf in g_main_loop_run (loop=0x55d9f69bdfe0) at ../glib/gmain.c:4475
#5  0x00007fa40f465936 in gdbus_shared_thread_func (user_data=0x55d9f69be160) at ../gio/gdbusprivate.c:284
#6  0x00007fa41418249e in g_thread_proxy (data=0x55d9f69ba130) at ../glib/gthread.c:892
#7  0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#8  0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7fa40e3fe6c0 (LWP 48032)):
#0  0x00007fa4146946be in __futex_abstimed_wait_common64 (private=0, futex_word=0x55d9f6992d44, expected=0, op=393, abstime=0x0, cancel=true) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55d9f6992d44, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007fa41469475f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55d9f6992d44, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fa414697520 in __pthread_cond_wait_common (cond=0x55d9f6992d18, mutex=0x55d9f6992cf0, clockid=0, abstime=0x0) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55d9f6992d18, mutex=0x55d9f6992cf0) at pthread_cond_wait.c:618
#5  0x00007fa41512171b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /lib64/libQt6Core.so.6
#6  0x00007fa4145712a7 in QtWaylandClient::EventThread::waitForReading (this=0x55d9f6971000) at /usr/include/qt6/QtCore/qdeadlinetimer.h:31
#7  QtWaylandClient::EventThread::run (this=0x55d9f6971000) at /usr/src/debug/qtwayland-everywhere-src-6.8.0/src/client/qwaylanddisplay.cpp:177
#8  0x00007fa41511ccf9 in ??? () at /lib64/libQt6Core.so.6
#9  0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#10 0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7fa40dbfd6c0 (LWP 48033)):
#0  0x00007fa41470ebcf in __GI___poll (fds=fds@entry=0x7fa40dbfcaa0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa414571307 in poll (__fds=0x7fa40dbfcaa0, __nfds=2, __timeout=-1) at /usr/include/bits/poll2.h:44
#2  QtWaylandClient::EventThread::run (this=0x55d9f69a0c70) at /usr/src/debug/qtwayland-everywhere-src-6.8.0/src/client/qwaylanddisplay.cpp:182
#3  0x00007fa41511ccf9 in ??? () at /lib64/libQt6Core.so.6
#4  0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#5  0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7fa40d3fc6c0 (LWP 48034)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fa414181e10 in g_cond_wait_impl (cond=0x55d9f69a8cf8, cond@entry=0x0, mutex=mutex@entry=0x55d9f69a8cf0) at ../glib/gthread-posix.c:1007
#2  g_cond_wait (cond=cond@entry=0x55d9f69a8cf8, mutex=mutex@entry=0x55d9f69a8cf0) at ../glib/gthread.c:1665
#3  0x00007fa41411b1ab in g_async_queue_pop_intern_unlocked (queue=0x55d9f69a8cf0, wait=1, end_time=-1) at ../glib/gasyncqueue.c:375
#4  0x00007fa414182732 in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/gthreadpool.c:297
#5  0x00007fa41418249e in g_thread_proxy (data=0x55d9f69b1c90) at ../glib/gthread.c:892
#6  0x00007fa4146983b2 in start_thread (arg=<optimized out>) at pthread_create.c:447
#7  0x00007fa41471d5fc in __GI___clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7fa40f00dfc0 (LWP 48009)):
[KCrash Handler]
#5  0x00007fa41615a1aa in PowerDevil::Core::unloadAllActiveActions (this=this@entry=0x55d9f69a6230) at /usr/src/debug/powerdevil-6.2.3/daemon/powerdevilcore.cpp:1003
#6  0x00007fa41615cd5c in PowerDevil::Core::loadProfile (this=<optimized out>, force=true) at /usr/src/debug/powerdevil-6.2.3/daemon/powerdevilcore.cpp:356
#7  0x00007fa41500e161 in ??? () at /lib64/libQt6Core.so.6
#8  0x00007fa416172c92 in PowerDevil::PolicyAgent::sessionActiveChanged (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/powerdevil-6.2.3/build/daemon/powerdevilcore_autogen/include/moc_powerdevilpolicyagent.cpp:425
#9  0x00007fa41616a4fc in PowerDevil::PolicyAgent::onActiveSessionChanged (this=0x55d9f6a14410, ifaceName=<optimized out>, changedProps=<optimized out>, invalidatedProps=<optimized out>) at /usr/src/debug/powerdevil-6.2.3/daemon/powerdevilpolicyagent.cpp:390
#10 0x00007fa41617c2e3 in PowerDevil::PolicyAgent::qt_metacall (this=0x55d9f6a14410, _c=QMetaObject::InvokeMetaMethod, _id=21, _a=0x7ffe48b87ac8) at /usr/src/debug/powerdevil-6.2.3/build/daemon/powerdevilcore_autogen/include/moc_powerdevilpolicyagent.cpp:383
#11 0x00007fa4155835de in QDBusConnectionPrivate::deliverCall (this=0x7fa408009140, object=0x55d9f6a14410, msg=..., metaTypes=<optimized out>, slotIdx=25) at /usr/src/debug/qtbase-everywhere-src-6.8.0/src/dbus/qdbusintegrator.cpp:1008
#12 0x00007fa414ff9f67 in QObject::event(QEvent*) () at /lib64/libQt6Core.so.6
#13 0x00007fa414facbe8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt6Core.so.6
#14 0x00007fa414fb57d8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt6Core.so.6
#15 0x00007fa415200c87 in ??? () at /lib64/libQt6Core.so.6
#16 0x00007fa414150eb8 in g_main_dispatch (context=0x7fa408000f30) at ../glib/gmain.c:3357
#17 g_main_context_dispatch_unlocked (context=context@entry=0x7fa408000f30) at ../glib/gmain.c:4208
#18 0x00007fa414152ca8 in g_main_context_iterate_unlocked (context=context@entry=0x7fa408000f30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4273
#19 0x00007fa4141534bc in g_main_context_iteration (context=0x7fa408000f30, may_block=1) at ../glib/gmain.c:4338
#20 0x00007fa4151fe043 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#21 0x00007fa414fb6602 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt6Core.so.6
#22 0x00007fa414fb6aea in QCoreApplication::exec() () at /lib64/libQt6Core.so.6
#23 0x000055d9b7bdd23d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/powerdevil-6.2.3/daemon/powerdevilapp.cpp:134
Warning: the current language does not match this frame.

Reported using DrKonqi
Comment 1 Nate Graham 2024-11-25 20:52:04 UTC

*** This bug has been marked as a duplicate of bug 492349 ***