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

            Bug ID: 522878
           Summary: ksystemstats crashing when waking from sleep
    Classification: Frameworks and Libraries
           Product: ksystemstats
      Version First 6.7.2
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Application: ksystemstats (6.7.2)

ApplicationNotResponding [ANR]: false
Qt Version: 6.11.1
Frameworks Version: 6.27.0
Operating System: Linux 7.1.3-200.fc44.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 44 (KDE Plasma Desktop Edition)"
DrKonqi: 6.7.2 [CoredumpBackend]

-- Information about the crash:
When I wake my laptop from sleep ksystemstats crashes. This is new as of 6.7.2;
AFAIK it did not happen on 6.7.0 and I upgraded Plasma directly from 6.7.0 to
6.7.2.

The crash can be reproduced every time.

-- Backtrace:
Application: ksystemstats (ksystemstats), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[New LWP 14005]
[New LWP 14014]

warning: could not find supplementary DWARF file
(/home/user/.cache/debuginfod_client/e639ab6c6f342f9376c8ebca3907a186000da1a8/../../.dwz/kf6-kservice-6.27.0-1.fc44.x86_64)
for
/home/user/.cache/debuginfod_client/e639ab6c6f342f9376c8ebca3907a186000da1a8/debuginfo

warning: could not find supplementary DWARF file
(/home/user/.cache/debuginfod_client/2989a3d0f5111cc357fe0bd68d5749369ef9bc90/../../.dwz/libplist-2.7.0-1.fc44.x86_64)
for
/home/user/.cache/debuginfod_client/2989a3d0f5111cc357fe0bd68d5749369ef9bc90/debuginfo
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/bin/ksystemstats'.
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 0x7f58a78a7ac0 (LWP 14005))]
Using gdb.Corefile to resolve modules.
GDBCoreImage: No build id found in mapped file
/usr/lib64/gconv/gconv-modules.cache
GDBCoreImage: No build id found in mapped file /usr/lib/locale/locale-archive
GDBCoreImage: No build id found in mapped file
/usr/share/qt6/translations/qt_en.qm
GDBCoreImage: No build id found in mapped file
/usr/share/locale/en/LC_MESSAGES/kcoreaddons6_qt.qm

[Current thread is 2 (Thread 0x7f58957ff6c0 (LWP 14014))]

