Bug 409057

Summary: Crash on closing the application
Product: [Unmaintained] ksysguard Reporter: Alexander Kernozhitsky <sh200105>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.14.5   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Kernozhitsky 2019-06-22 23:43:32 UTC
Application: ksysguard (5.14.5)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-5-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

-- Information about the crash:
Sometimes, when I close KSysGuard, it crashes. Stack trace attached.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Системный монитор (ksysguard), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe876a2e940 (LWP 4386))]

Thread 4 (Thread 0x7fe86cf12700 (LWP 4392)):
#0  0x00007fe87c7f500c in futex_wait_cancelable (private=0, expected=0, futex_word=0x556ad525c688) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fe87c7f500c in __pthread_cond_wait_common (abstime=0x0, mutex=0x556ad525c638, cond=0x556ad525c660) at pthread_cond_wait.c:502
#2  0x00007fe87c7f500c in __pthread_cond_wait (cond=0x556ad525c660, mutex=0x556ad525c638) at pthread_cond_wait.c:655
#3  0x00007fe86d518e03 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007fe86d518b57 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fe87c7eefa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fe88233b4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fe86fdf8700 (LWP 4390)):
#0  0x00007fe882330819 in __GI___poll (fds=0x7fe868004db0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fe87bf91136 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe87bf9125c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe880ab287b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe880a6027b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe8808afec6 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe880da8545 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fe8808b9aa7 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe87c7eefa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007fe88233b4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fe876a2a700 (LWP 4388)):
#0  0x00007fe87c7f500c in futex_wait_cancelable (private=0, expected=0, futex_word=0x7fe880394150) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fe87c7f500c in __pthread_cond_wait_common (abstime=0x0, mutex=0x556ad50a7880, cond=0x7fe880394128) at pthread_cond_wait.c:502
#2  0x00007fe87c7f500c in __pthread_cond_wait (cond=0x7fe880394128, mutex=0x556ad50a7880) at pthread_cond_wait.c:655
#3  0x00007fe8807293bc in std::condition_variable::wait(std::unique_lock<std::mutex>&) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007fe87f8bf542 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5  0x00007fe87f8bf659 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6  0x00007fe88072eb2f in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007fe87c7eefa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#8  0x00007fe88233b4cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fe876a2e940 (LWP 4386)):
[KCrash Handler]
#6  0x00007fe88092cb16 in operator==(QString const&, QString const&) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe88163e7f7 in QLabel::setText(QString const&) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fe882475484 in  () at /usr/lib/x86_64-linux-gnu/libkdeinit5_ksysguard.so
#9  0x00007fe8820e4dc9 in KSGRD::SensorAgent::processAnswer(char const*, int) () at /usr/lib/x86_64-linux-gnu/libksgrd.so.7
#10 0x00007fe8820ec17e in  () at /usr/lib/x86_64-linux-gnu/libksgrd.so.7
#11 0x00007fe880a8aa43 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fe8809f77ea in QProcess::readyReadStandardOutput(QProcess::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fe8809fdc8d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fe8809fe0d0 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007fe880a8a906 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007fe880a95fc9 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fe880a96311 in QSocketNotifier::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fe8815144b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007fe88151b950 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007fe880a615a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fe880ab347a in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fe87bf90f2e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fe87bf911c8 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe87bf9125c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fe880ab2863 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fe875c493e1 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#27 0x00007fe880a6027b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fe880a68262 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fe8824771db in kdemain () at /usr/lib/x86_64-linux-gnu/libkdeinit5_ksysguard.so
#30 0x00007fe88226609b in __libc_start_main (main=0x556ad4ca0050, argc=1, argv=0x7ffd7ecb8b48, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd7ecb8b38) at ../csu/libc-start.c:308
#31 0x0000556ad4ca008a in _start ()
[Inferior 1 (process 4386) detached]

Reported using DrKonqi
Comment 1 Christoph Feck 2019-06-25 14:36:20 UTC

*** This bug has been marked as a duplicate of bug 350140 ***