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

            Bug ID: 451129
           Summary: System Monitor crashes on opening
           Product: plasma-systemmonitor
           Version: master
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: bugsefor...@gmx.com
                CC: ahiems...@heimr.nl, plasma-b...@kde.org
  Target Milestone: ---

STEPS TO REPRODUCE
1. open System Monitor
2. 
3. 

OBSERVED RESULT
System Monitor crashes after ~3 seconds

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Graphics Platform: Wayland


Application: System Monitor (plasma-systemmonitor), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[New LWP 26921]
[New LWP 26922]
[New LWP 26927]
[New LWP 26933]
[New LWP 26925]
[New LWP 26934]
[New LWP 26935]
[New LWP 26926]
[New LWP 26923]
[New LWP 26932]
[New LWP 26924]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/plasma-systemmonitor'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI_raise (sig=sig@entry=11) at ../sysdeps/unix/sysv/linux/raise.c:50
[Current thread is 1 (Thread 0x7feb2cd1d9c0 (LWP 26921))]
__preamble__

[Current thread is 1 (Thread 0x7feb2cd1d9c0 (LWP 26921))]

Thread 11 (Thread 0x7feb2acd2700 (LWP 26924)):
#0  0x00007feb310f09cf in __GI___poll (fds=0x7feb20004a60, nfds=2, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007feb2fa4336e in g_main_context_poll (priority=<optimized out>,
n_fds=2, fds=0x7feb20004a60, timeout=<optimized out>, context=0x7feb20000c20)
at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7feb20000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:4042
#3  0x00007feb2fa434a3 in g_main_context_iteration (context=0x7feb20000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007feb316c1932 in QEventDispatcherGlib::processEvents
(this=0x7feb20000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007feb31665b6b in QEventLoop::exec (this=this@entry=0x7feb2acd1bb0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007feb3147f462 in QThread::exec (this=this@entry=0x7feb32ca7d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007feb32c23f4b in QDBusConnectionManager::run (this=0x7feb32ca7d80
<(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:179
#8  0x00007feb31480643 in QThreadPrivate::start (arg=0x7feb32ca7d80 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
thread/qthread_unix.cpp:331
#9  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7feb0b7ff700 (LWP 26932)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7feb0b7feb50, clockid=<optimized out>, expected=0,
futex_word=0x556566a3d4a4) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7feb0b7feb50, clockid=<optimized
out>, mutex=0x556566a3d450, cond=0x556566a3d478) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x556566a3d478, mutex=0x556566a3d450,
abstime=0x7feb0b7feb50) at pthread_cond_wait.c:656
#3  0x00007feb31486768 in QWaitConditionPrivate::wait_relative
(this=0x556566a3d450, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x556566a3d450) at
thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x5565664e3b90,
mutex=mutex@entry=0x5565663e40e8, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#6  0x00007feb31483c71 in QThreadPoolThread::run (this=0x5565664e3b80) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007feb31480643 in QThreadPrivate::start (arg=0x5565664e3b80) at
thread/qthread_unix.cpp:331
#8  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7feb2b5d3700 (LWP 26923)):
#0  0x00007feb310f09cf in __GI___poll (fds=fds@entry=0x7feb2b5d2be0,
nfds=nfds@entry=2, timeout=timeout@entry=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007feb2cf62a66 in poll (__timeout=-1, __nfds=2, __fds=0x7feb2b5d2be0)
at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  QtWaylandClient::EventThread::run (this=0x556562d8ccc0) at
qwaylanddisplay.cpp:208
#3  0x00007feb31480643 in QThreadPrivate::start (arg=0x556562d8ccc0) at
thread/qthread_unix.cpp:331
#4  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#5  0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7feb1b7fe700 (LWP 26926)):
#0  0x00007feb310f09cf in __GI___poll (fds=0x7feb0c004e60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007feb2fa4336e in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7feb0c004e60, timeout=<optimized out>, context=0x7feb0c000c20)
at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7feb0c000c20,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
../../../glib/gmain.c:4042
#3  0x00007feb2fa434a3 in g_main_context_iteration (context=0x7feb0c000c20,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#4  0x00007feb316c1932 in QEventDispatcherGlib::processEvents
(this=0x7feb0c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007feb31665b6b in QEventLoop::exec (this=this@entry=0x7feb1b7fdbc0,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#6  0x00007feb3147f462 in QThread::exec (this=this@entry=0x556562fdda40) at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007feb31d36b39 in QQmlThreadPrivate::run (this=0x556562fdda40) at
qml/ftw/qqmlthread.cpp:155
#8  0x00007feb31480643 in QThreadPrivate::start (arg=0x556562fdda40) at
thread/qthread_unix.cpp:331
#9  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7feb09ffc700 (LWP 26935)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7feb09ffbb50, clockid=<optimized out>, expected=0,
futex_word=0x556566a4cb64) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7feb09ffbb50, clockid=<optimized
out>, mutex=0x556566a4cb10, cond=0x556566a4cb38) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x556566a4cb38, mutex=0x556566a4cb10,
abstime=0x7feb09ffbb50) at pthread_cond_wait.c:656
#3  0x00007feb31486768 in QWaitConditionPrivate::wait_relative
(this=0x556566a4cb10, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x556566a4cb10) at
thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x556566a4c9d0,
mutex=mutex@entry=0x5565663e40e8, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#6  0x00007feb31483c71 in QThreadPoolThread::run (this=0x556566a4c9c0) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007feb31480643 in QThreadPrivate::start (arg=0x556566a4c9c0) at
thread/qthread_unix.cpp:331
#8  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7feb0a7fd700 (LWP 26934)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7feb0a7fcb50, clockid=<optimized out>, expected=0,
futex_word=0x556566a4bd60) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7feb0a7fcb50, clockid=<optimized
out>, mutex=0x556566a4bd10, cond=0x556566a4bd38) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x556566a4bd38, mutex=0x556566a4bd10,
abstime=0x7feb0a7fcb50) at pthread_cond_wait.c:656
#3  0x00007feb31486768 in QWaitConditionPrivate::wait_relative
(this=0x556566a4bd10, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x556566a4bd10) at
thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x556566a4bc70,
mutex=mutex@entry=0x5565663e40e8, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#6  0x00007feb31483c71 in QThreadPoolThread::run (this=0x556566a4bc60) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007feb31480643 in QThreadPrivate::start (arg=0x556566a4bc60) at
thread/qthread_unix.cpp:331
#8  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7feb1bfff700 (LWP 26925)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x556562de36dc) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x556562de3688,
cond=0x556562de36b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x556562de36b0, mutex=0x556562de3688) at
pthread_cond_wait.c:638
#3  0x00007feb288d25eb in cnd_wait (mtx=0x556562de3688, cond=0x556562de36b0) at
../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x556562e3a150) at
../src/util/u_queue.c:294
#5  0x00007feb288d21eb in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#7  0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7feb0affe700 (LWP 26933)):
#0  futex_abstimed_wait_cancelable (private=<optimized out>,
abstime=0x7feb0affdb50, clockid=<optimized out>, expected=0,
futex_word=0x556566a4b400) at ../sysdeps/nptl/futex-internal.h:320
#1  __pthread_cond_wait_common (abstime=0x7feb0affdb50, clockid=<optimized
out>, mutex=0x556566a4b3b0, cond=0x556566a4b3d8) at pthread_cond_wait.c:520
#2  __pthread_cond_timedwait (cond=0x556566a4b3d8, mutex=0x556566a4b3b0,
abstime=0x7feb0affdb50) at pthread_cond_wait.c:656
#3  0x00007feb31486768 in QWaitConditionPrivate::wait_relative
(this=0x556566a4b3b0, deadline=...) at thread/qwaitcondition_unix.cpp:136
#4  QWaitConditionPrivate::wait (deadline=..., this=0x556566a4b3b0) at
thread/qwaitcondition_unix.cpp:144
#5  QWaitCondition::wait (this=this@entry=0x556566a4b390,
mutex=mutex@entry=0x5565663e40e8, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#6  0x00007feb31483c71 in QThreadPoolThread::run (this=0x556566a4b380) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:275
#7  0x00007feb31480643 in QThreadPrivate::start (arg=0x556566a4b380) at
thread/qthread_unix.cpp:331
#8  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7feb19a76700 (LWP 26927)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x556563034634) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5565630345e0,
cond=0x556563034608) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x556563034608, mutex=0x5565630345e0) at
pthread_cond_wait.c:638
#3  0x00007feb314867db in QWaitConditionPrivate::wait (deadline=...,
this=0x5565630345e0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x5565630343c8,
mutex=mutex@entry=0x5565630343c0, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#5  0x00007feb30c6f074 in QSGRenderThreadEventQueue::takeEvent (wait=true,
this=0x5565630343b8) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QSGRenderThread::processEventsAndWaitForMore
(this=this@entry=0x556563034320) at scenegraph/qsgthreadedrenderloop.cpp:936
#7  0x00007feb30c6f4e9 in QSGRenderThread::run (this=0x556563034320) at
scenegraph/qsgthreadedrenderloop.cpp:1053
#8  0x00007feb31480643 in QThreadPrivate::start (arg=0x556563034320) at
thread/qthread_unix.cpp:331
#9  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#10 0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7feb2bdd4700 (LWP 26922)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0,
futex_word=0x556562d67840) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x556562d677f0,
cond=0x556562d67818) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x556562d67818, mutex=0x556562d677f0) at
pthread_cond_wait.c:638
#3  0x00007feb314867db in QWaitConditionPrivate::wait (deadline=...,
this=0x556562d677f0) at thread/qwaitcondition_unix.cpp:146
#4  QWaitCondition::wait (this=this@entry=0x556562d8cb60,
mutex=mutex@entry=0x556562d8cb58, deadline=...) at
thread/qwaitcondition_unix.cpp:225
#5  0x00007feb2cf62a0d in QtWaylandClient::EventThread::waitForReading
(this=0x556562d8cb20) at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qdeadlinetimer.h:68
#6  QtWaylandClient::EventThread::run (this=0x556562d8cb20) at
qwaylanddisplay.cpp:206
#7  0x00007feb31480643 in QThreadPrivate::start (arg=0x556562d8cb20) at
thread/qthread_unix.cpp:331
#8  0x00007feb30639609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#9  0x00007feb310fd163 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7feb2cd1d9c0 (LWP 26921)):
[KCrash Handler]
#3  0x00007feb184d05b9 in KSysGuard::Processes::getProcess(long) const () from
/lib/x86_64-linux-gnu/libprocesscore.so.9
#4  0x00007feb184e5a9d in KSysGuard::ProcessDataProvider::getProcess(long) ()
from /lib/x86_64-linux-gnu/libprocesscore.so.9
#5  0x00007feb183bbc73 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/plugins/ksysguard/process/ksysguard_plugin_network.so
#6  0x00007feb3169e0fe in QtPrivate::QSlotObjectBase::call (a=0x7ffd276d3fc0,
r=0x5565665700b0, this=0x55656656b110) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x55656656aec0, signal_index=15,
argv=0x7ffd276d3fc0) at kernel/qobject.cpp:3886
#8  0x00007feb316974c7 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7feb31901760 <QProcess::staticMetaObject>,
local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffd276d3fc0)
at kernel/qobject.cpp:3946
#9  0x00007feb315d4a41 in QProcess::readyReadStandardOutput (this=<optimized
out>, _t1=...) at .moc/moc_qprocess.cpp:367
#10 0x00007feb315de0b5 in QProcessPrivate::tryReadFromChannel
(this=0x55656656aee0, channel=0x55656656aff0) at io/qprocess.cpp:1049
#11 0x00007feb315de442 in QProcessPrivate::_q_canReadStandardError
(this=<optimized out>) at io/qprocess.cpp:1092
#12 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffd276d4160) at .moc/moc_qprocess.cpp:210
#13 0x00007feb3169e130 in doActivate<false> (sender=0x55656671dd00,
signal_index=3, argv=0x7ffd276d4160) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#14 0x00007feb316974c7 in QMetaObject::activate
(sender=sender@entry=0x55656671dd00, m=m@entry=0x7feb31903b40
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd276d4160)
at kernel/qobject.cpp:3946
#15 0x00007feb316a2183 in QSocketNotifier::activated
(this=this@entry=0x55656671dd00, _t1=..., _t2=<optimized out>, _t3=...) at
.moc/moc_qsocketnotifier.cpp:178
#16 0x00007feb316a2923 in QSocketNotifier::event (this=0x55656671dd00,
e=0x7ffd276d4430) at kernel/qsocketnotifier.cpp:302
#17 0x00007feb326c7e03 in QApplicationPrivate::notify_helper
(this=this@entry=0x556562d62650, receiver=receiver@entry=0x55656671dd00,
e=e@entry=0x7ffd276d4430) at kernel/qapplication.cpp:3637
#18 0x00007feb326d0c18 in QApplication::notify (this=0x7ffd276d4710,
receiver=0x55656671dd00, e=0x7ffd276d4430) at kernel/qapplication.cpp:3161
#19 0x00007feb3166706a in QCoreApplication::notifyInternal2
(receiver=0x55656671dd00, event=0x7ffd276d4430) at
../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:332
#20 0x00007feb316c2535 in socketNotifierSourceDispatch (source=0x556562d8ee40)
at kernel/qeventdispatcher_glib.cpp:107
#21 0x00007feb2fa4317d in g_main_dispatch (context=0x556562d90ea0) at
../../../glib/gmain.c:3309
#22 g_main_context_dispatch (context=context@entry=0x556562d90ea0) at
../../../glib/gmain.c:3974
#23 0x00007feb2fa43400 in g_main_context_iterate
(context=context@entry=0x556562d90ea0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#24 0x00007feb2fa434a3 in g_main_context_iteration (context=0x556562d90ea0,
may_block=may_block@entry=1) at ../../../glib/gmain.c:4108
#25 0x00007feb316c1932 in QEventDispatcherGlib::processEvents
(this=0x556562d8b910, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007feb31665b6b in QEventLoop::exec (this=this@entry=0x7ffd276d4640,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:141
#27 0x00007feb3166dd14 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#28 0x00005565610c41ab in main (argc=<optimized out>, argv=<optimized out>) at
./src/main.cpp:159

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

Reply via email to