Bug 428266 - ksystem stats crashes often
Summary: ksystem stats crashes often
Status: REPORTED
Alias: None
Product: ksysguard
Classification: Applications
Component: general (show other bugs)
Version: 5.20.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-26 10:00 UTC by Vadym Krevs
Modified: 2022-10-05 19:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
core file (486.62 KB, application/gzip)
2020-10-26 10:00 UTC, Vadym Krevs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs 2020-10-26 10:00:31 UTC
Created attachment 132753 [details]
core file

SUMMARY
Seems to be triggered by shutdown/reboot. Not sure. Stack trace from crash is below.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


# gdb ksystemstats core_ksystemstats_675.4347                  
GNU gdb (GDB; openSUSE Leap 15.2) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ksystemstats...
Reading symbols from /usr/lib/debug/usr/bin/ksystemstats-5.20.1-lp152.285.1.x86_64.debug...
[New LWP 4347]
[New LWP 4348]
[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  0x000055e8420729e0 in ?? ()
[Current thread is 1 (Thread 0x7f4dfda1c900 (LWP 4347))]
Missing separate debuginfos, use: zypper install libKF5ConfigCore5-debuginfo-5.75.0-lp152.244.1.x86_64 libKF5CoreAddons5-debuginfo-5.75.0-lp152.236.1.x86_64 libKF5I18n5-debuginfo-5.75.0-lp152.246.1.x86_64 libKF5NetworkManagerQt6-debuginfo-5.75.0-lp152.211.1.x86_64 libdouble-conversion3-debuginfo-3.1.5-lp152.1.3.x86_64 libicu-suse65_1-debuginfo-65.1-lp152.2.1.x86_64 libksysguard5-debuginfo-5.20.1-lp152.277.1.x86_64 libzstd1-debuginfo-1.4.4-lp152.1.12.x86_64
(gdb) bt
#0  0x000055e8420729e0 in ?? ()
#1  0x00007f4dfd39aaa7 in AggregateSensor::value (this=0x55e841fcd800) at /usr/src/debug/ksysguard5-5.20.1-lp152.285.1.x86_64/libkstats/AggregateSensor.cpp:101
#2  0x000055e83fec31ea in Client::<lambda()>::operator() (__closure=0x55e84206d4c0) at /usr/src/debug/ksysguard5-5.20.1-lp152.285.1.x86_64/ksystemstats/client.cpp:57
#3  QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Client::subscribeSensors(const QStringList&)::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#4  QtPrivate::Functor<Client::subscribeSensors(const QStringList&)::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#5  QtPrivate::QFunctorSlotObject<Client::subscribeSensors(const QStringList&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x55e84206d4b0, r=<optimized out>, a=<optimized out>, 
    ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#6  0x00007f4dfcc56c87 in QtPrivate::QSlotObjectBase::call (a=0x7ffdb6c02940, r=0x7f4df0010840, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x55e841fcd800, signal_index=3, argv=0x7ffdb6c02940) at kernel/qobject.cpp:3886
#8  0x00007f4dfcc50142 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f4dfd5a0b60 <SensorProperty::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#9  0x00007f4dfd399d00 in SensorProperty::valueChanged (this=<optimized out>) at /usr/src/debug/ksysguard5-5.20.1-lp152.285.1.x86_64/build/libkstats/ksgrdbackend_autogen/EWIEGA46WW/moc_SensorProperty.cpp:153
#10 0x00007f4dfd39a6d6 in AggregateSensor::<lambda()>::operator() (__closure=0x7f4df0021000) at /usr/src/debug/ksysguard5-5.20.1-lp152.285.1.x86_64/libkstats/AggregateSensor.cpp:204
#11 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, AggregateSensor::delayedEmitDataChanged()::<lambda()> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#12 QtPrivate::Functor<AggregateSensor::delayedEmitDataChanged()::<lambda()>, 0>::call<QtPrivate::List<>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#13 QtPrivate::QFunctorSlotObject<AggregateSensor::delayedEmitDataChanged()::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x7f4df0020ff0, r=<optimized out>, a=<optimized out>, 
    ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#14 0x00007f4dfcc5b904 in QtPrivate::QSlotObjectBase::call (a=0x7ffdb6c029a0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#15 QSingleShotTimer::timerEvent (this=0x55e842079270) at kernel/qtimer.cpp:320
#16 0x00007f4dfcc4d6d3 in QObject::event (this=0x55e842079270, e=0x7ffdb6c02ad0) at kernel/qobject.cpp:1336
#17 0x00007f4dfcc1954c in doNotify (event=0x7ffdb6c02ad0, receiver=0x55e842079270) at kernel/qcoreapplication.cpp:1153
#18 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1139
#19 QCoreApplication::notifyInternal2 (receiver=0x55e842079270, event=0x7ffdb6c02ad0) at kernel/qcoreapplication.cpp:1063
#20 0x00007f4dfcc7b189 in QTimerInfoList::activateTimers (this=0x55e841f96c60) at kernel/qtimerinfo_unix.cpp:643
#21 0x00007f4dfcc7b951 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#22 0x00007f4df9e90464 in g_main_dispatch (context=0x55e841f94830) at ../glib/gmain.c:3216
#23 g_main_context_dispatch (context=context@entry=0x55e841f94830) at ../glib/gmain.c:3881
#24 0x00007f4df9e90800 in g_main_context_iterate (context=context@entry=0x55e841f94830, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:3954
#25 0x00007f4df9e9088c in g_main_context_iteration (context=0x55e841f94830, may_block=may_block@entry=1) at ../glib/gmain.c:4015
#26 0x00007f4dfcc7bcfc in QEventDispatcherGlib::processEvents (this=0x55e841f93eb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f4dfcc17dea in QEventLoop::exec (this=this@entry=0x7ffdb6c02d20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:232
#28 0x00007f4dfcc215e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1371
#29 0x000055e83febb21e in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ksysguard5-5.20.1-lp152.285.1.x86_64/ksystemstats/main.cpp:30


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Vadym Krevs 2020-11-26 14:52:49 UTC
No change in 5.20.3

$ rpm -q libQt5Core5 ksysguard5 plasma5-workspace
libQt5Core5-5.15.2-lp152.2.1.x86_64
ksysguard5-5.20.3-lp152.289.2.x86_64
plasma5-workspace-5.20.3-lp152.562.2.x86_64