Bug 302750 - Akonadi IMAP resource crashed on logout
Summary: Akonadi IMAP resource crashed on logout
Status: RESOLVED DUPLICATE of bug 298267
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.8
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 302091 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-29 14:54 UTC by Elias Probst
Modified: 2013-06-09 14:35 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.40 KB, text/plain)
2012-06-29 16:18 UTC, Tomáš Chvátal
Details
New crash information added by DrKonqi (5.63 KB, text/plain)
2012-08-03 16:41 UTC, Elias Probst
Details
New crash information added by DrKonqi (5.41 KB, text/plain)
2012-09-13 14:17 UTC, Elias Probst
Details
New crash information added by DrKonqi (5.30 KB, text/plain)
2012-10-07 09:50 UTC, Elias Probst
Details
New crash information added by DrKonqi (5.73 KB, text/plain)
2012-10-23 15:17 UTC, Klaus Layer
Details
New crash information added by DrKonqi (4.86 KB, text/plain)
2012-11-23 01:09 UTC, Elias Probst
Details
New crash information added by DrKonqi (4.99 KB, text/plain)
2013-03-02 03:45 UTC, Elias Probst
Details
New crash information added by DrKonqi (6.21 KB, text/plain)
2013-03-28 17:37 UTC, kavol
Details
New crash information added by DrKonqi (6.22 KB, text/plain)
2013-05-29 15:14 UTC, kavol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2012-06-29 14:54:12 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.5.0-rc3 x86_64
Distribution: "Gentoo Base System release 2.1"

-- Information about the crash:
- What I was doing when the application crashed:
This happens sometimes during a logout here. I haven't found a way to properly reproduce it yet.

The crash can be reproduced some of the time.

-- Backtrace:
Application: mail@eliasprobst.eu of type IMAP E-Mail Server (akonadi_imap_resource), signal: Aborted
[Current thread is 1 (Thread 0x7fe63ca51780 (LWP 29274))]

