Bug 483216 - Battery applet crashes after login
Summary: Battery applet crashes after login
Status: RESOLVED FIXED
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.1
Platform: NixOS Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-03-11 10:54 UTC by Niko Strijbol
Modified: 2024-03-13 17:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niko Strijbol 2024-03-11 10:54:59 UTC
Application:  (6.0.1)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.7.9 x86_64
Windowing System: Wayland
Distribution: NixOS 24.05 (Uakari)
DrKonqi: 6.0.1 [CoredumpBackend]

-- Information about the crash:
Directly after logging in, the battery applet in the task bar always crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE energiebeheersysteem (), signal: Segmentation fault

[New LWP 2277]
[New LWP 2332]
[New LWP 2297]
[New LWP 2320]
[New LWP 2298]
[New LWP 2334]
[New LWP 2321]
[New LWP 2296]
[New LWP 2333]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libthread_db.so.1".
Core was generated by `/nix/store/cll8x7yjsgj6zlnmyva057ryrzg6csbv-powerdevil-6.0.1/libexec/org_kde_po'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f97294a407c in __pthread_kill_implementation () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
[Current thread is 1 (Thread 0x7f972569a9c0 (LWP 2277))]
Cannot QML trace cores :(
Unexpectedly stumbled over an objfile (/nix/store/fn0hixldi3bif5dp1zh1yn9i6ja7hzii-attr-2.5.2/lib/libattr.so.1.1.2502) without build_id. Not creating payload.
[Current thread is 1 (Thread 0x7f972569a9c0 (LWP 2277))]

Thread 9 (Thread 0x7f97160006c0 (LWP 2333)):
#0  0x00007f972951789f in poll () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f97287156f7 in g_main_context_iterate_unlocked.isra () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#2  0x00007f9728715d8c in g_main_context_iteration () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#3  0x00007f9728715dd1 in glib_worker_main () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#4  0x00007f972874254d in g_thread_proxy () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#5  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#6  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 8 (Thread 0x7f97250006c0 (LWP 2296)):
#0  0x00007f972951789f in poll () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f97287156f7 in g_main_context_iterate_unlocked.isra () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#2  0x00007f9728715d8c in g_main_context_iteration () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#3  0x00007f9729e3a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#4  0x00007f9729b89be3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#5  0x00007f9729c8b985 in QThread::exec() () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#6  0x00007f972a16abaa in QDBusConnectionManager::run() () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6DBus.so.6
#7  0x00007f9729d248d1 in QThreadPrivate::start(void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#8  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#9  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 7 (Thread 0x7f97174006c0 (LWP 2321)):
#0  0x00007f972949eebe in __futex_abstimed_wait_common () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f97294a1720 in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#2  0x00007f971cb17b19 in cnd_wait () from /run/opengl-driver/lib/dri/iris_dri.so
#3  0x00007f971caf7edb in util_queue_thread_func () from /run/opengl-driver/lib/dri/iris_dri.so
#4  0x00007f971cb17a57 in impl_thrd_routine () from /run/opengl-driver/lib/dri/iris_dri.so
#5  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#6  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 6 (Thread 0x7f97156006c0 (LWP 2334)):
#0  0x00007f972951789f in poll () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f97287156f7 in g_main_context_iterate_unlocked.isra () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#2  0x00007f972871604f in g_main_loop_run () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#3  0x00007f971ff35db6 in gdbus_shared_thread_func () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libgio-2.0.so.0
#4  0x00007f972874254d in g_thread_proxy () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#5  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#6  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 5 (Thread 0x7f971f4006c0 (LWP 2298)):
#0  0x00007f972951789f in poll () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f9729259e66 in QtWaylandClient::EventThread::run() () from /nix/store/5ifm42bspfx2aprga3n2073l23xpq1yv-qtwayland-6.6.2/lib/libQt6WaylandClient.so.6
#2  0x00007f9729d248d1 in QThreadPrivate::start(void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#3  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#4  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 4 (Thread 0x7f9717e006c0 (LWP 2320)):
#0  0x00007f972949eebe in __futex_abstimed_wait_common () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f97294a1720 in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#2  0x00007f971cb17b19 in cnd_wait () from /run/opengl-driver/lib/dri/iris_dri.so
#3  0x00007f971caf7edb in util_queue_thread_func () from /run/opengl-driver/lib/dri/iris_dri.so
#4  0x00007f971cb17a57 in impl_thrd_routine () from /run/opengl-driver/lib/dri/iris_dri.so
#5  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#6  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 3 (Thread 0x7f971fe006c0 (LWP 2297)):
#0  0x00007f972949eebe in __futex_abstimed_wait_common () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f97294a1720 in pthread_cond_wait@@GLIBC_2.3.2 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#2  0x00007f9729d2d26b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#3  0x00007f9729259df7 in QtWaylandClient::EventThread::run() () from /nix/store/5ifm42bspfx2aprga3n2073l23xpq1yv-qtwayland-6.6.2/lib/libQt6WaylandClient.so.6
#4  0x00007f9729d248d1 in QThreadPrivate::start(void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#5  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#6  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 2 (Thread 0x7f9716a006c0 (LWP 2332)):
#0  0x00007f9729522f8d in syscall () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#1  0x00007f972876fd20 in g_cond_wait () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#2  0x00007f97286e002b in g_async_queue_pop_intern_unlocked () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#3  0x00007f9728742b92 in g_thread_pool_spawn_thread () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#4  0x00007f972874254d in g_thread_proxy () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#5  0x00007f97294a2383 in start_thread () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6
#6  0x00007f972952500c in clone3 () from /nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libc.so.6

Thread 1 (Thread 0x7f972569a9c0 (LWP 2277)):
[KCrash Handler]
#4  0x00007f971f451b1d in PowerDevil::BundledActions::PowerProfile::readProperties(QMap<QString, QVariant> const&) () from /nix/store/cll8x7yjsgj6zlnmyva057ryrzg6csbv-powerdevil-6.0.1/lib/qt-6/plugins/powerdevil/action/powerdevil_powerprofileaction.so
#5  0x00007f971f452521 in QtPrivate::QCallableObject<PowerDevil::BundledActions::PowerProfile::PowerProfile(QObject*)::{lambda()#1}, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /nix/store/cll8x7yjsgj6zlnmyva057ryrzg6csbv-powerdevil-6.0.1/lib/qt-6/plugins/powerdevil/action/powerdevil_powerprofileaction.so
#6  0x00007f9729bddc63 in void doActivate<false>(QObject*, int, void**) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#7  0x00007f972a1c642f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6DBus.so.6
#8  0x00007f9729bcd944 in QObject::event(QEvent*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#9  0x00007f9729b7cc38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#10 0x00007f9729b809c7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#11 0x00007f9729e3a7a3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#12 0x00007f9728712744 in g_main_dispatch () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#13 0x00007f9728715797 in g_main_context_iterate_unlocked.isra () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#14 0x00007f9728715d8c in g_main_context_iteration () from /nix/store/k1qjs35nw1lbssg1l1xpmh0082hy7wl4-glib-2.78.4/lib/libglib-2.0.so.0
#15 0x00007f9729e3a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#16 0x00007f9729b89be3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#17 0x00007f9729b85d66 in QCoreApplication::exec() () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#18 0x0000000000408ff0 in main ()

Reported using DrKonqi
Comment 1 Natalie Clarius 2024-03-11 15:01:06 UTC
Thanks for the report. We're going to need a little more detailed information to see where things went wrong. Could you please install debug symbols and afterward post the output of the crash information here again? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Install_debugging_packages.
Comment 2 Niko Strijbol 2024-03-11 21:57:54 UTC
I think I have enabled them now, but there isn't much of a difference, so I hope it's helpful (see below).
I also discovered that the crash only happens after restarting: after logging out and back in, it does work.

Application: KDE energiebeheersysteem (), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 2072]
[New LWP 2130]
[New LWP 2129]
[New LWP 2114]
[New LWP 2142]
[New LWP 2144]
[New LWP 2143]
[New LWP 2110]
[New LWP 2115]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/ksk3rnb0ljx8gngzk19jlmbjyvac4hw6-glibc-2.38-44/lib/libthread_db.so.1".
Core was generated by `/nix/store/cll8x7yjsgj6zlnmyva057ryrzg6csbv-powerdevil-6.0.1/libexec/org_kde_po'.
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 0x7fdc042979c0 (LWP 2072))]

