https://bugs.kde.org/show_bug.cgi?id=356758
Bug ID: 356758 Summary: IMAP Resource crash Product: Akonadi Version: 4.13 Platform: openSUSE RPMs OS: Linux Status: UNCONFIRMED Severity: grave Priority: NOR Component: IMAP resource Assignee: chrig...@fastmail.fm Reporter: otter...@gmail.com CC: kdepim-b...@kde.org, vkra...@kde.org Application: akonadi_imap_resource (4.89.0) Qt Version: 5.5.0 Operating System: Linux 4.1.13-5-default x86_64 Distribution: "openSUSE Leap 42.1 (x86_64)" -- Information about the crash: One IMAP out of three will not start syncing at Kmail startup. I use Akonadiconsole to go "offline" and then "online", "restart" and then "sync all" to update this resource. Today it has bben crashing like this. The IMAP resource is a Gmail account. The crash can be reproduced every time. -- Backtrace: Application: Akonadi Resource (akonadi_imap_resource), signal: Aborted Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f3c2a7fa840 (LWP 31452))] Thread 3 (Thread 0x7f3c11a6a700 (LWP 31453)): #0 0x00007f3c24917c1d in poll () at /lib64/libc.so.6 #1 0x00007f3c1f881422 in () at /usr/lib64/libxcb.so.1 #2 0x00007f3c1f88300f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1 #3 0x00007f3c13dc6c29 in () at /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007f3c2522555f in () at /usr/lib64/libQt5Core.so.5 #5 0x00007f3c1fa9e0a4 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f3c2492004d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f3c0afc7700 (LWP 31456)): #0 0x00007f3c24917c1d in poll () at /lib64/libc.so.6 #1 0x00007f3c1e8ede64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f3c1e8edf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f3c25456a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f3c253fda63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f3c2522084a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f3c2522555f in () at /usr/lib64/libQt5Core.so.5 #7 0x00007f3c1fa9e0a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007f3c2492004d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f3c2a7fa840 (LWP 31452)): [KCrash Handler] #6 0x00007f3c24870187 in raise () at /lib64/libc.so.6 #7 0x00007f3c24871538 in abort () at /lib64/libc.so.6 #8 0x00007f3c24e8fb8d in __gnu_cxx::__verbose_terminate_handler() () at /usr/lib64/libstdc++.so.6 #9 0x00007f3c24e8dbf6 in () at /usr/lib64/libstdc++.so.6 #10 0x00007f3c24e8dc41 in () at /usr/lib64/libstdc++.so.6 #11 0x00007f3c24e8dea6 in __cxa_rethrow () at /usr/lib64/libstdc++.so.6 #12 0x0000000000466a86 in QList<long long>::append(long long const&) (this=this@entry=0x7ffdc6cae120, t=@0x7ffdc6cae080: 134217470) at /usr/include/qt5/QtCore/qlist.h:574 #13 0x000000000046333b in MoveItemsTask::imapSetToList(KIMAP::ImapSet const&) (t=@0x7ffdc6cae080: 134217470, this=0x7ffdc6cae120) at /usr/include/qt5/QtCore/qlist.h:355 #14 0x000000000046333b in MoveItemsTask::imapSetToList(KIMAP::ImapSet const&) (this=this@entry=0x15709f0, set=...) at /usr/src/debug/kdepim-runtime-15.08.3/resources/imap/moveitemstask.cpp:313 #15 0x00000000004637bd in MoveItemsTask::recordNewUid() (this=this@entry=0x15709f0) at /usr/src/debug/kdepim-runtime-15.08.3/resources/imap/moveitemstask.cpp:255 #16 0x000000000046423b in MoveItemsTask::onStoreFlagsDone(KJob*) (this=0x15709f0, job=0x1478870) at /usr/src/debug/kdepim-runtime-15.08.3/resources/imap/moveitemstask.cpp:180 #17 0x00007f3c2542f40f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #18 0x00007f3c272b3d32 in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib64/libKF5CoreAddons.so.5 #19 0x00007f3c272b459f in KJob::finishJob(bool) () at /usr/lib64/libKF5CoreAddons.so.5 #20 0x00007f3c29407b98 in KIMAP::Job::handleErrorReplies(KIMAP::Message const&) () at /usr/lib64/libKF5IMAP.so.5 #21 0x00007f3c29432c22 in KIMAP::StoreJob::handleResponse(KIMAP::Message const&) () at /usr/lib64/libKF5IMAP.so.5 #22 0x00007f3c29425eba in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () at /usr/lib64/libKF5IMAP.so.5 #23 0x00007f3c25430796 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5 #24 0x00007f3c26363e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #25 0x00007f3c26368cd8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #26 0x00007f3c253ffba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #27 0x00007f3c25401d67 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5 #28 0x00007f3c254575c3 in () at /usr/lib64/libQt5Core.so.5 #29 0x00007f3c1e8edc84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #30 0x00007f3c1e8eded8 in () at /usr/lib64/libglib-2.0.so.0 #31 0x00007f3c1e8edf7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #32 0x00007f3c25456a3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #33 0x00007f3c253fda63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #34 0x00007f3c254055d6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #35 0x00007f3c28f272aa in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) (r=r@entry=0xc252a0) at /usr/src/debug/kdepimlibs-15.08.3/akonadi/src/agentbase/resourcebase.cpp:602 #36 0x0000000000443198 in Akonadi::ResourceBase::init<ImapResource>(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193 #37 0x00007f3c2485cb05 in __libc_start_main () at /lib64/libc.so.6 #38 0x0000000000443077 in _start () at ../sysdeps/x86_64/start.S:122 Report to https://bugs.kde.org/ Reproducible: Always Steps to Reproduce: 1. Open Kmail 2. 3. Actual Results: the particular IMAP resource will not sync after initial sync. Have to use Akonadiconsole to go off and then online, restart agent and the sync all. Expected Results: Normal operation of emails syncing to any and all IMAP accounts the IMAP accounts are gmail accounts -- You are receiving this mail because: You are watching all bug changes.