Thread 2 (Thread 0x7fe629ce4700 (LWP 30001)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fe63835cd32 in _L_lock_9848 () from /lib64/libc.so.6
#2  0x00007fe63835b101 in *__GI___libc_free (mem=0x7fe638669ea0) at malloc.c:3736
#3  0x00007fe63be797c7 in socketNotifierSourceCheck (source=0x8bd6b0) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007fe637303042 in g_main_context_check (context=0x8bccb0, max_priority=2147483647, fds=<optimized out>, n_fds=<optimized out>) at gmain.c:3023
#5  0x00007fe6373034ec in g_main_context_iterate (context=0x8bccb0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3143
#6  0x00007fe637303664 in g_main_context_iteration (context=0x8bccb0, may_block=1) at gmain.c:3207
#7  0x00007fe63be79dc6 in QEventDispatcherGlib::processEvents (this=0x8bcbd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#8  0x00007fe63be49972 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#9  0x00007fe63be49c25 in QEventLoop::exec (this=0x7fe629ce3de0, flags=...) at kernel/qeventloop.cpp:204
#10 0x00007fe63bd460d8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#11 0x00007fe63aa97b59 in KIMAP::SessionThread::run (this=0x8bc5d0) at /var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/kimap/sessionthread.cpp:181
#12 0x00007fe63bd4874b in QThreadPrivate::start (arg=0x8bc5d0) at thread/qthread_unix.cpp:307
#13 0x00007fe637c6ed0c in start_thread (arg=0x7fe629ce4700) at pthread_create.c:301
#14 0x00007fe6383bc64d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fe63ca51780 (LWP 29274)):
[KCrash Handler]
#6  0x00007fe638315ab5 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007fe638316db5 in *__GI_abort () at abort.c:93
#8  0x00007fe638350cb3 in __libc_message (do_abort=2, fmt=0x7fe638430e18 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#9  0x00007fe6383561d5 in malloc_printerr (action=3, str=0x7fe63842df84 "corrupted double-linked list", ptr=<optimized out>) at malloc.c:6283
#10 0x00007fe638357c15 in _int_free (av=0x7fe638669ea0, p=0x8d8d90) at malloc.c:4973
#11 0x00007fe63835b10c in *__GI___libc_free (mem=<optimized out>) at malloc.c:3738
#12 0x00007fe63c58ad8c in ~Task (this=0x7fff81f72db0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/akonadi/resourcescheduler_p.h:64
#13 Akonadi::ResourceBase::cancelTask (this=0x82f3d0) at /var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/akonadi/resourcebase.cpp:792
#14 0x00007fe63c58af19 in Akonadi::ResourceBase::cancelTask (this=0x82f3d0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/akonadi/resourcebase.cpp:820
#15 0x000000000041ea1d in ResourceState::cancelTask (this=0x7fe61c010520, errorString=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/resourcestate.cpp:389
#16 0x0000000000445411 in ResourceTask::cancelTask (this=0x7fe61c00c4d0, errorString=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/resourcetask.cpp:284
#17 0x000000000044546e in ResourceTask::onPoolDisconnect (this=0x7fe61c00c4d0) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/resourcetask.cpp:136
#18 0x00007fe63be60453 in QMetaObject::activate (sender=0x821fd0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#19 0x000000000045441e in SessionPool::disconnect (this=0x821fd0, termination=SessionPool::LogoutSession) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/sessionpool.cpp:129
#20 0x00000000004544d7 in SessionPool::~SessionPool (this=0x821fd0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/sessionpool.cpp:54
#21 0x00000000004545e9 in SessionPool::~SessionPool (this=0x821fd0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/sessionpool.cpp:55
#22 0x00007fe63be5ddf4 in QObjectPrivate::deleteChildren (this=0x858fa0) at kernel/qobject.cpp:1908
#23 0x00007fe63be616b0 in QObject::~QObject (this=0x82f3d0, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#24 0x00000000004185a9 in ImapResource::~ImapResource (this=0x82f3d0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/imapresource.cpp:156
#25 0x00007fe63c586216 in Akonadi::ResourceBase::init (r=0x82f3d0) at /var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/akonadi/resourcebase.cpp:413
#26 0x0000000000419188 in init<ImapResource> (argv=<optimized out>, argc=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#27 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.3-r2/work/kdepim-runtime-4.8.3/resources/imap/imapresource.cpp:607

Reported using DrKonqi
Comment 1 Tomáš Chvátal 2012-06-29 16:18:02 UTC
Created attachment 72220 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:

I was just connected to the groupwise imap account and clicked on new unread mail while I started shutting down the KDE.

-- Backtrace (Reduced):
#6  0x00000310198038b5 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x0000031019804d2b in __GI_abort () at abort.c:93
[...]
#9  0x00000310198435d6 in malloc_printerr (action=3, str=0x3101991a508 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:6283
#10 0x000003101984757c in __GI___libc_free (mem=<optimized out>) at malloc.c:3738
#11 0x000003101da33c18 in ~Task (this=0x3ffa379ec50, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.8.3/work/kdepimlibs-4.8.3/akonadi/resourcescheduler_p.h:64
Comment 2 Elias Probst 2012-08-03 16:41:55 UTC
Created attachment 72924 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.9) on KDE Platform 4.9.00 using Qt 4.8.2

- What I was doing when the application crashed:
It happened now again on KDE 4.9.0/Akonadi Server 1.8.0.

-- Backtrace (Reduced):
#9  0x00007f59ce50a1d5 in malloc_printerr (action=3, str=0x7f59ce5e1f84 "corrupted double-linked list", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f59ce50bc15 in _int_free (av=0x7f59ce81dea0, p=0xb39180) at malloc.c:4973
[...]
#12 0x00007f59d274c43c in ~Task (this=0x7fff56cebbe0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.0/work/kdepimlibs-4.9.0/akonadi/resourcescheduler_p.h:67
#13 Akonadi::ResourceBase::cancelTask (this=0x87aee0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.0/work/kdepimlibs-4.9.0/akonadi/resourcebase.cpp:854
#14 0x00007f59d274c5c9 in Akonadi::ResourceBase::cancelTask (this=0x87aee0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.0/work/kdepimlibs-4.9.0/akonadi/resourcebase.cpp:882
Comment 3 Elias Probst 2012-09-13 14:17:24 UTC
Created attachment 73888 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.9) on KDE Platform 4.9.1 using Qt 4.8.2

