https://bugs.kde.org/show_bug.cgi?id=403391
--- Comment #21 from Freek de Kruijf <freekdekru...@kde.nl> --- Application: akonadi_imap_resource (5.13.2 (19.12.2)) Qt Version: 5.14.1 Frameworks Version: 5.67.0 Operating System: Linux 5.5.6-1-default x86_64 Windowing system: X11 Distribution: "openSUSE Tumbleweed" -- Information about the crash: - What I was doing when the application crashed: Started a check for new messages. Also when starting kmail/kontact the akonadi_imap_resource for an account on a separte dovecot server always crashes. This is reproducable always; also when doing the check. -- Backtrace: Application: IMAP-freekbpim64 (akonadi_imap_resource), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f55a906eac0 (LWP 3384))] Thread 12 (Thread 0x7f5592598700 (LWP 3467)): #0 0x00007f55b667b4e9 in ?? () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f55b667cc6f in g_main_context_check () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f55b667d2a2 in ?? () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f55b667d41f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f55b82a4c6b in QEventDispatcherGlib::processEvents (this=0x7f5570000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #5 0x00007f55b824cbfb in QEventLoop::exec (this=this@entry=0x7f5592597ae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #6 0x00007f55b807762e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #7 0x00007f55b80786f8 in QThreadPrivate::start (arg=0x5574bd016e70) at thread/qthread_unix.cpp:342 #8 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #9 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 11 (Thread 0x7f5592d99700 (LWP 3401)): #0 0x00007f55b9fd04fc in read () from /lib64/libc.so.6 #1 0x00007f55b66c420f in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f55b667ce57 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f55b667d2a2 in ?? () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f55b667d41f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #5 0x00007f55b82a4c6b in QEventDispatcherGlib::processEvents (this=0x7f556c000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #6 0x00007f55b824cbfb in QEventLoop::exec (this=this@entry=0x7f5592d98ae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #7 0x00007f55b807762e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #8 0x00007f55b80786f8 in QThreadPrivate::start (arg=0x5574bcf3baa0) at thread/qthread_unix.cpp:342 #9 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #10 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7f559359a700 (LWP 3400)): #0 0x00007f55b667b49f in g_source_ref () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f55b667b548 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f55b667c7c3 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f55b667d22b in ?? () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f55b667d41f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #5 0x00007f55b82a4c6b in QEventDispatcherGlib::processEvents (this=0x7f5578000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #6 0x00007f55b824cbfb in QEventLoop::exec (this=this@entry=0x7f5593599ae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #7 0x00007f55b807762e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #8 0x00007f55b80786f8 in QThreadPrivate::start (arg=0x5574bceb9ed0) at thread/qthread_unix.cpp:342 #9 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #10 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 9 (Thread 0x7f559d7fa700 (LWP 3398)): #0 0x00007f55b667b49f in g_source_ref () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f55b667b548 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f55b667c7c3 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f55b667d22b in ?? () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f55b667d41f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #5 0x00007f55b82a4c6b in QEventDispatcherGlib::processEvents (this=0x7f5574000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #6 0x00007f55b824cbfb in QEventLoop::exec (this=this@entry=0x7f559d7f9ae0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #7 0x00007f55b807762e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #8 0x00007f55b80786f8 in QThreadPrivate::start (arg=0x5574bce97030) at thread/qthread_unix.cpp:342 #9 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #10 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f559dffb700 (LWP 3397)): #0 0x00007f55b757b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f55a49db28b in ?? () from /usr/lib64/dri/r600_dri.so #2 0x00007f55a49db1c7 in ?? () from /usr/lib64/dri/r600_dri.so #3 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #4 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f559e7fc700 (LWP 3396)): #0 0x00007f55b757b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f55a49db28b in ?? () from /usr/lib64/dri/r600_dri.so #2 0x00007f55a49db1c7 in ?? () from /usr/lib64/dri/r600_dri.so #3 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #4 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f559effd700 (LWP 3395)): #0 0x00007f55b757b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f55a49db28b in ?? () from /usr/lib64/dri/r600_dri.so #2 0x00007f55a49db1c7 in ?? () from /usr/lib64/dri/r600_dri.so #3 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #4 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f559f7fe700 (LWP 3394)): #0 0x00007f55b757b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f55a49db28b in ?? () from /usr/lib64/dri/r600_dri.so #2 0x00007f55a49db1c7 in ?? () from /usr/lib64/dri/r600_dri.so #3 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #4 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f559ffff700 (LWP 3393)): #0 0x00007f55b757b795 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f55a49db28b in ?? () from /usr/lib64/dri/r600_dri.so #2 0x00007f55a49db1c7 in ?? () from /usr/lib64/dri/r600_dri.so #3 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #4 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f55a6299700 (LWP 3389)): #0 0x00007f55b667b49f in g_source_ref () from /usr/lib64/libglib-2.0.so.0 #1 0x00007f55b667b548 in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f55b667c7c3 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f55b667d22b in ?? () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f55b667d41f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #5 0x00007f55b82a4c6b in QEventDispatcherGlib::processEvents (this=0x7f5598000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #6 0x00007f55b824cbfb in QEventLoop::exec (this=this@entry=0x7f55a6298ab0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #7 0x00007f55b807762e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #8 0x00007f55b94af507 in ?? () from /usr/lib64/libQt5DBus.so.5 #9 0x00007f55b80786f8 in QThreadPrivate::start (arg=0x7f55b9531da0) at thread/qthread_unix.cpp:342 #10 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #11 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f55a704d700 (LWP 3385)): #0 0x00007f55b9fd4acf in poll () from /lib64/libc.so.6 #1 0x00007f55b73c1772 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007f55b73c243a in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f55a71c6ab0 in ?? () from /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007f55b80786f8 in QThreadPrivate::start (arg=0x5574bcc06fd0) at thread/qthread_unix.cpp:342 #5 0x00007f55b7574efa in start_thread () from /lib64/libpthread.so.0 #6 0x00007f55b9fdf3bf in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f55a906eac0 (LWP 3384)): [KCrash Handler] #6 QHash<QByteArray, Akonadi::Attribute*>::findNode (this=this@entry=0x40, akey=..., ahp=ahp@entry=0x0) at /usr/include/qt5/QtCore/qhash.h:949 #7 0x00007f55b9b4b0db in QHash<QByteArray, Akonadi::Attribute*>::contains (akey=..., this=0x40) at /usr/include/qt5/QtCore/qhash.h:922 #8 Akonadi::AttributeStorage::hasAttribute (this=0x40, type=...) at /usr/src/debug/akonadi-server-19.12.2-1.2.x86_64/src/core/attributestorage.cpp:82 #9 0x00007f55b9cbf30e in Akonadi::Collection::hasAttribute<Akonadi::SpecialCollectionAttribute> (this=0x5574bd11a3e0) at /usr/include/qt5/QtCore/qarraydata.h:257 #10 (anonymous namespace)::sortCollectionsForSync (l=..., r=...) at /usr/src/debug/akonadi-server-19.12.2-1.2.x86_64/src/agentbase/resourcebase.cpp:911 #11 0x00007f55b9ca8ba2 in __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)>::operator()<QTypedArrayData<Akonadi::Collection>::iterator, QTypedArrayData<Akonadi::Collection>::iterator> (this=<synthetic pointer>, __it2=..., __it1=...) at /usr/include/c++/9/bits/predefined_ops.h:143 #12 std::__unguarded_partition<QTypedArrayData<Akonadi::Collection>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> > (__comp=..., __pivot=..., __last=..., __first=...) at /usr/include/c++/9/bits/stl_algo.h:1904 #13 std::__unguarded_partition_pivot<QTypedArrayData<Akonadi::Collection>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/9/bits/stl_algo.h:1922 #14 std::__introsort_loop<QTypedArrayData<Akonadi::Collection>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> >(QTypedArrayData<Akonadi::Collection>::iterator, QTypedArrayData<Akonadi::Collection>::iterator, int, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)>) [clone .constprop.0] (__first=..., __last=..., __depth_limit=<optimized out>, __depth_limit@entry=16, __comp=__comp@entry=...) at /usr/include/c++/9/bits/stl_algo.h:1951 #15 0x00007f55b9cc1767 in std::__sort<QTypedArrayData<Akonadi::Collection>::iterator, __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> > (__comp=..., __last=..., __first=...) at /usr/include/c++/9/bits/stl_algo.h:1962 #16 std::sort<QTypedArrayData<Akonadi::Collection>::iterator, bool (*)(Akonadi::Collection const&, Akonadi::Collection const&)> (__first=..., __last=..., __comp=0x7f55b9cbf1f0 <(anonymous namespace)::sortCollectionsForSync(Akonadi::Collection const&, Akonadi::Collection const&)>) at /usr/include/c++/9/bits/stl_algo.h:4897 #17 Akonadi::ResourceBasePrivate::slotLocalListDone (this=0x5574bcea40e0, job=<optimized out>) at /usr/src/debug/akonadi-server-19.12.2-1.2.x86_64/src/agentbase/resourcebase.cpp:951 #18 0x00007f55b9cb7346 in Akonadi::ResourceBase::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/akonadi-server-19.12.2-1.2.x86_64/src/agentbase/resourcebase.h:853 #19 0x00007f55b8282a90 in doActivate<false> (sender=0x5574bcfeaca0, signal_index=6, argv=0x7ffd74b9a8e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:391 #20 0x00007f55b827d21f in QMetaObject::activate (sender=sender@entry=0x5574bcfeaca0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd74b9a8e0) at kernel/qobject.cpp:3930 #21 0x00007f55b9742b1c in KJob::result (this=this@entry=0x5574bcfeaca0, _t1=<optimized out>, _t1@entry=0x5574bcfeaca0, _t2=...) at /usr/src/debug/kcoreaddons-5.67.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:574 #22 0x00007f55b9743d03 in KJob::finishJob (this=0x5574bcfeaca0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.67.0-1.1.x86_64/src/lib/jobs/kjob.cpp:107 #23 0x00007f55b827aa79 in QObject::event (this=0x5574bcfeaca0, e=0x5574bd113f00) at kernel/qobject.cpp:1339 #24 0x00007f55b8f19caf in QApplicationPrivate::notify_helper (this=this@entry=0x5574bcbdf2f0, receiver=receiver@entry=0x5574bcfeaca0, e=e@entry=0x5574bd113f00) at kernel/qapplication.cpp:3684 #25 0x00007f55b8f22df0 in QApplication::notify (this=0x7ffd74b9af80, receiver=0x5574bcfeaca0, e=0x5574bd113f00) at kernel/qapplication.cpp:3430 #26 0x00007f55b824e062 in QCoreApplication::notifyInternal2 (receiver=0x5574bcfeaca0, event=0x5574bd113f00) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:153 #27 0x00007f55b82507f4 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5574bcbd5100) at kernel/qcoreapplication.cpp:1832 #28 0x00007f55b82a55d3 in postEventSourceDispatch (s=0x5574bccb3170) at kernel/qeventdispatcher_glib.cpp:277 #29 0x00007f55b667d008 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f55b667d390 in ?? () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f55b667d41f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f55b82a4c4e in QEventDispatcherGlib::processEvents (this=0x5574bccbe8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #33 0x00007f55b824cbfb in QEventLoop::exec (this=this@entry=0x7ffd74b9ae90, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136 #34 0x00007f55b82549d2 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118 #35 0x00007f55b9cbe1ae in Akonadi::ResourceBase::init (r=...) at /usr/include/qt5/QtCore/qcoreapplication.h:116 #36 0x00005574bc589ed9 in Akonadi::ResourceBase::init<ImapResource> (argv=<optimized out>, argc=<optimized out>) at /usr/src/debug/kdepim-runtime-19.12.2-1.2.x86_64/resources/imap/sessionpool.cpp:498 #37 main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-runtime-19.12.2-1.2.x86_64/resources/imap/main.cpp:22 [Inferior 1 (process 3384) detached] -- You are receiving this mail because: You are watching all bug changes.