Bug 354982

Summary: akonadi collection crashed
Product: [Frameworks and Libraries] Akonadi Reporter: Sascha Manns <Sascha.Manns>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugzilla_mail, dvratil, kdepim-bugs, vkrause
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sascha Manns 2015-11-07 11:43:12 UTC
Application: akonadi_imap_resource (4.89.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-16-generic x86_64
Distribution: Ubuntu 15.10

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

I added a IMAP-Account, then i just clicked on my Inbox inside my Kontact Application.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi-Ressource (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 0x7f7927d33840 (LWP 15593))]

Thread 4 (Thread 0x7f7911e7c700 (LWP 15594)):
#0  0x00007f7922af88dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f791e23ebd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f791e24074f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f7913dfda39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f792340f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f791e4646aa in start_thread (arg=0x7f7911e7c700) at pthread_create.c:333
#6  0x00007f7922b03eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f7900fec700 (LWP 15603)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f79024c74da in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007f79024c6c17 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007f791e4646aa in start_thread (arg=0x7f7900fec700) at pthread_create.c:333
#4  0x00007f7922b03eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f790b0fc700 (LWP 15604)):
#0  0x00007f7922af449d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f791d9324e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f791d8eecd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f791d8ef190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f791d8ef2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f792364629b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f79235ec75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f792340a3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f792340f2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f791e4646aa in start_thread (arg=0x7f790b0fc700) at pthread_create.c:333
#10 0x00007f7922b03eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f7927d33840 (LWP 15593)):
[KCrash Handler]
#6  0x00007f7926a9c760 in KIMAP::ExpungeJob::handleResponse(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#7  0x00007f7926ad341b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#8  0x00007f7923620651 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f7923f4eb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f7923f54230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f79235eef1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f79235f1057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f7923645e73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f791d8eeff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f791d8ef250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f791d8ef2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f792364627f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f79235ec75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f79235f42cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f79265cc21a in Akonadi::ResourceBase::init (r=r@entry=0xf98090) at ../../../../akonadi/src/agentbase/resourcebase.cpp:602
#21 0x000000000043eaf3 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:193
#22 0x00007f7922a1da40 in __libc_start_main (main=0x43e950 <main(int, char**)>, argc=3, argv=0x7ffc09b827d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc09b827c8) at libc-start.c:289
#23 0x000000000043e9b9 in _start ()

Possible duplicates by query: bug 330295.

Reported using DrKonqi
Comment 1 Bron Mach 2015-11-09 22:57:53 UTC
Got similar looking stack trace when moving 3000+ messages from IMAP inbox to "Local Folders" inbox.

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 0x7f8231639840 (LWP 1957))]

Thread 4 (Thread 0x7f822eb48700 (LWP 1968)):
#0  0x00007f8240f7e8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f823c745bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f823c74774f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f82312dfa39 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4  0x00007f82418882be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f823c9646aa in start_thread (arg=0x7f822eb48700) at pthread_create.c:333
#6  0x00007f8240f89eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f82255cb700 (LWP 3499)):
#0  0x00007f8240f7e8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f823be071ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f823be072fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8241abf29b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8241a6575a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f82418833d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f82418882be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f823c9646aa in start_thread (arg=0x7f82255cb700) at pthread_create.c:333
#8  0x00007f8240f89eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f8227bb6700 (LWP 3509)):
#0  0x00007f8240f7a49d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8238667f75 in ?? () from /usr/lib/nvidia-352/tls/libnvidia-tls.so.352.41
#2  0x00007f823be4a4e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f823be06cd4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f823be07190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f823be072fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f8241abf29b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8241a6575a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f82418833d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f82418882be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f823c9646aa in start_thread (arg=0x7f8227bb6700) at pthread_create.c:333
#11 0x00007f8240f89eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f8231639840 (LWP 1957)):
[KCrash Handler]
#6  0x00007f8244ec8760 in KIMAP::ExpungeJob::handleResponse(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#7  0x00007f8244eff41b in KIMAP::SessionPrivate::responseReceived(KIMAP::Message const&) () from /usr/lib/x86_64-linux-gnu/libKF5IMAP.so.5
#8  0x00007f8241a99651 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f82423b6b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007f82423bc230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007f8241a67f1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f8241a6a057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f8241abee73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f823be06ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f823be07250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f823be072fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f8241abf27f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f8241a6575a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f8241a6d2cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f8244a0021a in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#21 0x000000000043eaf3 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#22 0x00007f8240ea3a40 in __libc_start_main (main=0x43e950 <main>, argc=3, argv=0x7fff7371f2e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7371f2d8) at libc-start.c:289
#23 0x000000000043e9b9 in _start ()
Comment 2 Daniel Vrátil 2017-01-07 13:42:36 UTC

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