Bug 375450

Summary: akonadiserver crashes on system shudown
Product: [Frameworks and Libraries] Akonadi Reporter: Robby Engelmann <robby.engelmann>
Component: serverAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dvratil
Priority: NOR    
Version: 5.4.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Robby Engelmann 2017-01-23 13:28:27 UTC
akonadiserver crashes on almost every system shutdown using openSUSE Tumbleweed:

gdb) bt
#0  0x00007f8bac7115af in raise () from /lib64/libc.so.6
#1  0x00007f8bae3f6b84 in KCrash::defaultCrashHandler(int) () from /usr/lib64/libKF5Crash.so.5
#2  <signal handler called>
#3  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=0x8)
    at ../../src/corelib/tools/qscopedpointer.h:141
#4  qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../src/corelib/global/qglobal.h:980
#5  QIODevice::d_func (this=0x0) at ../../src/corelib/io/qiodevice.h:178
#6  QIODevice::write (this=0x0, data=0x7f8b52ffc3ec "\227", maxSize=1) at io/qiodevice.cpp:1596
#7  0x00007f8bae1afbc0 in ?? () from /usr/lib64/libKF5AkonadiPrivate.so.5
#8  0x00007f8bae1b332f in ?? () from /usr/lib64/libKF5AkonadiPrivate.so.5
#9  0x00007f8bae19a9b4 in Akonadi::Protocol::serialize(QIODevice*, Akonadi::Protocol::Command const&) ()
   from /usr/lib64/libKF5AkonadiPrivate.so.5
#10 0x000000000042c9b3 in Akonadi::Server::Connection::sendResponse (this=0x211c1e0, tag=10, response=...)
    at /usr/src/debug/akonadi-16.12.1/src/server/connection.cpp:404
#11 0x0000000000430e42 in Akonadi::Server::Handler::sendResponse (response=..., this=0x7f8b48052fb0)
    at /usr/src/debug/akonadi-16.12.1/src/server/handler.cpp:268
#12 Akonadi::Server::Handler::sendResponse<Akonadi::Protocol::Response> (this=0x7f8b48052fb0, response=...)
    at /usr/src/debug/akonadi-16.12.1/src/server/handler.h:152
#13 Akonadi::Server::Handler::failureResponse (this=this@entry=0x7f8b48052fb0, failureMessage=...)
    at /usr/src/debug/akonadi-16.12.1/src/server/handler.cpp:261
#14 0x0000000000430fff in Akonadi::Server::Handler::failureResponse (this=0x7f8b48052fb0, failureMessage=<optimized out>)
    at /usr/src/debug/akonadi-16.12.1/src/server/handler.cpp:252
#15 0x000000000042eb8d in Akonadi::Server::Connection::slotNewData (this=0x211c1e0)
    at /usr/src/debug/akonadi-16.12.1/src/server/connection.cpp:252
#16 0x00007f8bad2cba7e in QtPrivate::QSlotObjectBase::call (a=0x7f8b52ffc8d0, r=0x211c1e0, this=<optimized out>)
    at ../../src/corelib/kernel/qobject_impl.h:101
#17 QMetaObject::activate (sender=0x7f8b48002cd0, signalOffset=<optimized out>, local_signal_index=<optimized out>,
    argv=<optimized out>) at kernel/qobject.cpp:3723
#18 0x00007f8bad2cb709 in QMetaObject::activate (sender=0x7f8b48002dc8, signalOffset=<optimized out>,
    local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3740
#19 0x00007f8baded6265 in ?? () from /usr/lib64/libQt5Network.so.5
---Type <return> to continue, or q <return> to quit---
#20 0x00007f8baded631c in ?? () from /usr/lib64/libQt5Network.so.5
#21 0x00007f8badee1121 in ?? () from /usr/lib64/libQt5Network.so.5
#22 0x00007f8bad29faeb in doNotify (event=0x7f8b52ffcae0, receiver=0x7f8b48003060) at kernel/qcoreapplication.cpp:1063
#23 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>)
    at kernel/qcoreapplication.cpp:1049
#24 QCoreApplication::notifyInternal2 (receiver=0x7f8b48003060, event=event@entry=0x7f8b52ffcae0)
    at kernel/qcoreapplication.cpp:988
#25 0x00007f8bad2f461d in QCoreApplication::sendEvent (event=0x7f8b52ffcae0, receiver=<optimized out>)
    at ../../src/corelib/kernel/qcoreapplication.h:231
#26 socketNotifierSourceDispatch (source=0x7f8b48002a00) at kernel/qeventdispatcher_glib.cpp:106
#27 0x00007f8ba9445687 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f8ba94458f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f8ba944599c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f8bad2f416f in QEventDispatcherGlib::processEvents (this=0x7f8b480008c0, flags=...)
    at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f8bad29daea in QEventLoop::exec (this=this@entry=0x7f8b52ffcd00, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:212
#32 0x00007f8bad0cb813 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#33 0x00007f8bad0d04c8 in QThreadPrivate::start (arg=0x21138c0) at thread/qthread_unix.cpp:368
#34 0x00007f8bab35d454 in start_thread () from /lib64/libpthread.so.0
#35 0x00007f8bac7c637f in clone () from /lib64/libc.so.6
Comment 1 Daniel Vrátil 2017-02-23 19:02:05 UTC

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