luc4 created this revision. luc4 added reviewers: davidedmundson, mlaurent. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. luc4 requested review of this revision.
REVISION SUMMARY When stderr data is sent from the daemon, it seems that libksysguard was actually reading the stdout buffer. Also, as the comment states, it was trying to read potentially incomplete UTF-8 data. This patch reads from stderr and also only reads entire lines, preventing incomplete UTF-8 data buffers. REPOSITORY R111 KSysguard Library REVISION DETAIL https://phabricator.kde.org/D21470 AFFECTED FILES ksgrd/SensorShellAgent.cpp To: luc4, davidedmundson, mlaurent Cc: plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart