[Akonadi] [Bug 377656] akonadiserver is aborting
Steve
bugzilla_noreply at kde.org
Tue Mar 21 18:23:35 GMT 2017
https://bugs.kde.org/show_bug.cgi?id=377656
--- Comment #4 from Steve <sgrubb at redhat.com> ---
In src/server/connection.cpp at line 404, there should probably be a try/catch
around the Protocol::serialize() call:
void Connection::sendResponse(qint64 tag, const Protocol::Command &response)
{
if (Tracer::self()->currentTracer() != QLatin1String("null")) {
Tracer::self()->connectionOutput(m_identifier, QByteArray::number(tag)
+ ' ' + response.debugString().toUtf8());
}
QDataStream stream(m_socket);
stream << tag;
Protocol::serialize(m_socket, response);
}
because way down at the bottom in src/private/datastream_p_p.h at line 92, we
find:
if (mDev->write((char *)&val, sizeof(T)) != sizeof(T)) {
throw Akonadi::ProtocolException("Failed to write data to stream");
}
Does this help?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list