- What I was doing when the application crashed:
It happened again, using KDE 4.9.1/Akonadi Server 1.8.0

-- Backtrace (Reduced):
#9  0x00007f2ee7294375 in malloc_printerr (action=3, str=0x7f2ee7385fd8 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f2eeb4e936c in ~Task (this=0x7fff3f7ab540, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.1-r1/work/kdepimlibs-4.9.1/akonadi/resourcescheduler_p.h:67
#11 Akonadi::ResourceBase::cancelTask (this=0x8b99d0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.1-r1/work/kdepimlibs-4.9.1/akonadi/resourcebase.cpp:854
#12 0x00007f2eeb4e94f9 in Akonadi::ResourceBase::cancelTask (this=0x8b99d0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.1-r1/work/kdepimlibs-4.9.1/akonadi/resourcebase.cpp:882
#13 0x000000000041f41d in ResourceState::cancelTask (this=0x9b1440, errorString=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.1/work/kdepim-runtime-4.9.1/resources/imap/resourcestate.cpp:390
Comment 4 Elias Probst 2012-10-07 09:50:20 UTC
Created attachment 74384 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.9) on KDE Platform 4.9.2 using Qt 4.8.3

- What I was doing when the application crashed:
It happened again using KDE 4.9.2 + Akonadi Server 1.8.0

-- Backtrace (Reduced):
#9  0x00007f8f09e0a375 in malloc_printerr (action=3, str=0x7f8f09efbfd8 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007f8f0e07257c in ~Task (this=0x7fff898a69c0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/resourcescheduler_p.h:67
#11 Akonadi::ResourceBase::cancelTask (this=0x8d6b80) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/resourcebase.cpp:854
#12 0x00007f8f0e072709 in Akonadi::ResourceBase::cancelTask (this=0x8d6b80, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.2/work/kdepimlibs-4.9.2/akonadi/resourcebase.cpp:882
#13 0x000000000041f41d in ResourceState::cancelTask (this=0x73ac90, errorString=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.2/work/kdepim-runtime-4.9.2/resources/imap/resourcestate.cpp:390
Comment 5 Klaus Layer 2012-10-23 15:17:54 UTC
Created attachment 74757 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Shutdown computer when the aconadi imap resource crashed

-- Backtrace (Reduced):
#6  0x00007ff15a429425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007ff15a42cb8b in __GI_abort () at abort.c:91
[...]
#9  0x00007ff15a471b96 in malloc_printerr (action=3, str=0x7ff15a571118 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:5007
#10 0x00007ff15e65c078 in ~Task (this=0x7fff07fbea40, __in_chrg=<optimized out>) at ../../akonadi/resourcescheduler_p.h:64
#11 Akonadi::ResourceBase::cancelTask (this=0x1f1eef0) at ../../akonadi/resourcebase.cpp:792
Comment 6 Jekyll Wu 2012-11-13 04:26:43 UTC
*** Bug 302091 has been marked as a duplicate of this bug. ***
Comment 7 Elias Probst 2012-11-23 01:09:52 UTC
Created attachment 75420 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.9) on KDE Platform 4.9.80 using Qt 4.8.3

- What I was doing when the application crashed:

It happened again using KDE 4.9.80 aka KDE 4.10 beta 1 and Akonadi Server 1.8.80.

-- Backtrace (Reduced):
#7  0x00007f90edfb5c62 in ~Task (this=0x7fff57ca7320, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.9.80/work/kdepimlibs-4.9.80/akonadi/resourcescheduler_p.h:67
#8  Akonadi::ResourceBase::cancelTask (this=0x88b9d0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.80/work/kdepimlibs-4.9.80/akonadi/resourcebase.cpp:861
#9  0x00007f90edfb5dd9 in Akonadi::ResourceBase::cancelTask (this=0x88b9d0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.9.80/work/kdepimlibs-4.9.80/akonadi/resourcebase.cpp:889
#10 0x000000000042043b in ResourceState::cancelTask (this=0x6b5600, errorString=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.80/work/kdepim-runtime-4.9.80/resources/imap/resourcestate.cpp:390
#11 0x0000000000447ff1 in ResourceTask::cancelTask (this=0x947990, errorString=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.80/work/kdepim-runtime-4.9.80/resources/imap/resourcetask.cpp:285
Comment 8 Elias Probst 2013-03-02 03:45:49 UTC
Created attachment 77678 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.00 using Qt 4.8.4

