Bug 349800 - Akonadi IMAP resource crashes when refreshing folders in KMail while search folder is open
Summary: Akonadi IMAP resource crashes when refreshing folders in KMail while search f...
Status: RESOLVED DUPLICATE of bug 351850
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-01 20:45 UTC by styleling
Modified: 2016-03-21 23:54 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (5.15 KB, text/plain)
2015-09-02 16:42 UTC, yo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description styleling 2015-07-01 20:45:33 UTC
Application: akonadi_imap_resource (4.14)
KDE Platform Version: 4.14.9
Qt Version: 4.8.7
Operating System: Linux 4.0.7-2-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
1) Updated multiple synchronized folders in email account
2) Created a new search folder
3) Opened another search folder, and updated it

The segmentation fault occurred about a minute after this, while the synchronized folders were updating.

-- Backtrace:
Application: mr@henrytian.com of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f296c42d780 (LWP 2473))]

Thread 3 (Thread 0x7f29588b4700 (LWP 2528)):
#0  0x00007f2967bece8d in poll () from /usr/lib/libc.so.6
#1  0x00007f2967212c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f2967212d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f296bf4c066 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f296bf1a5c1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f296bf1a935 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f296be09039 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f296be0b92c in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f29678f8354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f2967bf5bfd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f2951f67700 (LWP 2540)):
#0  0x00007f296720fca5 in ?? () from /usr/lib/libglib-2.0.so.0
#1  0x00007f29672125af in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0x00007f2967212c20 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f2967212d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f296bf4c066 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f296bf1a5c1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f296bf1a935 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f296be09039 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007f296be0b92c in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f29678f8354 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f2967bf5bfd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f296c42d780 (LWP 2473)):
[KCrash Handler]
#6  0x00007f296ac648e5 in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#7  0x00007f296ac53a6e in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#8  0x00007f296bf35bc1 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#9  0x00007f296b26613c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f296b26cf96 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f296909e85a in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#12 0x00007f296bf1bd4d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#13 0x00007f296bf1f1d6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#14 0x00007f296bf4bef3 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f29672129fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007f2967212ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007f2967212d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#18 0x00007f296bf4c044 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#19 0x00007f296b30f156 in ?? () from /usr/lib/libQtGui.so.4
#20 0x00007f296bf1a5c1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007f296bf1a935 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f296bf202e9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#23 0x00007f296a1bed8d in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#24 0x0000000000418d9e in ?? ()
#25 0x00007f2967b2e790 in __libc_start_main () from /usr/lib/libc.so.6
#26 0x0000000000418c49 in _start ()

Possible duplicates by query: bug 348365, bug 348319, bug 345748, bug 345229, bug 344828.

Reported using DrKonqi
Comment 1 yo 2015-09-02 16:42:56 UTC
Created attachment 94350 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.14) on KDE Platform 4.14.8 using Qt 4.8.6

- What I was doing when the application crashed:

This happens periodically (close to 10 mins) with them.

-- Backtrace (Reduced):
#6  0x00007f6c269c2f9d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#7  0x00007f6c269b3fbb in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/libkimap.so.4
#8  0x00007f6c28dd88e1 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f6c281069bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f6c2810d4d8 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Comment 2 Jan Binder 2015-12-19 00:03:09 UTC
Still present in libkf5imap from kde applications 15.08.2:

Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f840895c940 (LWP 3840))]

Thread 4 (Thread 0x7f8407429700 (LWP 3851)):
#0  0x00007f841830286d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8413a5d382 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8413a5eff7 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f840871f569 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f8418bfd87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8413c7c284 in start_thread (arg=0x7f8407429700) at pthread_create.c:333
#6  0x00007f841830b74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f83fffff700 (LWP 3979)):
#0  0x00007f8412f3ea14 in g_mutex_unlock (mutex=0x7f83f8000990) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gthread-posix.c:1350
#1  0x00007f8412ef9880 in g_main_context_prepare (context=context@entry=0x7f83f8000990, priority=priority@entry=0x7f83ffffeb50) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3440
#2  0x00007f8412efa22b in g_main_context_iterate (context=context@entry=0x7f83f8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3820
#3  0x00007f8412efa40c in g_main_context_iteration (context=0x7f83f8000990, may_block=1) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3901
#4  0x00007f8418e3539b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8418ddc35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8418bf88d4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8418bfd87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8413c7c284 in start_thread (arg=0x7f83fffff700) at pthread_create.c:333
#9  0x00007f841830b74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f83f5325700 (LWP 4079)):
#0  0x00007f841830286d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8412efa2fc in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f83ec003020, timeout=<optimized out>, context=0x7f83ec000990) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:4135
#2  0x00007f8412efa2fc in g_main_context_iterate (context=context@entry=0x7f83ec000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3835
#3  0x00007f8412efa40c in g_main_context_iteration (context=0x7f83ec000990, may_block=1) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3901
#4  0x00007f8418e3539b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8418ddc35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8418bf88d4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8418bfd87e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f8413c7c284 in start_thread (arg=0x7f83f5325700) at pthread_create.c:333
#9  0x00007f841830b74d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f840895c940 (LWP 3840)):
[KCrash Handler]
#6  0x00007f841c2f347d in KIMAP::SearchJob::handleResponse(KIMAP::Message const&) () at /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#7  0x00007f841c2fae5b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () at /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#8  0x00007f8418e0e601 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f8419750ffc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f84197564c6 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f8418ddebcb in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f8418de0fc6 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f8418e34f73 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f8412efa107 in g_main_context_dispatch (context=0x7f84000016f0) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3154
#15 0x00007f8412efa107 in g_main_context_dispatch (context=context@entry=0x7f84000016f0) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3769
#16 0x00007f8412efa360 in g_main_context_iterate (context=context@entry=0x7f84000016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3840
#17 0x00007f8412efa40c in g_main_context_iteration (context=0x7f84000016f0, may_block=1) at /build/glib2.0-F6SQOr/glib2.0-2.47.3/./glib/gmain.c:3901
#18 0x00007f8418e3537f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f8418ddc35a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f8418de443c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f841bdf4dea in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#22 0x000000000043f753 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#23 0x00007f8418243870 in __libc_start_main (main=0x43f5b0 <main>, argc=3, argv=0x7ffd916f2828, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd916f2818) at libc-start.c:291
#24 0x000000000043f619 in _start ()
Comment 3 Daniel Vrátil 2016-03-21 23:54:18 UTC

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