FS#53943 - [kdepim-runtime]: akonadi_davgroupware_resource crashes reproducible

Attached to Project: Arch Linux
Opened by Johannes Rohr (jro) - Friday, 05 May 2017, 20:47 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 23 May 2017, 09:06 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: /usr/bin/akonadi_davgroupware_resource crashes reproducible, my caldav calendars are no longer getting updated.


Additional info:
* package version(s) akonadi_davgroupware_resource crashes reproducible
* config and/or log files etc.

Here comes the backtrace:

Application: akonadi_davgroupware_resource (akonadi_davgroupware_resource), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8e73d28900 (LWP 1782))]

Thread 5 (Thread 0x7f8e3da85700 (LWP 2134)):
#0 0x00007f8e64261510 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#1 0x00007f8e64261a20 in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007f8e64261acc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3 0x00007f8e6f17610b in QEventDispatcherGlib::processEvents (this=0x7f8e340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4 0x00007f8e6f11f93a in QEventLoop::exec (this=this@entry=0x7f8e3da84cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5 0x00007f8e6ef41ae3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6 0x00007f8e6ef46748 in QThreadPrivate::start (arg=0x2924140) at thread/qthread_unix.cpp:368
#7 0x00007f8e680b32e7 in start_thread () from /usr/lib/libpthread.so.0
#8 0x00007f8e6e64054f in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f8e3e286700 (LWP 2124)):
#0 0x00007f8e642a71c9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1 0x00007f8e64261536 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#2 0x00007f8e64261a20 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007f8e64261acc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4 0x00007f8e6f17610b in QEventDispatcherGlib::processEvents (this=0x7f8e300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5 0x00007f8e6f11f93a in QEventLoop::exec (this=this@entry=0x7f8e3e285cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6 0x00007f8e6ef41ae3 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7 0x00007f8e6ef46748 in QThreadPrivate::start (arg=0x291a0c0) at thread/qthread_unix.cpp:368
#8 0x00007f8e680b32e7 in start_thread () from /usr/lib/libpthread.so.0
#9 0x00007f8e6e64054f in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f8e3ea87700 (LWP 2119)):
#0 0x00007f8e642a71e4 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1 0x00007f8e64260e80 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2 0x00007f8e642618db in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007f8e64261acc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4 0x00007f8e6f17610b in QEventDispatcherGlib::processEvents (this=0x7f8e380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5 0x00007f8e6f11f93a in QEventLoop::exec (this=this@entry=0x7f8e3ea86c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6 0x00007f8e6ef41ae3 in QThread::exec (this=this@entry=0x7f8e70411d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#7 0x00007f8e7019d835 in QDBusConnectionManager::run (this=0x7f8e70411d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:170
#8 0x00007f8e6ef46748 in QThreadPrivate::start (arg=0x7f8e70411d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#9 0x00007f8e680b32e7 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f8e6e64054f in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f8e47a8d700 (LWP 2116)):
#0 0x00007f8e6e63667d in poll () from /usr/lib/libc.so.6
#1 0x00007f8e684d98e0 in ?? () from /usr/lib/libxcb.so.1
#2 0x00007f8e684db679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3 0x00007f8e4997a9f9 in QXcbEventReader::run (this=0x2448e10) at qxcbconnection.cpp:1345
#4 0x00007f8e6ef46748 in QThreadPrivate::start (arg=0x2448e10) at thread/qthread_unix.cpp:368
#5 0x00007f8e680b32e7 in start_thread () from /usr/lib/libpthread.so.0
#6 0x00007f8e6e64054f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f8e73d28900 (LWP 1782)):
[KCrash Handler]
#6 QHash<QString, QHashDummyValue>::isEmpty (this=this@entry=0x18) at /usr/include/qt/QtCore/qhash.h:267
#7 QHash<QString, QHashDummyValue>::remove (this=this@entry=0x18, akey=...) at /usr/include/qt/QtCore/qhash.h:787
#8 0x00007f8e7350d68d in QSet<QString>::remove (value=..., this=0x18) at /usr/include/qt/QtCore/qset.h:94
#9 KDAV::EtagCache::removeEtag (this=0x0, remoteId=...) at /home/jr/src/kdav/src/kdav-17.04.0/src/common/etagcache.cpp:68
#10 0x0000000000450b7e in DavGroupwareResource::onItemChangedFinished (this=0x2919eb0, job=<optimized out>) at /home/jr/src/kdepim-runtime/src/kdepim-runtime-17.04.0/resources/dav/resource/davgroupwareresource.cpp:1067
#11 0x00007f8e6f14d15e in QtPrivate::QSlotObjectBase::call (a=0x7ffc23e9d6e0, r=0x2919eb0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#12 QMetaObject::activate (sender=sender@entry=0x2a3caf0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc23e9d6e0) at kernel/qobject.cpp:3723
#13 0x00007f8e6f14d707 in QMetaObject::activate (sender=sender@entry=0x2a3caf0, m=m@entry=0x7f8e70184500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc23e9d6e0) at kernel/qobject.cpp:3602
#14 0x00007f8e6ff2d3f2 in KJob::result (this=this@entry=0x2a3caf0, _t1=<optimized out>, _t1@entry=0x2a3caf0) at /home/jr/src/kcoreaddons/src/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:570
#15 0x00007f8e6ff2ed61 in KJob::finishJob (this=this@entry=0x2a3caf0, emitResult=emitResult@entry=true) at /home/jr/src/kcoreaddons/src/kcoreaddons-5.33.0/src/lib/jobs/kjob.cpp:109
#16 0x00007f8e6ff30d2a in KJob::emitResult (this=this@entry=0x2a3caf0) at /home/jr/src/kcoreaddons/src/kcoreaddons-5.33.0/src/lib/jobs/kjob.cpp:293
#17 0x00007f8e734fcae2 in KDAV::DavItemModifyJob::itemRefreshed (this=0x2a3caf0, job=<optimized out>) at /home/jr/src/kdav/src/kdav-17.04.0/src/common/davitemmodifyjob.cpp:131
#18 0x00007f8e6f14d15e in QtPrivate::QSlotObjectBase::call (a=0x7ffc23e9d890, r=0x2a3caf0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#19 QMetaObject::activate (sender=sender@entry=0x29a1210, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc23e9d890) at kernel/qobject.cpp:3723
#20 0x00007f8e6f14d707 in QMetaObject::activate (sender=sender@entry=0x29a1210, m=m@entry=0x7f8e70184500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc23e9d890) at kernel/qobject.cpp:3602
#21 0x00007f8e6ff2d3f2 in KJob::result (this=this@entry=0x29a1210, _t1=<optimized out>, _t1@entry=0x29a1210) at /home/jr/src/kcoreaddons/src/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:570
#22 0x00007f8e6ff2ed61 in KJob::finishJob (this=this@entry=0x29a1210, emitResult=emitResult@entry=true) at /home/jr/src/kcoreaddons/src/kcoreaddons-5.33.0/src/lib/jobs/kjob.cpp:109
#23 0x00007f8e6ff30d2a in KJob::emitResult (this=this@entry=0x29a1210) at /home/jr/src/kcoreaddons/src/kcoreaddons-5.33.0/src/lib/jobs/kjob.cpp:293
#24 0x00007f8e734fc257 in KDAV::DavItemFetchJob::davJobFinished (this=0x29a1210, job=<optimized out>) at /home/jr/src/kdav/src/kdav-17.04.0/src/common/davitemfetchjob.cpp:87
#25 0x00007f8e6f14d15e in QtPrivate::QSlotObjectBase::call (a=0x7ffc23e9dac0, r=0x29a1210, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#26 QMetaObject::activate (sender=sender@entry=0x29dc360, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc23e9dac0) at kernel/qobject.cpp:3723
#27 0x00007f8e6f14d707 in QMetaObject::activate (sender=sender@entry=0x29dc360, m=m@entry=0x7f8e70184500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc23e9dac0) at kernel/qobject.cpp:3602
#28 0x00007f8e6ff2d3f2 in KJob::result (this=this@entry=0x29dc360, _t1=<optimized out>, _t1@entry=0x29dc360) at /home/jr/src/kcoreaddons/src/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:570
#29 0x00007f8e6ff2ed61 in KJob::finishJob (this=0x29dc360, emitResult=<optimized out>) at /home/jr/src/kcoreaddons/src/kcoreaddons-5.33.0/src/lib/jobs/kjob.cpp:109
#30 0x00007f8e70c651d2 in KIO::SimpleJob::slotFinished() () from /usr/lib/libKF5KIOCore.so.5
#31 0x00007f8e70c71bd6 in KIO::TransferJob::slotFinished() () from /usr/lib/libKF5KIOCore.so.5
#32 0x00007f8e70c725b1 in ?? () from /usr/lib/libKF5KIOCore.so.5
#33 0x00007f8e6f14cde9 in QMetaObject::activate (sender=0x29acda0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3740
#34 0x00007f8e70c3ee01 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libKF5KIOCore.so.5
#35 0x00007f8e70c3d447 in KIO::SlaveInterface::dispatch() () from /usr/lib/libKF5KIOCore.so.5
#36 0x00007f8e70c42621 in KIO::Slave::gotInput() () from /usr/lib/libKF5KIOCore.so.5
#37 0x00007f8e70ce0635 in ?? () from /usr/lib/libKF5KIOCore.so.5
#38 0x00007f8e6f14cde9 in QMetaObject::activate (sender=0x29ad620, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3740
#39 0x00007f8e70bd5ff0 in ?? () from /usr/lib/libKF5KIOCore.so.5
#40 0x00007f8e6f14dc49 in QObject::event (this=0x29ad620, e=<optimized out>) at kernel/qobject.cpp:1263
#41 0x00007f8e712a63dc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x29ad620, e=0x2a66f50) at kernel/qapplication.cpp:3745
#42 0x00007f8e712adbf1 in QApplication::notify (this=0x7ffc23e9e7a0, receiver=0x29ad620, e=0x2a66f50) at kernel/qapplication.cpp:3502
#43 0x00007f8e6f1214e0 in QCoreApplication::notifyInternal2 (receiver=0x29ad620, event=event@entry=0x2a66f50) at kernel/qcoreapplication.cpp:988
#44 0x00007f8e6f123c6d in QCoreApplication::sendEvent (event=0x2a66f50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2429ee0) at kernel/qcoreapplication.cpp:1648
#46 0x00007f8e6f1240d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1502
#47 0x00007f8e6f175ce3 in postEventSourceDispatch (s=0x246b610) at kernel/qeventdispatcher_glib.cpp:276
#48 0x00007f8e642617b7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0x00007f8e64261a20 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0x00007f8e64261acc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0x00007f8e6f1760ef in QEventDispatcherGlib::processEvents (this=0x2479270, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007f8e6f11f93a in QEventLoop::exec (this=this@entry=0x7ffc23e9e700, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#53 0x00007f8e6f127e84 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#54 0x00007f8e73759bbe in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libKF5AkonadiAgentBase.so.5
#55 0x000000000045ba87 in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:196
#56 0x00007f8e6e574511 in __libc_start_main () from /usr/lib/libc.so.6
#57 0x00000000004178aa in _start ()
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 23 May 2017, 09:06 GMT
Reason for closing:  No response
Comment by Antonio Rojas (arojas) - Saturday, 06 May 2017, 08:33 GMT
Please post the upstream report link in the future

https://bugs.kde.org/show_bug.cgi?id=379538
Comment by Antonio Rojas (arojas) - Saturday, 13 May 2017, 08:43 GMT
Please test the attached patch for kdav. If you don't know how to patch, you can grab the binary package from http://pkgbuild.com/~arojas/kdav-17.04.1-1.1-x86_64.pkg.tar.xz
Comment by Antonio Rojas (arojas) - Saturday, 20 May 2017, 10:07 GMT
ping?

Loading...