- What I was doing when the application crashed:
It happened again. This time on KDE 4.10.0 and Akonadi Server 1.9.0.

-- Backtrace (Reduced):
#7  0x00007ff8539ebb82 in ~Task (this=0x7fff3d973690, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.10.0-r1/work/kdepimlibs-4.10.0/akonadi/resourcescheduler_p.h:67
#8  Akonadi::ResourceBase::cancelTask (this=0x1c914a0) at /var/tmp/portage/kde-base/kdepimlibs-4.10.0-r1/work/kdepimlibs-4.10.0/akonadi/resourcebase.cpp:861
#9  0x00007ff8539ebcf9 in Akonadi::ResourceBase::cancelTask (this=0x1c914a0, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.0-r1/work/kdepimlibs-4.10.0/akonadi/resourcebase.cpp:889
#10 0x000000000042049b in ResourceState::cancelTask (this=0x1daccd0, errorString=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.0/work/kdepim-runtime-4.10.0/resources/imap/resourcestate.cpp:390
#11 0x00000000004481f1 in ResourceTask::cancelTask (this=0x1d3a3a0, errorString=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.0/work/kdepim-runtime-4.10.0/resources/imap/resourcetask.cpp:285
Comment 9 kavol 2013-03-28 17:37:43 UTC
Created attachment 78463 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.1 using Qt 4.8.4

- What I was doing when the application crashed:

I've just tried to log out, and DrKonqi appeared ...

-- Backtrace (Reduced):
#7  0x00007ff840869bd3 in ~Task (this=0x7ffffa11c2d0, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.1/akonadi/resourcescheduler_p.h:67
#8  Akonadi::ResourceBase::cancelTask (this=this@entry=0x1a296b0) at /usr/src/debug/kdepimlibs-4.10.1/akonadi/resourcebase.cpp:861
#9  0x00007ff840869d39 in Akonadi::ResourceBase::cancelTask (this=0x1a296b0, msg=...) at /usr/src/debug/kdepimlibs-4.10.1/akonadi/resourcebase.cpp:889
#10 0x000000000041e8cb in ResourceState::cancelTask (this=0x1a2b480, errorString=...) at /usr/src/debug/kdepim-runtime-4.10.1/resources/imap/resourcestate.cpp:390
#11 0x00000000004453a1 in ResourceTask::cancelTask (this=0x1ba71a0, errorString=...) at /usr/src/debug/kdepim-runtime-4.10.1/resources/imap/resourcetask.cpp:285
Comment 10 kavol 2013-05-29 15:14:57 UTC
Created attachment 80159 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.3 using Qt 4.8.4

- What I was doing when the application crashed:

it just crashed on logout, nothing more to say

-- Backtrace (Reduced):
#7  0x0000003689d570f4 in ~Task (this=0x7fff99994250, __in_chrg=<optimized out>) at /usr/src/debug/kdepimlibs-4.10.3/akonadi/resourcescheduler_p.h:67
#8  Akonadi::ResourceBase::cancelTask (this=this@entry=0x1cca380) at /usr/src/debug/kdepimlibs-4.10.3/akonadi/resourcebase.cpp:861
#9  0x0000003689d57261 in Akonadi::ResourceBase::cancelTask (this=0x1cca380, msg=...) at /usr/src/debug/kdepimlibs-4.10.3/akonadi/resourcebase.cpp:889
#10 0x000000000041dddd in ResourceState::cancelTask (this=0x1d53b10, errorString=...) at /usr/src/debug/kdepim-runtime-4.10.3/resources/imap/resourcestate.cpp:390
#11 0x00000000004448e1 in ResourceTask::cancelTask (this=this@entry=0x1eafc60, errorString=...) at /usr/src/debug/kdepim-runtime-4.10.3/resources/imap/resourcetask.cpp:285
Comment 11 Daniel Vrátil 2013-06-09 14:35:32 UTC

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