Bug 346440

Summary: Akonadi resource Crashes all the time
Product: [Frameworks and Libraries] Akonadi Reporter: René Serral <rserral>
Component: DAV ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: greg
Priority: NOR Keywords: drkonqi
Version: GIT (master)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description René Serral 2015-04-21 21:08:18 UTC
Application: akonadi_davgroupware_resource (4.82.0)
 (Compiled from sources)
Qt Version: 5.4.0
Operating System: Linux 4.0.0 x86_64
Distribution: Debian GNU/Linux 8.0 (jessie)

-- Information about the crash:
I'm using a GIT self compiled version of KDE and when I login to the system, or when I try to add a new resource I get this crash.

Moreover when I try to add resources the only resource available is Google Contacts. But they should be available as I'm using kdesrc-build script compiling all the different moduels.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Resource (akonadi_davgroupware_resource), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe34f939800 (LWP 29228))]

Thread 3 (Thread 0x7fe34dc0f700 (LWP 29229)):
#0  0x00007fe35ceb350d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe3592d0252 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fe3592d1ddf in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fe34f71e9b9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007fe35da44a5e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe35b1220a4 in start_thread (arg=0x7fe34dc0f700) at pthread_create.c:309
#6  0x00007fe35cebc04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fe34762d700 (LWP 29231)):
#0  0x00007fe35ceaf5dd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe3583c3f40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe35838096c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe358380e83 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe358380ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe35dcd995c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe35dc7f0e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe35da3faa4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fe35da44a5e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fe35b1220a4 in start_thread (arg=0x7fe34762d700) at pthread_create.c:309
#10 0x00007fe35cebc04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe34f939800 (LWP 29228)):
[KCrash Handler]
#6  0x00007fe35ce0b107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fe35ce0c4e8 in __GI_abort () at abort.c:89
#8  0x00007fe35d6f6b3d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007fe35d6f4bb6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007fe35d6f4c01 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007fe35d6f4e19 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fe364222144 in Akonadi::Item::throwPayloadException (this=0x170e270, spid=0, mtid=12) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/item.cpp:510
#13 0x00007fe364230331 in Akonadi::Item::payloadImpl<QByteArray> (this=0x170e270) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/item.h:596
#14 0x00007fe36422fe9a in Akonadi::Item::payload<QByteArray> (this=0x170e270) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/item.h:565
#15 0x00007fe36422e6a8 in Akonadi::DefaultItemSerializerPlugin::serialize (this=0x7fe364609b00 <Akonadi::(anonymous namespace)::Q_QGS_s_defaultItemSerializerPlugin::innerFunction()::holder>, item=..., label=..., data=..., version=@0x7ffe074b50ec: 0) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/itemserializer.cpp:59
#16 0x00007fe36422ef74 in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffe074b50ec: 0) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/itemserializer.cpp:135
#17 0x00007fe36422ee7a in Akonadi::ItemSerializer::serialize (item=..., label=..., data=..., version=@0x7ffe074b50ec: 0) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/itemserializer.cpp:124
#18 0x00007fe3642afd4a in Akonadi::ItemCreateJobPrivate::nextPartHeader (this=0x170e230) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/jobs/itemcreatejob.cpp:72
#19 0x00007fe3642b18fd in Akonadi::ItemCreateJob::doStart (this=0x175e2f0) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/jobs/itemcreatejob.cpp:188
#20 0x00007fe3642c02a2 in Akonadi::JobPrivate::startQueued (this=0x170e230) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/jobs/job.cpp:174
#21 0x00007fe3642c058f in Akonadi::JobPrivate::startNext (this=0x17cc4e0) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/core/jobs/job.cpp:204
#22 0x00007fe3642c1268 in Akonadi::Job::qt_static_metacall (_o=0x17fb240, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x17faec0) at /usr/src/kde5/build/kde/kdepimlibs/akonadi/src/core/moc_job.cpp:104
#23 0x00007fe35dcb295a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007fe35e602f0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007fe35e608590 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007fe35dc8192b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007fe35dc8399b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fe35dcd9533 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007fe358380c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fe358380f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fe358380ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fe35dcd9947 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fe35dc7f0e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fe35dc86d2c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fe36463994a in Akonadi::ResourceBase::init (r=0x1740200) at /usr/src/kde5/src/kde/kdepimlibs/akonadi/src/agentbase/resourcebase.cpp:589
#36 0x00000000004a760b in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=3, argv=0x7ffe074b6118) at /usr/local/kde5/include/KF5/AkonadiAgentBase/resourcebase.h:192
#37 0x00000000004a50c1 in main (argc=3, argv=0x7ffe074b6118) at /usr/src/kde5/src/kde/kdepim-runtime/resources/dav/resource/davgroupwareresource.cpp:1045

Reported using DrKonqi
Comment 1 Grégory Oestreicher 2015-06-25 21:28:19 UTC

*** This bug has been marked as a duplicate of bug 347814 ***