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

            Bug ID: 491319
           Summary: Crash after turning screen back on
    Classification: Plasma
           Product: Powerdevil
           Version: 6.1.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: epictux...@proton.me
                CC: m...@ratijas.tk, natalie_clar...@yahoo.de
  Target Milestone: ---

Context: I was on the system settings app on the page for power management.
Screen turned off automatically due to power settings. Turned it back on by
moving the mouse. Powerdevil crashed.

I have a crash log with debug symbols and I'll make it available in this post.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

===============================================================================================================================================================================================================================================================================================================================



Application: KDE Power Management System (org_kde_powerdevil), signal:
Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[New LWP 2138]
[New LWP 2162]
[New LWP 2164]
[New LWP 2158]
[New LWP 2163]
[New LWP 2157]
[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 0x7f48fff18b00 (LWP 2138))]

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

Thread 6 (Thread 0x7f48f20006c0 (LWP 2157)):
#0  0x00007f490791c67d in __GI___poll (fds=0x5650d7bb2580, nfds=5, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f49064ccc34 in g_main_context_poll_unlocked (priority=2147483647,
context=0x7f48ec000c80, timeout=<optimized out>, fds=0x5650d7bb2580, n_fds=5)
at ../glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7f48ec000c80, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212
#3  0x00007f490646c383 in g_main_context_iteration (context=0x7f48ec000c80,
may_block=1) at ../glib/gmain.c:4282
#4  0x00007f49082850a3 in QEventDispatcherGlib::processEvents
(this=0x7f48ec000b70, flags=...) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#5  0x00007f4907fa3b03 in QEventLoop::exec (this=this@entry=0x7f48f1fffa20,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:34
#6  0x00007f49080b7e4f in QThread::exec (this=this@entry=0x7f4909036cc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:74
#7  0x00007f4908fa7e41 in QDBusConnectionManager::run (this=0x7f4909036cc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/dbus/qdbusconnectionmanager.cpp:144
#8  0x00007f490815463c in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#9  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#10 QThreadPrivate::start (arg=0x7f4909036cc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#11 0x00007f49078a6507 in start_thread (arg=<optimized out>) at
pthread_create.c:447
#12 0x00007f490792a40c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 5 (Thread 0x7f48e9c006c0 (LWP 2163)):
#0  0x00007f490791c67d in __GI___poll (fds=0x5650d7b6dab0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f49064ccc34 in g_main_context_poll_unlocked (priority=2147483647,
context=0x5650d7b6d830, timeout=<optimized out>, fds=0x5650d7b6dab0, n_fds=1)
at ../glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x5650d7b6d830, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4212
#3  0x00007f490646c383 in g_main_context_iteration (context=0x5650d7b6d830,
may_block=may_block@entry=1) at ../glib/gmain.c:4282
#4  0x00007f490646c3e1 in glib_worker_main (data=<optimized out>) at
../glib/gmain.c:6442
#5  0x00007f490649b813 in g_thread_proxy (data=0x5650d7b6da50) at
../glib/gthread.c:835
#6  0x00007f49078a6507 in start_thread (arg=<optimized out>) at
pthread_create.c:447
#7  0x00007f490792a40c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 4 (Thread 0x7f48f16006c0 (LWP 2158)):
#0  0x00007f490791c67d in __GI___poll (fds=fds@entry=0x7f48f15ff968,
nfds=nfds@entry=1, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f49076d2072 in poll (__fds=0x7f48f15ff968, __nfds=1, __timeout=-1)
at /usr/include/bits/poll2.h:39
#2  _xcb_conn_wait (c=c@entry=0x5650d75c1910, vector=vector@entry=0x0,
count=count@entry=0x0, cond=<optimized out>) at
/usr/src/debug/libxcb-1.17.0-1.fc40.x86_64/src/xcb_conn.c:510
#3  0x00007f49076d3c8c in _xcb_conn_wait (c=0x5650d75c1910,
cond=0x5650d75c1950, vector=0x0, count=0x0) at
/usr/src/debug/libxcb-1.17.0-1.fc40.x86_64/src/xcb_conn.c:476
#4  xcb_wait_for_event (c=0x5650d75c1910) at
/usr/src/debug/libxcb-1.17.0-1.fc40.x86_64/src/xcb_in.c:703
#5  0x00007f48ffe81f08 in QXcbEventQueue::run (this=0x5650d75bc4c0) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/plugins/platforms/xcb/qxcbeventqueue.cpp:192
#6  0x00007f490815463c in operator() (__closure=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:326
#7  (anonymous
namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(t=...) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:262
#8  QThreadPrivate::start (arg=0x5650d75bc4c0) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/thread/qthread_unix.cpp:285
#9  0x00007f49078a6507 in start_thread (arg=<optimized out>) at
pthread_create.c:447
#10 0x00007f490792a40c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 3 (Thread 0x7f48e92006c0 (LWP 2164)):
#0  0x00007f490791c67d in __GI___poll (fds=0x7f48d0000b90, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f49064ccc34 in g_main_context_poll_unlocked (priority=2147483647,
context=0x5650d7b76c80, timeout=<optimized out>, fds=0x7f48d0000b90, n_fds=2)
at ../glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=0x5650d7b76c80,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4212
#3  0x00007f4906470f37 in g_main_loop_run (loop=0x5650d7b76ad0) at
../glib/gmain.c:4419
#4  0x00007f4900438682 in gdbus_shared_thread_func (user_data=0x5650d7b76c50)
at ../gio/gdbusprivate.c:284
#5  0x00007f490649b813 in g_thread_proxy (data=0x5650d795c3b0) at
../glib/gthread.c:835
#6  0x00007f49078a6507 in start_thread (arg=<optimized out>) at
pthread_create.c:447
#7  0x00007f490792a40c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7f48f0a006c0 (LWP 2162)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f49064c9ccd in g_cond_wait (cond=0x5650d79f6548,
mutex=0x5650d79f6540) at ../glib/gthread-posix.c:1552
#2  0x00007f490643561b in g_async_queue_pop_intern_unlocked
(queue=0x5650d79f6540, wait=1, end_time=-1) at ../glib/gasyncqueue.c:375
#3  0x00007f490649ca03 in g_thread_pool_spawn_thread (data=<optimized out>) at
../glib/gthreadpool.c:297
#4  0x00007f490649b813 in g_thread_proxy (data=0x5650d7b6d4b0) at
../glib/gthread.c:835
#5  0x00007f49078a6507 in start_thread (arg=<optimized out>) at
pthread_create.c:447
#6  0x00007f490792a40c in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f48fff18b00 (LWP 2138)):
[KCrash Handler]
#5  0x00007f49092fc83a in PowerDevil::Core::unloadAllActiveActions
(this=0x5650d762b9e0) at
/usr/src/debug/powerdevil-6.1.3-2.fc40.x86_64/daemon/powerdevilcore.cpp:994
#6  0x00007f4909301360 in PowerDevil::Core::loadProfile (this=<optimized out>,
force=true) at
/usr/src/debug/powerdevil-6.1.3-2.fc40.x86_64/daemon/powerdevilcore.cpp:347
#7  0x00005650d4ea5262 in PowerManagementAdaptor::qt_metacall
(this=0x5650d77c7cb0, _c=QMetaObject::InvokeMetaMethod, _id=20,
_a=0x7ffc8a3dc008) at
/usr/src/debug/powerdevil-6.1.3-2.fc40.x86_64/redhat-linux-build/daemon/moc_powermanagementadaptor.cpp:396
#8  0x00007f4908fb4421 in QDBusConnectionPrivate::deliverCall
(this=this@entry=0x7f48ec001690, object=object@entry=0x5650d77c7cb0, msg=...,
metaTypes=..., slotIdx=24) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/dbus/qdbusintegrator.cpp:1007
#9  0x00007f4908fb779c in QDBusConnectionPrivate::activateCall
(this=this@entry=0x7f48ec001690, object=0x5650d77c7cb0, flags=flags@entry=...,
msg=...) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/dbus/qdbusintegrator.cpp:916
#10 0x00007f4908fb8391 in QDBusConnectionPrivate::activateObject
(this=0x7f48ec001690, node=..., msg=..., pathStartPos=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/dbus/qdbusintegrator.cpp:1484
#11 0x00007f4908fbb2aa in QDBusActivateObjectEvent::placeMetaCall
(this=0x7f48ec030420) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/dbus/qdbusintegrator.cpp:1604
#12 0x00007f4907fedd4b in QObject::event (this=0x5650d762b9e0,
e=0x7f48ec030420) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qobject.cpp:1452
#13 0x00007f4907f96dc8 in QCoreApplication::notifyInternal2
(receiver=0x5650d762b9e0, event=0x7f48ec030420) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1142
#14 0x00007f4907f9702d in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1583
#15 0x00007f4907f9ab91 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5650d75abe60) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1940
#16 0x00007f4907f9ae3d in QCoreApplication::sendPostedEvents
(receiver=<optimized out>, event_type=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qcoreapplication.cpp:1797
#17 0x00007f49082858ef in postEventSourceDispatch (s=0x5650d75a2a60) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#18 0x00007f490646ae8c in g_main_dispatch (context=0x7f48ec000f00) at
../glib/gmain.c:3344
#19 g_main_context_dispatch_unlocked (context=0x7f48ec000f00) at
../glib/gmain.c:4152
#20 0x00007f49064ccc98 in g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7f48ec000f00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4217
#21 0x00007f490646c383 in g_main_context_iteration (context=0x7f48ec000f00,
may_block=1) at ../glib/gmain.c:4282
#22 0x00007f49082850a3 in QEventDispatcherGlib::processEvents
(this=0x5650d75f1550, flags=...) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#23 0x00007f4907fa3b03 in QEventLoop::exec (this=this@entry=0x7ffc8a3dc8a0,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:34
#24 0x00007f4907f9f9bc in QCoreApplication::exec () at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/corelib/global/qflags.h:74
#25 0x00007f49087d67ed in QGuiApplication::exec () at
/usr/src/debug/qt6-qtbase-6.7.2-4.fc40.x86_64/src/gui/kernel/qguiapplication.cpp:1926
#26 0x00005650d4e9ce6c in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/powerdevil-6.1.3-2.fc40.x86_64/daemon/powerdevilapp.cpp:135

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

Reply via email to