Thread 2 (Thread 0x7f58957ff6c0 (LWP 14014)):
#0  __syscall_cancel_arch () at
../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
#1  0x00007f58a7a7662c in __internal_syscall_cancel (a1=<optimized out>,
a2=<optimized out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8,
a6=a6@entry=0, nr=271) at cancellation.c:49
#2  0x00007f58a7a76674 in __syscall_cancel (a1=<optimized out>, a2=<optimized
out>, a3=<optimized out>, a4=<optimized out>, a5=a5@entry=8, a6=a6@entry=0,
nr=271) at cancellation.c:75
#3  0x00007f58a7af04a6 in __GI_ppoll (fds=fds@entry=0x7f58900013c0,
nfds=nfds@entry=3, timeout=<optimized out>, timeout@entry=0x0,
sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#4  0x00007f58a68e6125 in ppoll (__fds=0x7f58900013c0, __nfds=3, __timeout=0x0,
__ss=0x0) at /usr/include/bits/poll2.h:101
#5  g_main_context_poll_unlocked (priority=<optimized out>,
context=0x7f5890000ca0, timeout_usec=<optimized out>, fds=0x7f58900013c0,
n_fds=3) at ../glib/gmain.c:4837
#6  g_main_context_iterate_unlocked (context=context@entry=0x7f5890000ca0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../glib/gmain.c:4511
#7  0x00007f58a68e61e3 in g_main_context_iteration (context=0x7f5890000ca0,
may_block=1) at ../glib/gmain.c:4582
#8  0x00007f58a8469a9d in QEventDispatcherGlib::processEvents
(this=0x7f5890000880, flags=...) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#9  0x00007f58a811d57b in QEventLoop::exec (this=this@entry=0x7f58957fe9f0,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/global/qflags.h:78
#10 0x00007f58a8250e0a in QThread::exec (this=this@entry=0x7f58a8a0adc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/thread/qthread.cpp:672
#11 0x00007f58a8949704 in QDBusConnectionManager::run (this=0x7f58a8a0adc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/dbus/qdbusconnectionmanager.cpp:145
#12 0x00007f58a830ce8f in QThreadPrivate::start (arg=0x7f58a8a0adc0
<QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager>
>::instance()::holder>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/thread/qthread_unix.cpp:466
#13 0x00007f58a7a79d19 in start_thread (arg=<optimized out>) at
pthread_create.c:454
#14 0x00007f58a7afd64c in __GI___clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7f58a78a7ac0 (LWP 14005)):
[KCrash Handler]
#5  0x00007f58a8b140e5 in std::__atomic_base<int>::fetch_add (this=<optimized
out>, __i=1, __m=std::memory_order::relaxed) at
/usr/include/c++/16/bits/atomic_base.h:648
#6  QAtomicOps<int>::fetchAndAddRelaxed<int> (_q_value=..., valueToAdd=1) at
/usr/include/qt6/QtCore/qatomic_cxx11.h:343
#7  QBasicAtomicInteger<int>::refRelaxed (this=<optimized out>) at
/usr/include/qt6/QtCore/qbasicatomic.h:49
#8  QArrayData::ref (this=<optimized out>) at
/usr/include/qt6/QtCore/qarraydata.h:62
#9  QArrayDataPointer<char16_t>::ref (this=0x7fff3abe9b90) at
/usr/include/qt6/QtCore/qarraydatapointer.h:357
#10 QArrayDataPointer<char16_t>::QArrayDataPointer (this=<optimized out>,
other=..., this=<optimized out>, other=...) at
/usr/include/qt6/QtCore/qarraydatapointer.h:38
#11 QString::QString (this=<optimized out>, other=..., this=<optimized out>,
other=...) at /usr/include/qt6/QtCore/qstring.h:1391
#12 KSysGuard::SensorObject::id (this=this@entry=0x562953aacd20) at
/usr/src/debug/libksysguard-6.7.2-1.fc44.x86_64/systemstats/SensorObject.cpp:51
#13 0x00007f58a8b19632 in KSysGuard::AggregateSensor::updateSensors
(this=0x562953a49b90) at
/usr/src/debug/libksysguard-6.7.2-1.fc44.x86_64/systemstats/AggregateSensor.cpp:291
#14 KSysGuard::AggregateSensor::updateSensors (this=0x562953a49b90) at
/usr/src/debug/libksysguard-6.7.2-1.fc44.x86_64/systemstats/AggregateSensor.cpp:263
#15 0x00007f58a8184eb7 in QtPrivate::QSlotObjectBase::call (this=<optimized
out>, r=0x562953a49b90, a=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobjectdefs_impl.h:462
#16 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=argv@entry=0x7fff3abe9d00) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4372
#17 0x00007f58a817ab47 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f58a8b37120, local_signal_index=local_signal_index@entry=1,
argv=argv@entry=0x7fff3abe9d00) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4432
#18 0x00007f58a8b0f70a in QMetaObject::activate<void, KSysGuard::SensorObject*>
(sender=<optimized out>, mo=0x7f58a8b37120, local_signal_index=1, ret=0x0) at
/usr/include/qt6/QtCore/qobjectdefs.h:320
#19 KSysGuard::SensorContainer::objectRemoved (this=<optimized out>,
_t1=<optimized out>) at
/usr/src/debug/libksysguard-6.7.2-1.fc44.x86_64/redhat-linux-build/systemstats/SystemStats_autogen/EWIEGA46WW/moc_SensorContainer.cpp:134
#20 0x00007f58a8184eb7 in QtPrivate::QSlotObjectBase::call (this=<optimized
out>, r=0x562953a497e0, a=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobjectdefs_impl.h:462
#21 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=argv@entry=0x7fff3abe9e20) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4372
#22 0x00007f58a817ab47 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f588ff534a0 <NetworkBackend::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff3abe9e20)
at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4432
#23 0x00007f588ff3af9a in QMetaObject::activate<void, NetworkDevice*>
(sender=<optimized out>, mo=0x7f588ff534a0 <NetworkBackend::staticMetaObject>,
local_signal_index=1, ret=0x0) at /usr/include/qt6/QtCore/qobjectdefs.h:320
#24 NetworkBackend::deviceRemoved (this=<optimized out>, _t1=<optimized out>)
at
/usr/src/debug/ksystemstats-6.7.2-1.fc44.x86_64/redhat-linux-build/plugins/network/ksystemstats_plugin_network_autogen/include/moc_NetworkBackend.cpp:134
#25 0x00007f58a8184eb7 in QtPrivate::QSlotObjectBase::call (this=<optimized
out>, r=0x562953a4daa0, a=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobjectdefs_impl.h:462
#26 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=argv@entry=0x7fff3abe9f50) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4372
#27 0x00007f58a817ab47 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f588ff52fc0 <NetworkManagerDevice::staticMetaObject>,
local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff3abe9f50)
at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4432
#28 0x00007f588ff3b2b9 in QMetaObject::activate<void, NetworkManagerDevice*>
(sender=<optimized out>, mo=0x7f588ff52fc0
<NetworkManagerDevice::staticMetaObject>, local_signal_index=1, ret=0x0) at
/usr/include/qt6/QtCore/qobjectdefs.h:320
#29 NetworkManagerDevice::disconnected (this=<optimized out>, _t1=<optimized
out>) at
/usr/src/debug/ksystemstats-6.7.2-1.fc44.x86_64/redhat-linux-build/plugins/network/ksystemstats_plugin_network_autogen/include/moc_NetworkManagerBackend.cpp:153
#30 NetworkManagerDevice::processPendingDisconnect (this=<optimized out>) at
/usr/src/debug/ksystemstats-6.7.2-1.fc44.x86_64/plugins/network/NetworkManagerBackend.cpp:320
#31 NetworkManagerDevice::processPendingDisconnect (this=<optimized out>) at
/usr/src/debug/ksystemstats-6.7.2-1.fc44.x86_64/plugins/network/NetworkManagerBackend.cpp:316
#32 NetworkManagerBackend::update (this=<optimized out>) at
/usr/src/debug/ksystemstats-6.7.2-1.fc44.x86_64/plugins/network/NetworkManagerBackend.cpp:328
#33 0x00005629459f56d9 in Daemon::sendFrame (this=0x7fff3abea710) at
/usr/src/debug/ksystemstats-6.7.2-1.fc44.x86_64/src/daemon.cpp:265
#34 0x00007f58a8184eb7 in QtPrivate::QSlotObjectBase::call (this=<optimized
out>, r=0x7fff3abea710, a=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobjectdefs_impl.h:462
#35 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>,
argv=argv@entry=0x7fff3abea160) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4372
#36 0x00007f58a817ab47 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f58a871d400, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x7fff3abea160) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:4432
#37 0x00007f58a8195233 in QMetaObject::activate<void, QTimer::QPrivateSignal>
(sender=<optimized out>, mo=0x7f58a871d400, local_signal_index=0, ret=0x0) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobjectdefs.h:320
#38 QTimer::timeout (this=<optimized out>, _t1=...) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/redhat-linux-build/src/corelib/Core_autogen/include/moc_qtimer.cpp:182
#39 0x00007f58a8180793 in QObject::event (this=<optimized out>, e=<optimized
out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qobject.cpp:1509
#40 0x00007f58a810f758 in doNotify (receiver=<optimized out>, event=<optimized
out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qcoreapplication.cpp:1215
#41 QCoreApplication::notify (this=<optimized out>, receiver=<optimized out>,
event=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qcoreapplication.cpp:1198
#42 QCoreApplication::notifyInternal2 (receiver=0x56295398d6e0,
event=0x7fff3abea2d0) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qcoreapplication.cpp:1114
#43 0x00007f58a810f7fd in QCoreApplication::sendEvent (receiver=<optimized
out>, event=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qcoreapplication.cpp:1559
#44 0x00007f58a830b669 in QTimerInfoList::activateTimers (this=0x5629539864b0)
at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qtimerinfo_unix.cpp:427
#45 0x00007f58a84697b9 in timerSourceDispatch (source=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:153
#46 0x00007f58a68e1f24 in g_main_dispatch (context=0x562953985f90) at
../glib/gmain.c:3591
#47 g_main_context_dispatch_unlocked (context=0x562953985f90) at
../glib/gmain.c:4451
#48 0x00007f58a68e6038 in g_main_context_iterate_unlocked
(context=context@entry=0x562953985f90, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4516
#49 0x00007f58a68e61e3 in g_main_context_iteration (context=0x562953985f90,
may_block=1) at ../glib/gmain.c:4582
#50 0x00007f58a8469a9d in QEventDispatcherGlib::processEvents
(this=0x562953985f30, flags=...) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#51 0x00007f58a811d57b in QEventLoop::exec (this=this@entry=0x7fff3abea570,
flags=..., flags@entry=...) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/global/qflags.h:78
#52 0x00007f58a8118992 in QCoreApplication::exec () at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/kernel/qcoreapplication.cpp:1457
#53 0x00005629459ebfe7 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/ksystemstats-6.7.2-1.fc44.x86_64/src/main.cpp:39

Reported using DrKonqi

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

Reply via email to