Bug 363390

Summary: Akonadi randomly crashes
Product: [Frameworks and Libraries] Akonadi Reporter: Steve <steverav>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dvratil, kdepim-bugs, m.demarco83, vkrause
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Mageia RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Steve 2016-05-22 05:59:58 UTC
Application: akonadi_imap_resource (4.14)
KDE Platform Version: 4.14.5
Qt Version: 4.8.6
Operating System: Linux 4.1.15-server-2.mga5 i686
Distribution: "Mageia 5"

-- Information about the crash:
- What I was doing when the application crashed:
nothing particular, now I am using libreoffice and crashes, it crashes with or without kmail open, or when no application other than KDE are open.

The crash can be reproduced every time.

-- Backtrace:
Application: Google Mail (steverav) di tipo Server di posta IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/i686/libthread_db.so.1".
[Current thread is 1 (Thread 0xb4387740 (LWP 6992))]

Thread 3 (Thread 0xb15c6b40 (LWP 7023)):
#0  0xffffffff in __kernel_vsyscall ()
#1  0xffffffff in poll () at /lib/i686/libc.so.6
#2  0xffffffff in g_poll () at /lib/libglib-2.0.so.0
#3  0xffffffff in g_main_context_iterate.isra () at /lib/libglib-2.0.so.0
#4  0xffffffff in g_main_context_iteration () at /lib/libglib-2.0.so.0
#5  0xffffffff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#6  0xffffffff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#7  0xffffffff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#8  0xffffffff in QThread::exec() () at /lib/libQtCore.so.4
#9  0xffffffff in QThread::run() () at /lib/libQtCore.so.4
#10 0xffffffff in QThreadPrivate::start(void*) () at /lib/libQtCore.so.4
#11 0xffffffff in start_thread () at /lib/i686/libpthread.so.0
#12 0xffffffff in clone () at /lib/i686/libc.so.6

Thread 2 (Thread 0xafdffb40 (LWP 7025)):
#0  0xffffffff in __kernel_vsyscall ()
#1  0xffffffff in poll () at /lib/i686/libc.so.6
#2  0xffffffff in g_poll () at /lib/libglib-2.0.so.0
#3  0xffffffff in g_main_context_iterate.isra () at /lib/libglib-2.0.so.0
#4  0xffffffff in g_main_context_iteration () at /lib/libglib-2.0.so.0
#5  0xffffffff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#6  0xffffffff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#7  0xffffffff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#8  0xffffffff in QThread::exec() () at /lib/libQtCore.so.4
#9  0xffffffff in QThread::run() () at /lib/libQtCore.so.4
#10 0xffffffff in QThreadPrivate::start(void*) () at /lib/libQtCore.so.4
#11 0xffffffff in start_thread () at /lib/i686/libpthread.so.0
#12 0xffffffff in clone () at /lib/i686/libc.so.6

Thread 1 (Thread 0xb4387740 (LWP 6992)):
[KCrash Handler]
#6  0xffffffff in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () at /lib/libkimap.so.4
#7  0xffffffff in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () at /lib/libkimap.so.4
#8  0xffffffff in KIMAP::SessionPrivate::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.41] () at /lib/libkimap.so.4
#9  0xffffffff in QMetaCallEvent::placeMetaCall(QObject*) () at /lib/libQtCore.so.4
#10 0xffffffff in QObject::event(QEvent*) () at /lib/libQtCore.so.4
#11 0xffffffff in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/libQtGui.so.4
#12 0xffffffff in QApplication::notify(QObject*, QEvent*) () at /lib/libQtGui.so.4
#13 0xffffffff in KApplication::notify(QObject*, QEvent*) () at /lib/libkdeui.so.5
#14 0xffffffff in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib/libQtCore.so.4
#15 0xffffffff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/libQtCore.so.4
#16 0xffffffff in QCoreApplication::sendPostedEvents(QObject*, int) () at /lib/libQtCore.so.4
#17 0xffffffff in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib/libQtCore.so.4
#18 0xffffffff in g_main_context_dispatch () at /lib/libglib-2.0.so.0
#19 0xffffffff in g_main_context_iterate.isra () at /lib/libglib-2.0.so.0
#20 0xffffffff in g_main_context_iteration () at /lib/libglib-2.0.so.0
#21 0xffffffff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#22 0xffffffff in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtGui.so.4
#23 0xffffffff in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#24 0xffffffff in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#25 0xffffffff in QCoreApplication::exec() () at /lib/libQtCore.so.4
#26 0xffffffff in QApplication::exec() () at /lib/libQtGui.so.4
#27 0xffffffff in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () at /lib/libakonadi-kde.so.4
#28 0x0805b7c3 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#29 0x0805b0fb in main ()

Possible duplicates by query: bug 361638, bug 361410, bug 361265, bug 356779, bug 356387.

Reported using DrKonqi
Comment 1 s0nny 2016-06-21 19:21:37 UTC
Created attachment 99651 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.14) on KDE Platform 4.14.2 using Qt 4.8.6

Akonadi crash every 5 minutes. Please fix ASAP because this is really annoying.

-- Backtrace (Reduced):
#6  0x00007f56ab03e9bd in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#7  0x00007f56ab02f94b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#8  0x00007f56ad46ee11 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f56ac7a648c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f56ac7acfa8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Comment 2 Daniel Vrátil 2016-07-20 21:25:47 UTC

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