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

            Bug ID: 434779
           Summary: ksysguard segmentation faulted in QWidget::focusPolicy
                    when closing
           Product: ksysguard
           Version: 5.21.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: ksysguard-b...@kde.org
          Reporter: matthew.fagn...@utoronto.ca
                CC: plasma-b...@kde.org
  Target Milestone: ---

Application: ksysguard (5.21.3)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.11.8-300.fc34.x86_64 x86_64
Windowing System: Wayland
Drkonqi Version: 5.21.3
Distribution: Fedora 34 (KDE Plasma Prerelease)

-- Information about the crash:
- What I was doing when the application crashed:

I opened ksysguard in Plasma 5.21.3 on Wayland in a Fedora 34 KDE Plasma
installation. I sorted by the process name by clicking on the Name column
header. I scrolled down through the processes. I closed ksysguard. ksysguard
segmentation faulted in QWidget::focusPolicy at kernel/qwidget.cpp:7606 in
qt5-qtbase-5.15.2-15.fc34.x86_64 when closing. This crash usually hasn't
happened when closing ksysguard.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: System Monitor (ksysguard), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f8bea556918 in QWidget::focusPolicy (this=0x55ea13299900) at
kernel/qwidget.cpp:7606
#5  0x00007f8bea665022 in QLabelPrivate::needTextControl (this=0x55ea1302a980)
at widgets/qlabel_p.h:99
#6  QLabel::setText (this=0x55ea12d3ebf0, text=...) at widgets/qlabel.cpp:344
#7  0x00007f8beb453f2a in TopLevel::answerReceived (this=0x55ea12d1c340,
id=<optimized out>, answerList=...) at
/usr/src/debug/ksysguard-5.21.3-1.fc34.x86_64/gui/ksysguard.cpp:466
#8  0x00007f8beb1a655e in KSGRD::SensorAgent::processAnswer
(this=0x55ea130ceef0, buf=<optimized out>, buflen=<optimized out>) at
/usr/src/debug/libksysguard-5.21.3.1-1.fc34.x86_64/ksgrd/SensorAgent.cpp:306
#9  0x00007f8beb1aa520 in KSGRD::SensorShellAgent::msgRcvd
(this=0x55ea130ceef0) at
/usr/src/debug/libksysguard-5.21.3.1-1.fc34.x86_64/ksgrd/SensorShellAgent.cpp:93
#10 0x00007f8be99374b0 in QtPrivate::QSlotObjectBase::call (a=0x7ffc54683100,
r=<optimized out>, this=0x55ea13034d90) at
../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#11 doActivate<false> (sender=0x55ea12fd73e0, signal_index=15,
argv=0x7ffc54683100) at kernel/qobject.cpp:3886
#12 0x00007f8be99319e7 in QMetaObject::activate (sender=<optimized out>,
m=m@entry=0x7f8be9bca060 <QProcess::staticMetaObject>,
local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffc54683100)
at kernel/qobject.cpp:3946
#13 0x00007f8be9898a31 in QProcess::readyReadStandardOutput (this=<optimized
out>, _t1=...) at .moc/moc_qprocess.cpp:367
#14 0x00007f8be989c42d in QProcessPrivate::tryReadFromChannel
(this=0x55ea13037c70, channel=0x55ea13037d80) at io/qprocess.cpp:1073
#15 0x00007f8be989c8f5 in QProcessPrivate::_q_canReadStandardError
(this=<optimized out>) at io/qprocess.cpp:1092
#16 QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=0x7ffc546832a0) at .moc/moc_qprocess.cpp:210
#17 0x00007f8be99374fd in doActivate<false> (sender=0x55ea13077d50,
signal_index=3, argv=0x7ffc546832a0) at kernel/qobject.cpp:3898
#18 0x00007f8be99319e7 in QMetaObject::activate
(sender=sender@entry=0x55ea13077d50, m=m@entry=0x7f8be9bcc440
<QSocketNotifier::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc546832a0)
at kernel/qobject.cpp:3946
#19 0x00007f8be9939b3a in QSocketNotifier::activated
(this=this@entry=0x55ea13077d50, _t1=..., _t2=<optimized out>, _t3=...) at
.moc/moc_qsocketnotifier.cpp:178
#20 0x00007f8be993a2d4 in QSocketNotifier::event (this=0x55ea13077d50,
e=<optimized out>) at kernel/qsocketnotifier.cpp:302
#21 0x00007f8bea52de73 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x55ea13077d50, e=0x7ffc546833c0) at
kernel/qapplication.cpp:3632
#22 0x00007f8be9906f48 in QCoreApplication::notifyInternal2
(receiver=0x55ea13077d50, event=0x7ffc546833c0) at
kernel/qcoreapplication.cpp:1063
#23 0x00007f8be995417f in socketNotifierSourceDispatch (source=0x55ea12d416a0)
at kernel/qeventdispatcher_glib.cpp:107
#24 0x00007f8be04e5377 in g_main_dispatch (context=0x55ea12d3f620) at
../glib/gmain.c:3337
#25 g_main_context_dispatch (context=0x55ea12d3f620) at ../glib/gmain.c:4055
#26 0x00007f8be05392c8 in g_main_context_iterate.constprop.0
(context=context@entry=0x55ea12d3f620, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#27 0x00007f8be04e2ab3 in g_main_context_iteration (context=0x55ea12d3f620,
may_block=1) at ../glib/gmain.c:4196
#28 0x00007f8be99536f8 in QEventDispatcherGlib::processEvents
(this=0x55ea12d41ca0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f8be99059b2 in QEventLoop::exec (this=this@entry=0x7ffc54683630,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f8be990d544 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x00007f8be9ecc5d0 in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1860
#32 0x00007f8bea52dde9 in QApplication::exec () at kernel/qapplication.cpp:2824
#33 0x00007f8beb453a06 in kdemain (argc=<optimized out>, argv=<optimized out>)
at /usr/src/debug/ksysguard-5.21.3-1.fc34.x86_64/gui/ksysguard.cpp:627
#34 0x00007f8beb23fb75 in __libc_start_main (main=0x55ea11979070 <main(int,
char**)>, argc=1, argv=0x7ffc54683888, init=<optimized out>, fini=<optimized
out>, rtld_fini=<optimized out>, stack_end=0x7ffc54683878) at
../csu/libc-start.c:332
#35 0x000055ea119790ae in _start ()
[Inferior 1 (process 1879) detached]

The reporter indicates this bug may be a duplicate of or related to bug 400499.

Possible duplicates by query: bug 433838, bug 433733, bug 428064, bug 425064,
bug 425045.

Reported using DrKonqi

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

Reply via email to