Bug 345748

Summary: IMAP Crash Checking Gmail
Product: [Frameworks and Libraries] Akonadi Reporter: Garry Williams <gtwilliams>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED DUPLICATE    
Severity: crash CC: arthur, auxsvr, clearmartin, dvratil, jan_braun, kdepim-bugs, microcaicai, vkrause
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Garry Williams 2015-04-01 09:31:36 UTC
Application: akonadi_imap_resource (4.14)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.1-201.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

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

Just started Kmail after reboot.

The crash was ocurring every time I checked mail before reboot.

The crash can be reproduced every time.

-- Backtrace:
Application: Google Mail of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f15fa57b880 (LWP 1730))]

Thread 3 (Thread 0x7f15d7fff700 (LWP 1832)):
#0  0x00007f15f5400c8d in poll () from /lib64/libc.so.6
#1  0x00007f15f411ab34 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f15f411ac4c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f15f99224be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x00007f15f98f1cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00007f15f98f2025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00007f15f97e6b49 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x00007f15f97e93af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x00007f15f955852a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f15f540c22d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f15dd357700 (LWP 1841)):
#0  0x00007f15f411a0f0 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x00007f15f411aa5b in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f15f411ac4c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f15f99224be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x00007f15f98f1cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00007f15f98f2025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00007f15f97e6b49 in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x00007f15f97e93af in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x00007f15f955852a in start_thread () from /lib64/libpthread.so.0
#9  0x00007f15f540c22d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f15fa57b880 (LWP 1730)):
[KCrash Handler]
#6  0x00007f15f82e47ed in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /lib64/libkimap.so.4
#7  0x00007f15f82d588b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /lib64/libkimap.so.4
#8  0x00007f15f990c3d1 in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#9  0x00007f15f8a2aefc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#10 0x00007f15f8a31958 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#11 0x00007f15f688cc6a in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#12 0x00007f15f98f316d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#13 0x00007f15f98f6431 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#14 0x00007f15f992232e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#15 0x00007f15f411a7fb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#16 0x00007f15f411ab98 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#17 0x00007f15f411ac4c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#18 0x00007f15f992249e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#19 0x00007f15f8ace176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#20 0x00007f15f98f1cc1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#21 0x00007f15f98f2025 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#22 0x00007f15f98f7709 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#23 0x00007f15fa06dddc in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /lib64/libakonadi-kde.so.4
#24 0x0000000000418c3e in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#25 0x00007f15f532bfe0 in __libc_start_main () from /lib64/libc.so.6
#26 0x0000000000418ae4 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 341860.

Possible duplicates by query: bug 345229, bug 344828, bug 344805, bug 344340, bug 344271.

Reported using DrKonqi
Comment 1 microcai 2015-05-07 10:48:25 UTC
Created attachment 92476 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.14) on KDE Platform 4.14.7 using Qt 4.8.6

- What I was doing when the application crashed:
nothing,  imap sync just triggered by the sync timer

-- Backtrace (Reduced):
#5  0x00007f9b63ee1ead in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib64/libkimap.so.4
#6  0x00007f9b63ecc497 in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib64/libkimap.so.4
#7  0x00007f9b652cc831 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f9b644f030c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#9  0x00007f9b644f8d6c in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
Comment 2 auxsvr 2015-05-19 17:14:06 UTC
Created attachment 92714 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.14) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:

Kontact was checking email from a Gmail account.

-- Backtrace (Reduced):
#5  0x00007f176608b64d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () at /usr/lib64/libkimap.so.4
#6  0x00007f176607bddc in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () at /usr/lib64/libkimap.so.4
#7  0x00007f176843b59e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#8  0x00007f17677bc76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#9  0x00007f17677c2cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
Comment 3 Jan-Matthias Braun 2015-09-19 20:25:31 UTC
Could be a duplicate of 341860
Comment 4 Martin Kostolný 2015-11-23 07:05:54 UTC
I have the same issue. It even persists after reboot. It often helps to change connectivity (e.g. disconnect cable or wifi and connect with mobile internet connection). But it happens in various places - home and work - different ISP. This bug is triggered with new incomming e-mails available in remote IMAP server.

Once I have the time, I'll compile everything with debug symbols and try to provide a better stack trace.

I have Plasma 5.4.3, KF 5.16, KDE Applications 15.08.3, Qt 5.5.1
'akonadictl --version' yields 5.0.51
Comment 5 Daniel Vrátil 2016-03-21 23:53:26 UTC

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