Summary: | Crash on "Update address book folder" (kolabproxy/akonadi) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | S. Bryant <steve> |
Component: | Kolab Resource | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kdepim-bugs, matthias, mollekopf, montel, winter |
Priority: | NOR | ||
Version: | 4.9 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
S. Bryant
2012-08-19 19:59:46 UTC
I reported to libkolab developer. Will fix in next release. Add patch here too diff --git a/kolabformat/v2helpers.h b/kolabformat/v2helpers.h index f93f9a1..dcc8563 100644 --- a/kolabformat/v2helpers.h +++ b/kolabformat/v2helpers.h @@ -77,6 +77,7 @@ QImage getPicture(const QString &pictureAttachmentName, const KMime::Message::Pt KMime::Content *imgContent = Mime::findContentByName(data, pictureAttachmentName/*"kolab-picture.png"*/, type); if (!imgContent) { Warning() << "could not find picture: " << pictureAttachmentName; + return QImage(); } QByteArray imgData = imgContent->decodedContent(); QBuffer buffer(&imgData); @@ -268,4 +269,4 @@ QStringList readLegacyDictionaryConfiguration(const QByteArray &xmlData, QString } -#endif \ No newline at end of file +#endif I applied the patch to libkolab master (thanks for the patch =), the question remains why you got to this point in the first place. (The picture is not being found in the mime message). Any possibility that you could send one of the offending contacts to me as mime-message? You can of course anonymize it, I suspect it's an encoding issue with the pictures name. *** Bug 306576 has been marked as a duplicate of this bug. *** I close it as waitforinfo. Patch was applyed. Hi, Now using KDE 4.9.4. I'm not able to reproduce this bug - the picture handling seems to be working fine. As far as I am concerned, this can be closed. Many thanks, Steve |