https://bugs.kde.org/show_bug.cgi?id=483216

--- Comment #2 from Niko Strijbol <[email protected]> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to