Bug 342069 - Google and DavGroupware resource PayloadException
Summary: Google and DavGroupware resource PayloadException
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Google Resource (show other bugs)
Version: GIT (master)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-21 08:43 UTC by Ivan Čukić
Modified: 2017-01-07 22:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Čukić 2014-12-21 08:43:51 UTC
I've seen similar reports (resolved) on older versions of Akonadi, but this happens for me with the master (with Qt 5.3.2) for some time now. The crash happens as soon as akonadi is started, and as soon as I close the kcrash dialog which restarts the google resource agent. Everything else works ok.

The console output gives this:
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(0)<KContacts::Addressee>

And this is the backtrace:
Thread 1 (Thread 0x7fed263047c0 (LWP 2638)):
[KCrash Handler]
#6  0x00007fed18d75107 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#7  0x00007fed18d764e8 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x00007fed19670b3d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007fed1966ebb6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007fed1966ec01 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007fed1966ee19 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fed25d7da96 in Akonadi::Item::throwPayloadException (this=0x15394e0, spid=0, mtid=12) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/item.cpp:504
#13 0x00007fed25d8b90b in Akonadi::Item::payloadImpl<QByteArray> (this=0x15394e0) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/item.h:588
#14 0x00007fed25d8b4f4 in Akonadi::Item::payload<QByteArray> (this=0x15394e0) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/item.h:557
#15 0x00007fed25d89cc8 in Akonadi::DefaultItemSerializerPlugin::serialize (this=0x7fed26149900 <Akonadi::(anonymous namespace)::Q_QGS_s_defaultItemSerializerPlugin::innerFunction()::holder>, item=..., label=..., data=..., version=@0x7ffff7bb90ac: 0) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/itemserializer.cpp:59
#16 0x00007fed25d8a594 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffff7bb90ac: 0) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/itemserializer.cpp:135
#17 0x00007fed25d8a49a in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffff7bb90ac: 0) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/itemserializer.cpp:124
#18 0x00007fed25dffc94 in Akonadi::ItemCreateJobPrivate::nextPartHeader (this=0x15394a0) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/jobs/itemcreatejob.cpp:72
#19 0x00007fed25e0187d in Akonadi::ItemCreateJob::doStart (this=0x1543570) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/jobs/itemcreatejob.cpp:188
#20 0x00007fed25e102fa in Akonadi::JobPrivate::startQueued (this=0x15394a0) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/jobs/job.cpp:174
#21 0x00007fed25e105e7 in Akonadi::JobPrivate::startNext (this=0x1588960) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/core/jobs/job.cpp:204
#22 0x00007fed25e112cc in Akonadi::Job::qt_static_metacall (_o=0x14bb6e0, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x14b5880) at /opt/kf5/build/kde/kdepimlibs/akonadi/src/core/moc_job.cpp:103
#23 0x00007fed19c79ef9 in QMetaCallEvent::placeMetaCall (this=0x1558270, object=0x14bb6e0) at kernel/qobject.cpp:487
#24 0x00007fed19c7af2e in QObject::event (this=0x14bb6e0, e=0x1558270) at kernel/qobject.cpp:1241
#25 0x00007fed1aabd586 in QApplicationPrivate::notify_helper (this=0x134e5b0, receiver=0x14bb6e0, e=0x1558270) at kernel/qapplication.cpp:3499
#26 0x00007fed1aabadce in QApplication::notify (this=0x7ffff7bba790, receiver=0x14bb6e0, e=0x1558270) at kernel/qapplication.cpp:2952
#27 0x00007fed19c3fbd2 in QCoreApplication::notifyInternal (this=0x7ffff7bba790, receiver=0x14bb6e0, event=0x1558270) at kernel/qcoreapplication.cpp:935
#28 0x00007fed19c4380d in QCoreApplication::sendEvent (receiver=0x14bb6e0, event=0x1558270) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:237
#29 0x00007fed19c40eeb in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1343510) at kernel/qcoreapplication.cpp:1539
#30 0x00007fed19c4089a in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1397
#31 0x00007fed19cb5e1a in postEventSourceDispatch (s=0x13854a0) at kernel/qeventdispatcher_glib.cpp:279
#32 0x00007fed108b1c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fed108b1f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fed108b1ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fed19cb65d5 in QEventDispatcherGlib::processEvents (this=0x1397cd0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#36 0x00007fed0d3fbc6c in QPAEventDispatcherGlib::processEvents (this=0x1397cd0, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:123
#37 0x00007fed19c3c8b8 in QEventLoop::processEvents (this=0x7ffff7bba6a0, flags=...) at kernel/qeventloop.cpp:136
#38 0x00007fed19c3cb91 in QEventLoop::exec (this=0x7ffff7bba6a0, flags=...) at kernel/qeventloop.cpp:212
#39 0x00007fed19c4028c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#40 0x00007fed1a23361c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1483
#41 0x00007fed1aaba5fb in QApplication::exec () at kernel/qapplication.cpp:2744
#42 0x00007fed24fe5514 in Akonadi::ResourceBase::init (r=0x144e350) at /opt/kf5/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:581
#43 0x000000000043c8fe in Akonadi::ResourceBase::init<ContactsResource> (argc=3, argv=0x7ffff7bba8e8) at /opt/kf5/usr/include/KF5/AkonadiAgentBase/resourcebase.h:192
#44 0x0000000000439172 in main (argc=3, argv=0x7ffff7bba8e8) at /opt/kf5/src/kde/kdepim-runtime/resources/google/contacts/contactsresource.cpp:556

Cheers

Reproducible: Always
Comment 1 Ivan Čukić 2014-12-21 10:30:04 UTC
Same error with akonadi_davgroupware_resource
Comment 2 Denis Kurz 2016-09-24 20:43:19 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:11:41 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.