https://bugs.kde.org/show_bug.cgi?id=400499
Bug ID: 400499
Summary: ksysguard crashed when closing
Product: ksysguard
Version: 5.13.5
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Keywords: drkonqi
Severity: crash
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Application: ksysguard (5.13.5)
Qt Version: 5.11.1
Frameworks Version: 5.51.0
Operating System: Linux 4.18.16-300.fc29.i686 i686
Distribution (Platform): Fedora RPMs
-- Information about the crash:
- What I was doing when the application crashed:
I had ksysguard 5.13.5 open in Fedora 29 in Plasma 5.13.5 with drkonqi in the
search bar due to a crash in baloo_file. I closed ksysguard, and drkonqi
appeared again. I had konsole and Firefox open at the time though I think they
are unrelated to this crash.
Additional information:
I reported on four similar ksysguard crashes at
https://bugs.kde.org/show_bug.cgi?id=350140#c16 This crash is the first in
which drkonqi appeated. I had the ksysguard, libksysguard, qt5-qtcore,
qt5-qtcore-gui, glibc, glib debug packages installed.
All four of the previous crashes and this one contained
#1 ... _ZN6QLabel7setTextERK7QString or QLabel::setText (libQt5Widgets.so.5)
That function QLabel::setText in widgets/qlabel.cpp might be a common factor in
the crashes. All four crashes involved
#2 ... libkdeinit5_ksysguard.so
#3 ... libksgrd.so.7
#4 ... libksgrd.so.7
#5 ... libQt5Core.so.5
The last such crash had a core dump with a segmentation fault in
QLabelPrivate::clearContents at widgets/qlabel.cpp:1302 "delete picture;" in
libQt5Widgets.so.5. That crash might have involved trying to free memory that
had already been freed or a double free by deleting a picture. The crashes
occurred less than 10% of the time I used ksysguard since Oct 7 so they might
be due to a race condition possibly between two threads trying to free the same
memory when shutting down.
The crash can be reproduced sometimes.
-- Backtrace:
Application: System Monitor (ksysguard), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xae25b840 (LWP 2074))]
Thread 4 (Thread 0xac147b40 (LWP 2077)):
#0 0xafecf2b1 in g_mutex_lock (mutex=0xab800640) at gthread-posix.c:1343
#1 0xafe8549c in g_main_context_dispatch (context=0xab800640) at gmain.c:3841
#2 0xafe859a9 in g_main_context_iterate (context=context@entry=0xab800640,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3920
#3 0xafe85a5b in g_main_context_iteration (context=0xab800640, may_block=1) at
gmain.c:3981
#4 0xb5ea317c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0xab8005d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5 0xb5e4ab6f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#6 0xb5cb3dd1 in QThread::exec() (this=0xb6f96060 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#7 0xb6ef40d0 in QDBusConnectionManager::run() (this=0xb6f96060 <(anonymous
namespace)::Q_QGS__q_manager::innerFunction()::holder>) at
qdbusconnection.cpp:178
#8 0xb5cbe909 in QThreadPrivate::start(void*) (arg=<optimized out>) at
thread/qthread_unix.cpp:367
#9 0xb26835de in start_thread (arg=<optimized out>) at pthread_create.c:486
#10 0xb58cb72a in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:108
Thread 3 (Thread 0xad0adb40 (LWP 2076)):
#0 0xb7faed41 in __kernel_vsyscall ()
#1 0xb58c1853 in __GI___poll (fds=0xad0ad0cc, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:29
#2 0xb209642d in () at /lib/libxcb.so.1
#3 0xb209861b in xcb_wait_for_event () at /lib/libxcb.so.1
#4 0xad21374b in QXcbEventReader::run() (this=0x21b72f0) at
qxcbconnection.h:409
#5 0xb5cbe909 in QThreadPrivate::start(void*) (arg=<optimized out>) at
thread/qthread_unix.cpp:367
#6 0xb26835de in start_thread (arg=<optimized out>) at pthread_create.c:486
#7 0xb58cb72a in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:108
Thread 2 (Thread 0xae258b40 (LWP 2075)):
#0 0xb7faed41 in __kernel_vsyscall ()
#1 0xb2689b82 in futex_wait_cancelable (private=0, expected=0,
futex_word=0xb5608478) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#2 0xb2689b82 in __pthread_cond_wait_common (abstime=0x0, mutex=0x219306c,
cond=0xb5608450) at pthread_cond_wait.c:502
#3 0xb2689b82 in __pthread_cond_wait (cond=0xb5608450, mutex=0x219306c) at
pthread_cond_wait.c:655
#4 0xb5b1b2a2 in std::condition_variable::wait(std::unique_lock<std::mutex>&)
() at /lib/libstdc++.so.6
#5 0xb46da2f7 in bmalloc::AsyncTask<bmalloc::Heap, void
(bmalloc::Heap::*)()>::threadRunLoop() () at /lib/libQt5WebKit.so.5
#6 0xb46da462 in () at /lib/libQt5WebKit.so.5
#7 0xb5b21f11 in () at /lib/libstdc++.so.6
#8 0xb26835de in start_thread (arg=<optimized out>) at pthread_create.c:486
#9 0xb58cb72a in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:108
Thread 1 (Thread 0xae25b840 (LWP 2074)):
[KCrash Handler]
#7 0xb5d16bb2 in operator==(QString const&, QString const&) (s1=..., s2=...)
at tools/qstring.cpp:3153
#8 0xb6907f8f in QLabel::setText(QString const&) (this=0x22d6630, text=...) at
widgets/qlabel.cpp:287
#9 0xb7f3549c in TopLevel::answerReceived(int, QList<QByteArray> const&)
(this=0x2275f80, id=1, answerList=...) at
/usr/src/debug/ksysguard-5.13.5-1.fc29.i386/gui/ksysguard.cpp:450
#10 0xb75b8925 in KSGRD::SensorAgent::processAnswer(char const*, int)
(this=0x22d0f00, buf=0x265dac0 "100.000000\nksysguardd> 701200\nksysguardd>
34048\nksysguardd> 0\nksysguardd> 0\nksysguardd>
/dev/mapper/fedora-root\t30832636\t25079596\t4163792\t87\t/\n/dev/mapper/fedora-home\t84853216\t80235468\t813604\t100\t/hom"...,
buflen=493) at
/usr/src/debug/libksysguard-5.13.5-1.fc29.i386/ksgrd/SensorAgent.cpp:91
#11 0xb75bfe8e in KSGRD::SensorShellAgent::msgRcvd() (this=0x22d0f00) at
/usr/include/qt5/QtCore/qarraydata.h:206
#12 0xb5e76b44 in QtPrivate::QSlotObjectBase::call(QObject*, void**)
(a=0xbfffb874, r=0x22d0f00, this=0x2320190) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:376
#13 0xb5e76b44 in QMetaObject::activate(QObject*, int, int, void**)
(sender=<optimized out>, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3754
#14 0xb5e77051 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) (sender=0x22eecc0, m=0xb610aa94 <QProcess::staticMetaObject>,
local_signal_index=6, argv=0xbfffb874) at kernel/qobject.cpp:3633
#15 0xb5de40f5 in QProcess::readyReadStandardOutput(QProcess::QPrivateSignal)
(this=0x22eecc0, _t1=...) at .moc/moc_qprocess.cpp:362
#16 0xb5de98ab in
QProcessPrivate::tryReadFromChannel(QProcessPrivate::Channel*) (this=<optimized
out>, channel=<optimized out>) at io/qprocess.cpp:1070
#17 0xb5de9e87 in QProcessPrivate::_q_canReadStandardOutput() (this=<optimized
out>) at io/qprocess.cpp:1081
#18 0xb5de9e87 in QProcess::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**) (_o=0x22eecc0, _c=QMetaObject::InvokeMetaMethod, _id=10,
_a=0xbfffb9f0) at .moc/moc_qprocess.cpp:207
#19 0xb5e76a16 in QMetaObject::activate(QObject*, int, int, void**)
(sender=<optimized out>, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=<optimized out>) at
kernel/qobject.cpp:3771
#20 0xb5e77051 in QMetaObject::activate(QObject*, QMetaObject const*, int,
void**) (sender=0x22da600, m=0xb610b990 <QSocketNotifier::staticMetaObject>,
local_signal_index=0, argv=0xbfffb9f0) at kernel/qobject.cpp:3633
#21 0xb5e82baa in QSocketNotifier::activated(int,
QSocketNotifier::QPrivateSignal) (this=0x22da600, _t1=<optimized out>, _t2=...)
at .moc/moc_qsocketnotifier.cpp:136
#22 0xb5e82f72 in QSocketNotifier::event(QEvent*) (this=0x22da600,
e=0xbfffbc40) at kernel/qsocketnotifier.cpp:266
#23 0xb67b8daa in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=0x219f800, receiver=0x22da600, e=0xbfffbc40) at
kernel/qapplication.cpp:3727
#24 0xb67c0e59 in QApplication::notify(QObject*, QEvent*) () at
kernel/qapplication.cpp:3486
#25 0xb5e4be66 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x22da600, event=0xbfffbc40) at kernel/qcoreapplication.cpp:1048
#26 0xb5ea3be4 in QCoreApplication::sendEvent(QObject*, QEvent*)
(event=0xbfffbc40, receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#27 0xb5ea3be4 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=0x2230800) at kernel/qeventdispatcher_glib.cpp:106
#28 0xafe855c5 in g_main_dispatch (context=0xac7049d0) at gmain.c:3182
#29 0xafe855c5 in g_main_context_dispatch (context=0xac7049d0) at gmain.c:3847
#30 0xafe859a9 in g_main_context_iterate (context=context@entry=0xac7049d0,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at
gmain.c:3920
#31 0xafe85a5b in g_main_context_iteration (context=0xac7049d0, may_block=1) at
gmain.c:3981
#32 0xb5ea315d in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x22200f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#33 0xad2afe37 in
QPAEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x22200f0, flags=...) at qeventdispatcher_glib.cpp:69
#34 0xb5e4ab6f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=<optimized out>, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:140
#35 0xb5e533e2 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:120
#36 0xb61f4215 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1761
#37 0xb67b8d18 in QApplication::exec() () at kernel/qapplication.cpp:2901
#38 0xb7f3703c in kdemain(int, char**) (argc=<optimized out>, argv=0xbfffbff4)
at /usr/src/debug/ksysguard-5.13.5-1.fc29.i386/gui/ksysguard.cpp:609
#39 0x004530cb in main ()
[Inferior 1 (process 2074) detached]
The reporter indicates this bug may be a duplicate of or related to bug 390497.
Possible duplicates by query: bug 390497.
Reported using DrKonqi
--
You are receiving this mail because:
You are watching all bug changes.