Major deserialization issue in release/20.12 git branch

Daniel Vrátil dvratil at kde.org
Wed Nov 25 22:46:21 GMT 2020


Hi,

do you have the corresponding version of akonadi-calendar as well?

20.12 only has the compression disabled, but all the code is still there and 
will decompress that data if it detects they are compressed (even if 
compression is disabled), exactly to cover the case of those who used 
development versions of Akonadi where the feature was enabled by default for a 
while.

There was a bug in the calendar akonadi serializer plugin that I fixed and I 
just double-checked that it's in the 20.12 branch.

/Dan

On Wednesday, 25 November 2020 19:22:29 CET David Faure wrote:
> Hi Dan,
> 
> All my calendars (caldav) and todos (icaldir) disappeared, after updating
> stable branch (release/20.12) and rebooting.
> 
> org.kde.pim.akonadicore: WARNING:
> Akonadi::ItemSerializer::deserialize(Akonadi::Item&, const QByteArray&,
> QIODevice&, int)::<lambda Unable to deserialize payload part: "RFC822" in
> item 1650947 collection 1930 org.kde.pim.akonadicore: WARNING:
> Akonadi::ItemSerializer::deserialize(Akonadi::Item&, const QByteArray&,
> QIODevice&, int)::<lambda  payload data was: 
> "\xCA\x1C\x01.\x00\x00\x00\x01..." CRITICAL:
> KCalendarCore::ICalFormat::readIncidence|?libQt5Core.so.5?|qt_message_outpu
> t parse error from icalcomponent_new_from_string. string= "Ê\u001C\u0001."
> org.kde.pim.calendar_serializer: WARNING:
> Akonadi::SerializerPluginKCalCore::deserialize Failed to parse incidence!
> Item id =  1650946 Storage collection id  1930 parentCollectionId =  1930
> org.kde.pim.calendar_serializer: WARNING:
> Akonadi::SerializerPluginKCalCore::deserialize "?\u001C\u0001."
> 
> Volker showed me some commits related to LZMA compression, but commit
> 53d1b4c63189 says this is disabled in 20.12.
> 
> Could it be that because I was using an earlier version of release/20.12, my
> akonadi incidences actually got LZMA-compressed, and now there's no code
> available to uncompress them?


-- 
Daniel Vrátil
www.dvratil.cz | dvratil at kde.org
IRC: dvratil on Freenode (#kde, #kontact, #akonadi, #fedora-kde)

GPG Key: 0x4D69557AECB13683
Fingerprint: 0ABD FA55 A4E6 BEA9 9A83 EA97 4D69 557A ECB1 3683
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20201125/62b1d3d7/attachment.sig>


More information about the kde-pim mailing list