Bug 411054 - starting kaddressbook crashes akonadiserver
Summary: starting kaddressbook crashes akonadiserver
Status: RESOLVED DUPLICATE of bug 408897
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.11.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-19 06:22 UTC by Martin Koller
Modified: 2020-03-23 18:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2019-08-19 06:22:06 UTC
Application: akonadiserver (5.12.0)

Qt Version: 5.13.0
Frameworks Version: 5.61.0
Operating System: Linux 4.12.14-lp150.12.70-default x86_64
Distribution: "openSUSE Leap 15.0"

-- Information about the crash:
- What I was doing when the application crashed:

Sometimes when I start kaddressbook, akonadiserver crashes.
I use a local addressbook, a nextcloud resource and an MS-EWS resource

The crash can be reproduced sometimes.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f50ff0a6d80 (LWP 2710))]

Thread 42 - 8 snipped

Thread 7 (Thread 0x7f50f148f700 (LWP 3090)):
[KCrash Handler]
#6  0x00007f50fcc59160 in raise () from /lib64/libc.so.6
#7  0x00007f50fcc5a741 in abort () from /lib64/libc.so.6
#8  0x00007f50fcc9c4a7 in __libc_message () from /lib64/libc.so.6
#9  0x00007f50fcca2cc3 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f50fcca45c9 in _int_free () from /lib64/libc.so.6
#11 0x00005654af97f9ff in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:239
#12 QString::~QString (this=0x7f50ec0246b0, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qstring.h:1133
#13 QHashNode<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::~QHashNode (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qhash.h:149
#14 QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::deleteNode2 (node=0x7f50ec0246a0) at /usr/include/qt5/QtCore/qhash.h:547
#15 QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::deleteNode (node=0x7f50ec0246a0, this=0x5654b0a8a970) at /usr/include/qt5/QtCore/qhash.h:537
#16 QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::erase (this=this@entry=0x5654b0a8a970, it=..., it@entry=...) at /usr/include/qt5/QtCore/qhash.h:874
#17 0x00005654af97da8f in QHash<QString, QList<Akonadi::Server::ItemRetrievalRequest*> >::erase (it=..., this=0x5654b0a8a970) at /usr/include/qt5/QtCore/qhash.h:477
#18 Akonadi::Server::ItemRetrievalManager::processRequest (this=0x5654b0a8a940) at /usr/src/debug/akonadi-server-19.08.0-lp150.198.1.x86_64/src/server/storage/itemretrievalmanager.cpp:184
#19 0x00007f50fd84ae42 in QObject::event (this=0x5654b0a8a940, e=<optimized out>) at kernel/qobject.cpp:1260
#20 0x00007f50fd819971 in doNotify (event=0x7f50e0012c00, receiver=0x5654b0a8a940) at kernel/qcoreapplication.cpp:1155
#21 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1141
#22 QCoreApplication::notifyInternal2 (receiver=0x5654b0a8a940, event=0x7f50e0012c00) at kernel/qcoreapplication.cpp:1065
#23 0x00007f50fd819b5e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7f50e0012c00) at kernel/qcoreapplication.cpp:1460
#24 0x00007f50fd81c2a7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5654b0a8ab00) at kernel/qcoreapplication.cpp:1810
#25 0x00007f50fd81c838 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1664
#26 0x00007f50fd877ee3 in postEventSourceDispatch (s=0x7f50d8004b90) at kernel/qeventdispatcher_glib.cpp:277
#27 0x00007f50f955af07 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f50f955b2b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f50f955b33c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f50fd8774ff in QEventDispatcherGlib::processEvents (this=0x7f50d8000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f50fd817baa in QEventLoop::exec (this=this@entry=0x7f50f148ecb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#32 0x00007f50fd633dba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#33 0x00007f50fd635562 in QThreadPrivate::start (arg=0x5654b0ab4510) at thread/qthread_unix.cpp:360
#34 0x00007f50fba79569 in start_thread () from /lib64/libpthread.so.0
#35 0x00007f50fcd1ba2f in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f50f1c90700 (LWP 3089)):
#0  0x00007f50fcd0ccd8 in read () from /lib64/libc.so.6
#1  0x00007f50f959fd20 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f50f955ad38 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f50f955b1d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f50f955b33c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f50fd87751b in QEventDispatcherGlib::processEvents (this=0x7f50d4000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f50fd817baa in QEventLoop::exec (this=this@entry=0x7f50f1c8fcb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f50fd633dba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f50fd635562 in QThreadPrivate::start (arg=0x5654b0ab9d50) at thread/qthread_unix.cpp:360
#9  0x00007f50fba79569 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f50fcd1ba2f in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f50f2491700 (LWP 3088)):
#0  0x00007f50fcd111db in poll () from /lib64/libc.so.6
#1  0x00007f50f955b229 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f50f955b33c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f50fd87751b in QEventDispatcherGlib::processEvents (this=0x7f50e0000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f50fd817baa in QEventLoop::exec (this=this@entry=0x7f50f2490cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f50fd633dba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f50fd635562 in QThreadPrivate::start (arg=0x5654b0a97510) at thread/qthread_unix.cpp:360
#7  0x00007f50fba79569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f50fcd1ba2f in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f50f2c92700 (LWP 3087)):
#0  0x00007f50f95581ec in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f50f955ab61 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f50f955b1d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f50f955b33c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f50fd87751b in QEventDispatcherGlib::processEvents (this=0x7f50dc000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f50fd817baa in QEventLoop::exec (this=this@entry=0x7f50f2c91cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007f50fd633dba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007f50fd635562 in QThreadPrivate::start (arg=0x5654b0a94870) at thread/qthread_unix.cpp:360
#8  0x00007f50fba79569 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f50fcd1ba2f in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f50f3493700 (LWP 2898)):
#0  0x00007f50fd6345d6 in QThreadData::current (createIfNecessary=createIfNecessary@entry=true) at thread/qthread_unix.cpp:257
#1  0x00007f50fd877be1 in postEventSourcePrepare (timeout=0x0, s=0x7f50e4004b90) at kernel/qeventdispatcher_glib.cpp:253
#2  postEventSourceCheck (source=0x7f50e4004b90) at kernel/qeventdispatcher_glib.cpp:270
#3  0x00007f50f955ac59 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f50f955b1d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f50f955b33c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f50fd87751b in QEventDispatcherGlib::processEvents (this=0x7f50e4000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007f50fd817baa in QEventLoop::exec (this=this@entry=0x7f50f3492cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#8  0x00007f50fd633dba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#9  0x00007f50fd635562 in QThreadPrivate::start (arg=0x5654b0a49fa0) at thread/qthread_unix.cpp:360
#10 0x00007f50fba79569 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f50fcd1ba2f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f50f40fa700 (LWP 2711)):
#0  0x00007f50fcd0ccd8 in read () from /lib64/libc.so.6
#1  0x00007f50f959fd20 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f50f955ad38 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f50f955b1d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f50f955b33c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f50fd87751b in QEventDispatcherGlib::processEvents (this=0x7f50ec000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f50fd817baa in QEventLoop::exec (this=this@entry=0x7f50f40f9c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f50fd633dba in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007f50fdf2be35 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f50fd635562 in QThreadPrivate::start (arg=0x7f50fe1a3d80) at thread/qthread_unix.cpp:360
#10 0x00007f50fba79569 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f50fcd1ba2f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f50ff0a6d80 (LWP 2710)):
#0  0x00007f50fcd0ccd8 in read () from /lib64/libc.so.6
#1  0x00007f50f959fd20 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f50f955ad38 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f50f955b1d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f50f955b33c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f50fd87751b in QEventDispatcherGlib::processEvents (this=0x5654b0a40170, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f50fd817baa in QEventLoop::exec (this=this@entry=0x7ffd3a6494f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007f50fd820e60 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1373
#8  0x00005654af846014 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/akonadi-server-19.08.0-lp150.198.1.x86_64/src/server/main.cpp:78
[Inferior 1 (process 2710) detached]

Possible duplicates by query: bug 410956, bug 409403.
Comment 1 Daniel Vrátil 2020-03-23 18:09:16 UTC

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