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

--- Comment #16 from Matt Fagnani <matthew.fagn...@utoronto.ca> ---
Created attachment 116888
  --> https://bugs.kde.org/attachment.cgi?id=116888&action=edit
New crash information added by DrKonqi

ksysguard (5.14.4) using Qt 5.11.1

- What I was doing when the application crashed:

I was troubleshooting the ksysguard crashes in this report using gammaray with
the following commands in konsole where the process id of ksysguard was 2506
ksysguard &
gammaray --injector gdb --pid 2506

Other messages shown in the shell during and after the crash were:
QObject::disconnect: No such signal QObject::contentsChanged()
QObject::disconnect:  (receiver name: 'com.kdab.GammaRay.TextDocumentModel')
KCrash: Application 'ksysguard' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 23 and type 'Read', disabling...
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...

Using gdb on previous segmentation faults involving operator==(QString const&,
QString const&) (s1=..., s2=...) at tools/qstring.cpp:3153, I observed that
s1.d pointed to addresses which were not accessible by the process which had
unusually low but not null addresses or unusally high addresses. The invalid
pointers are possibly due to memory corruption stemming from the use-after-free
errors I reported previously detected using valgrind and AddressSanitizer.

-- Backtrace (Reduced):
#8  0xb5c46bb2 in operator==(QString const&, QString const&) (s1=..., s2=...)
at tools/qstring.cpp:3153
#9  0xb6837f8f in QLabel::setText(QString const&) (this=0x2528900, text=...) at
widgets/qlabel.cpp:287
#10 0xb7e7849c in TopLevel::answerReceived(int, QList<QByteArray> const&)
(this=0x2493b40, id=1, answerList=...) at
/usr/src/debug/ksysguard-5.14.4-1.fc29.i386/gui/ksysguard.cpp:450
#11 0xb74ee925 in KSGRD::SensorAgent::processAnswer(char const*, int)
(this=0x2516500, buf=0x29dee40 "0.000000\nksysguardd> 61004\nksysguardd>
1216116\nksysguardd> 312560\nksysguardd> 2590460\nksysguardd>
35072\nksysguardd> 312560\nksysguardd> 35072\nksysguardd>
/dev/mapper/fedora-root\t30832636\t26792620\t24507"..., buflen=442) at
/usr/src/debug/libksysguard-5.14.4-1.fc29.i386/ksgrd/SensorAgent.cpp:91
#12 0xb74f5e8e in KSGRD::SensorShellAgent::msgRcvd() (this=0x2516500) at
/usr/include/qt5/QtCore/qarraydata.h:206

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

Reply via email to