Cannot QML trace cores :(
Unexpectedly stumbled over an objfile (/nix/store/1cd6yzgajbh4rpayk3mnw6fj5q4fj8kb-acl-2.3.2/lib/libacl.so.1.1.2302) without build_id. Not creating payload.
[Current thread is 1 (Thread 0x7fdc042979c0 (LWP 2072))]

Thread 9 (Thread 0x7fdbfbe006c0 (LWP 2115)):
#0  0x00007fdc05d1789f in __GI___poll (fds=0x7fdbfbdffbb0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdc05b9ee66 in QtWaylandClient::EventThread::run() () from /nix/store/5ifm42bspfx2aprga3n2073l23xpq1yv-qtwayland-6.6.2/lib/libQt6WaylandClient.so.6
#2  0x00007fdc065248d1 in QThreadPrivate::start(void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#3  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#4  0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 8 (Thread 0x7fdc01a006c0 (LWP 2110)):
#0  0x00007fdc05d1789f in __GI___poll (fds=0x7fdbfc0175e0, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdc050c86f7 in g_main_context_poll_unlocked (priority=<optimized out>, n_fds=4, fds=0x7fdbfc0175e0, timeout=<optimized out>, context=0x7fdbfc000c80) at ../glib/gmain.c:4653
#2  g_main_context_iterate_unlocked (context=context@entry=0x7fdbfc000c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4344
#3  0x00007fdc050c8d8c in g_main_context_iteration (context=0x7fdbfc000c80, may_block=1) at ../glib/gmain.c:4414
#4  0x00007fdc0663a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#5  0x00007fdc06389be3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#6  0x00007fdc0648b985 in QThread::exec() () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#7  0x00007fdc073abbaa in QDBusConnectionManager::run() () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6DBus.so.6
#8  0x00007fdc065248d1 in QThreadPrivate::start(void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#9  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#10 0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 7 (Thread 0x7fdbf2a006c0 (LWP 2143)):
#0  0x00007fdc05d1789f in __GI___poll (fds=0x1530f20, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdc050c86f7 in g_main_context_poll_unlocked (priority=<optimized out>, n_fds=1, fds=0x1530f20, timeout=<optimized out>, context=0x1530cb0) at ../glib/gmain.c:4653
#2  g_main_context_iterate_unlocked (context=context@entry=0x1530cb0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4344
#3  0x00007fdc050c8d8c in g_main_context_iteration (context=0x1530cb0, may_block=may_block@entry=1) at ../glib/gmain.c:4414
#4  0x00007fdc050c8dd1 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6574
#5  0x00007fdc050f554d in g_thread_proxy (data=0x1530ec0) at ../glib/gthread.c:831
#6  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 6 (Thread 0x7fdbf20006c0 (LWP 2144)):
#0  0x00007fdc05d1789f in __GI___poll (fds=0x7fdbc4000b90, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fdc050c86f7 in g_main_context_poll_unlocked (priority=<optimized out>, n_fds=2, fds=0x7fdbc4000b90, timeout=<optimized out>, context=0x15032d0) at ../glib/gmain.c:4653
#2  g_main_context_iterate_unlocked (context=0x15032d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4344
#3  0x00007fdc050c904f in g_main_loop_run (loop=0x15033c0) at ../glib/gmain.c:4551
#4  0x00007fdc001c8db6 in gdbus_shared_thread_func (user_data=0x15032a0) at ../gio/gdbusprivate.c:284
#5  0x00007fdc050f554d in g_thread_proxy (data=0x153e1b0) at ../glib/gthread.c:831
#6  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7fdbf34006c0 (LWP 2142)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fdc05122d20 in g_cond_wait (cond=cond@entry=0x14ffc98, mutex=mutex@entry=0x14ffc90) at ../glib/gthread-posix.c:1552
#2  0x00007fdc0509302b in g_async_queue_pop_intern_unlocked (queue=0x14ffc90, wait=1, end_time=-1) at ../glib/gasyncqueue.c:425
#3  0x00007fdc050f5b92 in g_thread_pool_spawn_thread (data=<optimized out>) at ../glib/gthreadpool.c:311
#4  0x00007fdc050f554d in g_thread_proxy (data=0x1530b70) at ../glib/gthread.c:831
#5  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#6  0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7fdc010006c0 (LWP 2114)):
#0  0x00007fdc05c9eebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x13dad70) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x13dad70, 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  0x00007fdc05c9ef3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x13dad70, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fdc05ca1720 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x13dad20, cond=0x13dad48) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x13dad48, mutex=0x13dad20) at pthread_cond_wait.c:618
#5  0x00007fdc0652d26b in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#6  0x00007fdc05b9edf7 in QtWaylandClient::EventThread::run() () from /nix/store/5ifm42bspfx2aprga3n2073l23xpq1yv-qtwayland-6.6.2/lib/libQt6WaylandClient.so.6
#7  0x00007fdc065248d1 in QThreadPrivate::start(void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#8  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7fdbf92006c0 (LWP 2129)):
#0  0x00007fdc05c9eebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x13f6988) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x13f6988, 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  0x00007fdc05c9ef3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x13f6988, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fdc05ca1720 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x13f6930, cond=0x13f6960) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x13f6960, mutex=0x13f6930) at pthread_cond_wait.c:618
#5  0x00007fdbf9517b19 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007fdbf94f7edb in util_queue_thread_func (input=input@entry=0x14a77f0) at ../src/util/u_queue.c:290
#7  0x00007fdbf9517a57 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7fdbf3e006c0 (LWP 2130)):
#0  0x00007fdc05c9eebe in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x14a7f90) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x14a7f90, 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  0x00007fdc05c9ef3f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x14a7f90, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007fdc05ca1720 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x14a7f38, cond=0x14a7f68) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x14a7f68, mutex=0x14a7f38) at pthread_cond_wait.c:618
#5  0x00007fdbf9517b19 in cnd_wait (cond=<optimized out>, mtx=<optimized out>) at ../src/c11/impl/threads_posix.c:135
#6  0x00007fdbf94f7edb in util_queue_thread_func (input=input@entry=0x14a7a60) at ../src/util/u_queue.c:290
#7  0x00007fdbf9517a57 in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
#8  0x00007fdc05ca2383 in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007fdc05d2500c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7fdc042979c0 (LWP 2072)):
[KCrash Handler]
#5  QtPrivate::QExplicitlySharedDataPointerV2<QMapData<std::map<QString, QVariant, std::less<QString>, std::allocator<std::pair<QString const, QVariant> > > > >::isShared (this=0x0) at /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/include/QtCore/qshareddata_impl.h:98
#6  QMap<QString, QVariant>::operator[] (key=..., this=0x0) at /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/include/QtCore/qmap.h:368
#7  PowerDevil::BundledActions::PowerProfile::readProperties (this=this@entry=0x159e730, properties=...) at /build/powerdevil-6.0.1/daemon/actions/bundled/powerprofile.cpp:197
#8  0x00007fdbf894e521 in operator() (__closure=<optimized out>) at /build/powerdevil-6.0.1/daemon/actions/bundled/powerprofile.cpp:59
#9  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, PowerDevil::BundledActions::PowerProfile::PowerProfile(QObject*)::<lambda()> >::call (arg=<optimized out>, f=...) at /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/include/QtCore/qobjectdefs_impl.h:137
#10 QtPrivate::Functor<PowerDevil::BundledActions::PowerProfile::PowerProfile(QObject*)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/include/QtCore/qobjectdefs_impl.h:339
#11 QtPrivate::QCallableObject<PowerDevil::BundledActions::PowerProfile::PowerProfile(QObject*)::<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 /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/include/QtCore/qobjectdefs_impl.h:522
#12 0x00007fdc063ddc63 in void doActivate<false>(QObject*, int, void**) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#13 0x00007fdc0740742f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6DBus.so.6
#14 0x00007fdc063cd944 in QObject::event(QEvent*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#15 0x00007fdc0637cc38 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#16 0x00007fdc063809c7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#17 0x00007fdc0663a7a3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#18 0x00007fdc050c5744 in g_main_dispatch (context=context@entry=0x7fdbfc000ef0) at ../glib/gmain.c:3476
#19 0x00007fdc050c8797 in g_main_context_dispatch_unlocked (context=0x7fdbfc000ef0) at ../glib/gmain.c:4284
#20 g_main_context_iterate_unlocked (context=context@entry=0x7fdbfc000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#21 0x00007fdc050c8d8c in g_main_context_iteration (context=0x7fdbfc000ef0, may_block=1) at ../glib/gmain.c:4414
#22 0x00007fdc0663a17c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#23 0x00007fdc06389be3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#24 0x00007fdc06385d66 in QCoreApplication::exec() () from /nix/store/i4nry99yhb7a8h2lzljd1vxdafqck08i-qtbase-6.6.2/lib/libQt6Core.so.6
#25 0x0000000000408ff0 in main (argc=<optimized out>, argv=<optimized out>) at /build/powerdevil-6.0.1/daemon/powerdevilapp.cpp:165
Comment 3 Natalie Clarius 2024-03-12 00:55:41 UTC
Thanks, this one was indeed more helpful.
Comment 4 Bug Janitor Service 2024-03-12 00:56:25 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/335
Comment 5 Natalie Clarius 2024-03-12 01:36:35 UTC
Git commit b4329f0e946f696fa80603a63a8167a553019ee7 by Natalie Clarius.
Committed on 12/03/2024 at 01:35.
Pushed by nclarius into branch 'master'.

actions/powerprofile: guard against empty profiles list in readProperties

M  +1    -1    daemon/actions/bundled/powerprofile.cpp

https://invent.kde.org/plasma/powerdevil/-/commit/b4329f0e946f696fa80603a63a8167a553019ee7
Comment 6 Jakob Petsovits 2024-03-12 03:40:25 UTC
Git commit ae9af8fe02e0ee2540b4c81c05e9758a5aca6cd2 by Jakob Petsovits, on behalf of Natalie Clarius.
Committed on 12/03/2024 at 03:38.
Pushed by jpetso into branch 'Plasma/6.0'.

actions/powerprofile: guard against empty profiles list in readProperties


(cherry picked from commit b4329f0e946f696fa80603a63a8167a553019ee7)

M  +1    -1    daemon/actions/bundled/powerprofile.cpp

https://invent.kde.org/plasma/powerdevil/-/commit/ae9af8fe02e0ee2540b4c81c05e9758a5aca6cd2