Bug 305936

Summary: akonadi_imap_resource (KDE 4.9.0, Kubuntu 12.04, 64 bit) has crashed on shutdown
Product: [Frameworks and Libraries] Akonadi Reporter: Thomas Dreibholz <dreibh>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Dreibholz 2012-08-28 17:39:20 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

akonadi_imap_resource (KDE 4.9.0, Kubuntu 12.04, 64 bit) has crashed on shutdown.

-- Backtrace:
Application: Google Mail vom Typ IMAP-E-Mail-Server (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 0x7f75409fd780 (LWP 2475))]

Thread 9 (Thread 0x7f752d106700 (LWP 2587)):
#0  0x00007f753c3a80bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f753af308cf in read (__nbytes=16, __buf=0x7f752d105c60, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x25addc0) at /build/buildd/glib2.0-2.32.3/./glib/gwakeup.c:212
#3  0x00007f753aef5ba4 in g_main_context_check (context=0x7f75280009a0, max_priority=2147483647, fds=0x7f752800e090, n_fds=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2980
#4  0x00007f753aef5fd6 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f75280009a0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3143
#5  g_main_context_iterate (context=0x7f75280009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#6  0x00007f753aef6164 in g_main_context_iteration (context=0x7f75280009a0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#7  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f75280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f752d105de0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x27cb560) at ../../kimap/sessionthread.cpp:181
#12 0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x27cb560) at thread/qthread_unix.cpp:298
#13 0x00007f753ba11e9a in start_thread (arg=0x7f752d106700) at pthread_create.c:308
#14 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f75269d6700 (LWP 1929)):
#0  g_mutex_get_impl (mutex=0x7f75180009a0) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:121
#1  0x00007f753af31599 in g_mutex_lock (mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:208
#2  0x00007f753aef51df in g_main_context_acquire (context=0x7f75180009a0) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2624
#3  0x00007f753aef5f04 in g_main_context_iterate (context=0x7f75180009a0, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3096
#4  0x00007f753aef6164 in g_main_context_iteration (context=0x7f75180009a0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f75180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f75269d5de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x2789950) at ../../kimap/sessionthread.cpp:181
#10 0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x2789950) at thread/qthread_unix.cpp:298
#11 0x00007f753ba11e9a in start_thread (arg=0x7f75269d6700) at pthread_create.c:308
#12 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f752c905700 (LWP 9466)):
#0  0x00007f753aef537e in g_main_context_release (context=0x7f7520003390) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2682
#1  0x00007f753aef5fe9 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f7520003390, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3148
#2  g_main_context_iterate (context=0x7f7520003390, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#3  0x00007f753aef6164 in g_main_context_iteration (context=0x7f7520003390, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#4  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f7520006d40, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f752c904de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x27f34c0) at ../../kimap/sessionthread.cpp:181
#9  0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x27f34c0) at thread/qthread_unix.cpp:298
#10 0x00007f753ba11e9a in start_thread (arg=0x7f752c905700) at pthread_create.c:308
#11 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f75259d4700 (LWP 32282)):
#0  0x00007f753ba1505d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f7510000a60) at pthread_mutex_unlock.c:290
#2  0x00007f753af315d1 in g_mutex_unlock (mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:227
#3  0x00007f753aef602a in g_main_context_poll (n_fds=1, fds=0x7f7510005de0, timeout=-1, context=0x7f75100009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3439
#4  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f75100009a0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#5  g_main_context_iterate (context=0x7f75100009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#6  0x00007f753aef6164 in g_main_context_iteration (context=0x7f75100009a0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#7  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f75100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f75259d3de0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x27e3730) at ../../kimap/sessionthread.cpp:181
#12 0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x27e3730) at thread/qthread_unix.cpp:298
#13 0x00007f753ba11e9a in start_thread (arg=0x7f75259d4700) at pthread_create.c:308
#14 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f75251d3700 (LWP 32237)):
#0  0x00007f753af31325 in g_mutex_get_impl (mutex=0x7f7504008140) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:118
#1  0x00007f753af315c9 in g_mutex_unlock (mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:227
#2  0x00007f753aef598b in g_main_context_query (context=0x7f7504008140, max_priority=2147483647, timeout=0x7f75251d2ccc, fds=<optimized out>, n_fds=3) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:2941
#3  0x00007f753aef5faa in g_main_context_iterate (dispatch=1, block=1, context=0x7f7504008140, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3128
#4  g_main_context_iterate (context=0x7f7504008140, block=1, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#5  0x00007f753aef6164 in g_main_context_iteration (context=0x7f7504008140, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#6  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f7504008060, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f75251d2de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x27f1d00) at ../../kimap/sessionthread.cpp:181
#11 0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x27f1d00) at thread/qthread_unix.cpp:298
#12 0x00007f753ba11e9a in start_thread (arg=0x7f75251d3700) at pthread_create.c:308
#13 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f75249d2700 (LWP 9587)):
#0  __libc_enable_asynccancel () at ../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:66
#1  0x00007f753c3a9ae8 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0x00007f753aef6036 in g_main_context_poll (n_fds=1, fds=0x7f75080065e0, timeout=-1, context=0x7f75080009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#3  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f75080009a0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#4  g_main_context_iterate (context=0x7f75080009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#5  0x00007f753aef6164 in g_main_context_iteration (context=0x7f75080009a0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#6  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f75080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f75249d1de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x27d3f60) at ../../kimap/sessionthread.cpp:181
#11 0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x27d3f60) at thread/qthread_unix.cpp:298
#12 0x00007f753ba11e9a in start_thread (arg=0x7f75249d2700) at pthread_create.c:308
#13 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f75261d5700 (LWP 5782)):
#0  0x00007f753ba1505d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f750c01ea80) at pthread_mutex_unlock.c:290
#2  0x00007f753af315d1 in g_mutex_unlock (mutex=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gthread-posix.c:227
#3  0x00007f753aef5fe9 in g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f750c001a00, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3148
#4  g_main_context_iterate (context=0x7f750c001a00, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#5  0x00007f753aef6164 in g_main_context_iteration (context=0x7f750c001a00, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#6  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f750c010ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f75261d4de0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x27d8380) at ../../kimap/sessionthread.cpp:181
#11 0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x27d8380) at thread/qthread_unix.cpp:298
#12 0x00007f753ba11e9a in start_thread (arg=0x7f75261d5700) at pthread_create.c:308
#13 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f75271d7700 (LWP 17568)):
#0  0x00007f753c3a9b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f753aef6036 in g_main_context_poll (n_fds=1, fds=0x7f751400ec10, timeout=-1, context=0x7f75140008c0, priority=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3440
#2  g_main_context_iterate (dispatch=1, block=<optimized out>, context=0x7f75140008c0, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3141
#3  g_main_context_iterate (context=0x7f75140008c0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3083
#4  0x00007f753aef6164 in g_main_context_iteration (context=0x7f75140008c0, may_block=1) at /build/buildd/glib2.0-2.32.3/./glib/gmain.c:3207
#5  0x00007f753fe27426 in QEventDispatcherGlib::processEvents (this=0x7f7514003900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f753fdf6c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f753fdf6ed7 in QEventLoop::exec (this=0x7f75271d6de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f753fcf5fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f753ea2cc39 in KIMAP::SessionThread::run (this=0x287d110) at ../../kimap/sessionthread.cpp:181
#10 0x00007f753fcf8fcb in QThreadPrivate::start (arg=0x287d110) at thread/qthread_unix.cpp:298
#11 0x00007f753ba11e9a in start_thread (arg=0x7f75271d7700) at pthread_create.c:308
#12 0x00007f753c3b54bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f75409fd780 (LWP 2475)):
[KCrash Handler]
#6  0x0000000080000000 in ?? ()
#7  0x00007f753fe0bb04 in QObject::disconnect (sender=0x2845b00, signal=0x28500c9 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x27a20e0, method=0x2850a39 "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at kernel/qobject.cpp:2891
#8  0x0000000000454365 in SessionPool::killSession (this=0x27a20e0, session=0x2845b00, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:176
#9  0x000000000045471d in SessionPool::disconnect (this=0x27a20e0, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:117
#10 0x0000000000454867 in SessionPool::~SessionPool (this=0x27a20e0, __in_chrg=<optimized out>) at ../../../resources/imap/sessionpool.cpp:54
#11 0x0000000000454979 in SessionPool::~SessionPool (this=0x27a20e0, __in_chrg=<optimized out>) at ../../../resources/imap/sessionpool.cpp:55
#12 0x00007f753fe0a935 in QObjectPrivate::deleteChildren (this=0x276e9c0) at kernel/qobject.cpp:1908
#13 0x00007f753fe10b9c in QObject::~QObject (this=0x275ba30, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#14 0x00000000004170c9 in ImapResource::~ImapResource (this=0x275ba30, __in_chrg=<optimized out>) at ../../../resources/imap/imapresource.cpp:156
#15 0x00007f7540526337 in Akonadi::ResourceBase::init (r=0x275ba30) at ../../akonadi/resourcebase.cpp:413
#16 0x000000000041a996 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#17 0x00007f753c2e476d in __libc_start_main (main=0x4151c0 <main(int, char**)>, argc=3, ubp_av=0x7fff34af2008, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff34af1ff8) at libc-start.c:226
#18 0x0000000000415375 in _start ()

Possible duplicates by query: bug 303381, bug 296519, bug 295001, bug 294401, bug 293165.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-02 06:56:43 UTC

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