Bug 375461 - akonadi_davgroupware_resource signal: Segmentation fault 16.12.0 during start up
Summary: akonadi_davgroupware_resource signal: Segmentation fault 16.12.0 during start up
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: DAV Resource (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 17:58 UTC by Bruno Friedmann
Modified: 2018-12-12 10:57 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 Bruno Friedmann 2017-01-23 17:58:12 UTC
on openSUSE Tumbleweed 20170121 at startup akonadi_groupware agent crash

Application: akonadi_davgroupware_resource (akonadi_davgroupware_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcb6ea54940 (LWP 3153))]

Thread 5 (Thread 0x7fcb42ffd700 (LWP 3299)):
#0  0x00007fcb68ffc66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb615d6886 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fcb615d699c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fcb69b3318b in QEventDispatcherGlib::processEvents (this=0x7fcb380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fcb69adcaea in QEventLoop::exec (this=this@entry=0x7fcb42ffcc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fcb6990a813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fcb6990f4c8 in QThreadPrivate::start (arg=0xb59e30) at thread/qthread_unix.cpp:368
#7  0x00007fcb63323454 in start_thread (arg=0x7fcb42ffd700) at pthread_create.c:333
#8  0x00007fcb6900537f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7fcb437fe700 (LWP 3239)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:67
#1  0x00007fcb68ffc662 in poll () at ../sysdeps/unix/syscall-template.S:84
#2  0x00007fcb615d6886 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fcb615d699c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fcb69b3318b in QEventDispatcherGlib::processEvents (this=0x7fcb340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007fcb69adcaea in QEventLoop::exec (this=this@entry=0x7fcb437fdc80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007fcb6990a813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#7  0x00007fcb6990f4c8 in QThreadPrivate::start (arg=0xb48d80) at thread/qthread_unix.cpp:368
#8  0x00007fcb63323454 in start_thread (arg=0x7fcb437fe700) at pthread_create.c:333
#9  0x00007fcb6900537f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7fcb43fff700 (LWP 3235)):
#0  0x00007fcb68ffc66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb615d6886 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fcb615d699c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fcb69b3318b in QEventDispatcherGlib::processEvents (this=0x7fcb3c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fcb69adcaea in QEventLoop::exec (this=this@entry=0x7fcb43ffec50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fcb6990a813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007fcb69f45385 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fcb6990f4c8 in QThreadPrivate::start (arg=0x7fcb6a1b6d20) at thread/qthread_unix.cpp:368
#8  0x00007fcb63323454 in start_thread (arg=0x7fcb43fff700) at pthread_create.c:333
#9  0x00007fcb6900537f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7fcb4c3cb700 (LWP 3187)):
#0  0x00007fcb68ffc66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fcb637493e0 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fcb6374b179 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fcb4e2be889 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fcb6990f4c8 in QThreadPrivate::start (arg=0x742e90) at thread/qthread_unix.cpp:368
#5  0x00007fcb63323454 in start_thread (arg=0x7fcb4c3cb700) at pthread_create.c:333
#6  0x00007fcb6900537f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7fcb6ea54940 (LWP 3153)):
[KCrash Handler]
#6  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x10>) at /usr/include/c++/6/bits/atomic_base.h:396
#7  QAtomicOps<int>::load<int> (_q_value=<error reading variable: Cannot access memory at address 0x10>) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227
#8  QBasicAtomicInteger<int>::load (this=<error reading variable: Cannot access memory at address 0x10>) at /usr/include/qt5/QtCore/qbasicatomic.h:99
#9  QtPrivate::RefCount::isShared (this=<error reading variable: Cannot access memory at address 0x10>) at /usr/include/qt5/QtCore/qrefcount.h:101
#10 QMap<QString, QString>::detach (this=0x10) at /usr/include/qt5/QtCore/qmap.h:366
#11 QMap<QString, QString>::operator[] (akey=..., this=0x10) at /usr/include/qt5/QtCore/qmap.h:664
#12 EtagCache::setEtag (this=this@entry=0x0, remoteId=..., etag=...) at /usr/src/debug/kdepim-runtime-16.12.0/resources/dav/common/etagcache.cpp:38
#13 0x000000000046427f in DavGroupwareResource::onItemFetched (this=0xb4da10, job=<optimized out>, updateType=DavGroupwareResource::ItemUpdateAdd) at /usr/src/debug/kdepim-runtime-16.12.0/resources/dav/resource/davgroupwareresource.cpp:959
#14 0x00007fcb69b0aa7e in QtPrivate::QSlotObjectBase::call (a=0x7ffd969a4dc0, r=0xb4da10, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:101
#15 QMetaObject::activate (sender=sender@entry=0x10d54d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd969a4dc0) at kernel/qobject.cpp:3723
#16 0x00007fcb69b0b027 in QMetaObject::activate (sender=sender@entry=0x10d54d0, m=m@entry=0x7fcb6bcff500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd969a4dc0) at kernel/qobject.cpp:3602
#17 0x00007fcb6baac062 in KJob::result (this=this@entry=0x10d54d0, _t1=<optimized out>, _t1@entry=0x10d54d0) at /usr/src/debug/kcoreaddons-5.29.0/build/src/lib/moc_kjob.cpp:568
#18 0x00007fcb6baad9a1 in KJob::finishJob (this=this@entry=0x10d54d0, emitResult=emitResult@entry=true) at /usr/src/debug/kcoreaddons-5.29.0/src/lib/jobs/kjob.cpp:109
#19 0x00007fcb6baaf94a in KJob::emitResult (this=this@entry=0x10d54d0) at /usr/src/debug/kcoreaddons-5.29.0/src/lib/jobs/kjob.cpp:293
#20 0x000000000042815d in DavItemFetchJob::davJobFinished (this=0x10d54d0, job=<optimized out>) at /usr/src/debug/kdepim-runtime-16.12.0/resources/dav/common/davitemfetchjob.cpp:92
#21 0x00007fcb69b0aa7e in QtPrivate::QSlotObjectBase::call (a=0x7ffd969a5040, r=0x10d54d0, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:101
#22 QMetaObject::activate (sender=sender@entry=0xc596c0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd969a5040) at kernel/qobject.cpp:3723
#23 0x00007fcb69b0b027 in QMetaObject::activate (sender=sender@entry=0xc596c0, m=m@entry=0x7fcb6bcff500 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd969a5040) at kernel/qobject.cpp:3602
#24 0x00007fcb6baac062 in KJob::result (this=this@entry=0xc596c0, _t1=<optimized out>, _t1@entry=0xc596c0) at /usr/src/debug/kcoreaddons-5.29.0/build/src/lib/moc_kjob.cpp:568
#25 0x00007fcb6baad9a1 in KJob::finishJob (this=this@entry=0xc596c0, emitResult=emitResult@entry=true) at /usr/src/debug/kcoreaddons-5.29.0/src/lib/jobs/kjob.cpp:109
#26 0x00007fcb6baaf94a in KJob::emitResult (this=this@entry=0xc596c0) at /usr/src/debug/kcoreaddons-5.29.0/src/lib/jobs/kjob.cpp:293
#27 0x00007fcb6cee6762 in KIO::SimpleJob::slotFinished (this=this@entry=0xc596c0) at /usr/src/debug/kio-5.29.0/src/core/simplejob.cpp:230
#28 0x00007fcb6cef0f96 in KIO::TransferJob::slotFinished (this=0xc596c0) at /usr/src/debug/kio-5.29.0/src/core/transferjob.cpp:166
#29 0x00007fcb6cef0701 in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kio-5.29.0/build/src/core/moc_transferjob.cpp:155
#30 0x00007fcb69b0a709 in QMetaObject::activate (sender=sender@entry=0xbba790, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3740
#31 0x00007fcb69b0b027 in QMetaObject::activate (sender=sender@entry=0xbba790, m=m@entry=0x7fcb6d191820 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
#32 0x00007fcb6cebe753 in KIO::SlaveInterface::finished (this=this@entry=0xbba790) at /usr/src/debug/kio-5.29.0/build/src/core/moc_slaveinterface.cpp:424
#33 0x00007fcb6cec0731 in KIO::SlaveInterface::dispatch (this=0xbba790, _cmd=<optimized out>, rawdata=...) at /usr/src/debug/kio-5.29.0/src/core/slaveinterface.cpp:160
#34 0x00007fcb6cebed47 in KIO::SlaveInterface::dispatch (this=0xbba790) at /usr/src/debug/kio-5.29.0/src/core/slaveinterface.cpp:89
#35 0x00007fcb6cec3ec1 in KIO::Slave::gotInput (this=0xbba790) at /usr/src/debug/kio-5.29.0/src/core/slave.cpp:399
#36 0x00007fcb6cf4dbb5 in KIO::Slave::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kio-5.29.0/build/src/core/KF5KIOCore_automoc.dir/moc_slave_HJU3JQIV4SC6KR.cpp:87
#37 0x00007fcb69b0a709 in QMetaObject::activate (sender=0xb7ff70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3740
#38 0x00007fcb69b0b027 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7fcb6d190580 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
#39 0x00007fcb6ce5f4cf in KIO::Connection::readyRead (this=<optimized out>) at /usr/src/debug/kio-5.29.0/build/src/core/moc_connection_p.cpp:142
#40 KIO::ConnectionPrivate::dequeue (this=0xbefde0) at /usr/src/debug/kio-5.29.0/src/core/connection.cpp:46
#41 0x00007fcb69b0b5b9 in QObject::event (this=0xb7ff70, e=<optimized out>) at kernel/qobject.cpp:1263
#42 0x00007fcb6b366eac in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xb7ff70, e=0x12d00c0) at kernel/qapplication.cpp:3799
#43 0x00007fcb6b36e661 in QApplication::notify (this=0x7ffd969a5d00, receiver=0xb7ff70, e=0x12d00c0) at kernel/qapplication.cpp:3556
#44 0x00007fcb69adeb00 in QCoreApplication::notifyInternal2 (receiver=0xb7ff70, event=event@entry=0x12d00c0) at kernel/qcoreapplication.cpp:988
#45 0x00007fcb69ae128d in QCoreApplication::sendEvent (event=0x12d00c0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x6f6600) at kernel/qcoreapplication.cpp:1649
#47 0x00007fcb69ae16f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#48 0x00007fcb69b32d63 in postEventSourceDispatch (s=0x768ab0) at kernel/qeventdispatcher_glib.cpp:276
#49 0x00007fcb615d6687 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#50 0x00007fcb615d68f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#51 0x00007fcb615d699c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#52 0x00007fcb69b3316f in QEventDispatcherGlib::processEvents (this=0x77a8e0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#53 0x00007fcb69adcaea in QEventLoop::exec (this=this@entry=0x7ffd969a5c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#54 0x00007fcb69ae525c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#55 0x00007fcb6ddd290e in Akonadi::ResourceBase::init (r=r@entry=0xb4da10) at /usr/src/debug/akonadi-16.12.0/src/agentbase/resourcebase.cpp:611
#56 0x0000000000470337 in Akonadi::ResourceBase::init<DavGroupwareResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:196
#57 0x00007fcb68f3c291 in __libc_start_main (main=0x41a220 <main(int, char**)>, argc=3, argv=0x7ffd969a5e28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd969a5e18) at ../csu/libc-start.c:289
#58 0x000000000041a25a in _start () at ../sysdeps/x86_64/start.S:120

I've two account configured one is connecting a nextcloud 11.0.1 server, the other one is connecting an owncloud 8.2.24
Comment 1 Erik Quaeghebeur 2018-12-12 10:53:10 UTC
Is this still happening with more recent versions?
Comment 2 Bruno Friedmann 2018-12-12 10:57:22 UTC
This crash is not seen actually on never version : 

openSUSE Tumbleweed - 20181208
Linux 4.19.5-1-default x86_64 GNU/Linux
nvidia: 410.78
Qt: 5.11.2, 
KDE Frameworks: 5.52.0, 
Plasma: 5.14.4, 
kmail2 5.9.3
akonadi 5.9.3