Bug 321465 - akonadi imap component crashed when loggin out
Summary: akonadi imap component crashed when loggin out
Status: RESOLVED DUPLICATE of bug 298267
Alias: None
Product: Akonadi
Classification: Unclassified
Component: IMAP resource (show other bugs)
Version: 4.10
Platform: Gentoo Packages Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-21 12:12 UTC by Martin Pluskal
Modified: 2013-06-24 08:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Pluskal 2013-06-21 12:12:29 UTC
Application: akonadi_imap_resource (4.10)
KDE Platform Version: 4.10.4
Qt Version: 4.8.4
Operating System: Linux 3.9.7-gentoo x86_64
Distribution (Platform): Gentoo Packages

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

Loggin out of session, whe akonadi imap component crashed.

Issue occurs often during logging out (1 in 4 cases)

The crash can be reproduced sometimes.

-- Backtrace:
Application: martin@pluskal.org of type IMAP E-Mail Server (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f7e1d9377c0 (LWP 5807))]

Thread 3 (Thread 0x7f7e09fec700 (LWP 9207)):
#0  0x00007f7e1904b6ad in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7e181b53e0 in read (__nbytes=16, __buf=0x7f7e09febba0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f7e04001ca0) at gwakeup.c:212
#3  0x00007f7e1816d164 in g_main_context_check (context=context@entry=0x7f7dfc0008c0, max_priority=2147483647, fds=fds@entry=0x7f7dfc007570, n_fds=n_fds@entry=1) at gmain.c:3129
#4  0x00007f7e1816d5b0 in g_main_context_iterate (context=context@entry=0x7f7dfc0008c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#5  0x00007f7e1816d77c in g_main_context_iteration (context=0x7f7dfc0008c0, may_block=1) at gmain.c:3351
#6  0x00007f7e1cd0e1f6 in QEventDispatcherGlib::processEvents (this=0x7f7dfc002a10, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f7e1ccda4ff in QEventLoop::processEvents (this=this@entry=0x7f7e09febde0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f7e1ccda92d in QEventLoop::exec (this=this@entry=0x7f7e09febde0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f7e1cbc0a0f in QThread::exec (this=this@entry=0x7f7e1dc859f0) at thread/qthread.cpp:542
#10 0x00007f7e1b8602aa in KIMAP::SessionThread::run (this=0x7f7e1dc859f0) at /var/tmp/portage/kde-base/kdepimlibs-4.10.4/work/kdepimlibs-4.10.4/kimap/sessionthread.cpp:184
#11 0x00007f7e1cbc384f in QThreadPrivate::start (arg=0x7f7e1dc859f0) at thread/qthread_unix.cpp:338
#12 0x00007f7e188f5d89 in start_thread (arg=0x7f7e09fec700) at pthread_create.c:308
#13 0x00007f7e19059a1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f7e093ce700 (LWP 10928)):
#0  0x00007f7e1904b6ad in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7e181b53e0 in read (__nbytes=16, __buf=0x7f7e093cdba0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f7e04001fb0) at gwakeup.c:212
#3  0x00007f7e1816d164 in g_main_context_check (context=context@entry=0x7f7e000009a0, max_priority=2147483647, fds=fds@entry=0x7f7e00006080, n_fds=n_fds@entry=1) at gmain.c:3129
#4  0x00007f7e1816d5b0 in g_main_context_iterate (context=context@entry=0x7f7e000009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#5  0x00007f7e1816d77c in g_main_context_iteration (context=0x7f7e000009a0, may_block=1) at gmain.c:3351
#6  0x00007f7e1cd0e1f6 in QEventDispatcherGlib::processEvents (this=0x7f7e000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f7e1ccda4ff in QEventLoop::processEvents (this=this@entry=0x7f7e093cdde0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f7e1ccda92d in QEventLoop::exec (this=this@entry=0x7f7e093cdde0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f7e1cbc0a0f in QThread::exec (this=this@entry=0x7f7e1ded61d0) at thread/qthread.cpp:542
#10 0x00007f7e1b8602aa in KIMAP::SessionThread::run (this=0x7f7e1ded61d0) at /var/tmp/portage/kde-base/kdepimlibs-4.10.4/work/kdepimlibs-4.10.4/kimap/sessionthread.cpp:184
#11 0x00007f7e1cbc384f in QThreadPrivate::start (arg=0x7f7e1ded61d0) at thread/qthread_unix.cpp:338
#12 0x00007f7e188f5d89 in start_thread (arg=0x7f7e093ce700) at pthread_create.c:308
#13 0x00007f7e19059a1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f7e1d9377c0 (LWP 5807)):
[KCrash Handler]
#6  0x00007f7e18fa7309 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f7e18fa8668 in __GI_abort () at abort.c:90
#8  0x00007f7e18fe5d85 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f7e190d94a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:196
#9  0x00007f7e18feb79e in malloc_printerr (action=3, str=0x7f7e190d95b0 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:4902
#10 0x00007f7e18fec487 in _int_free (av=<optimized out>, p=0x7f7e1defc270, have_lock=0) at malloc.c:3758
#11 0x00007f7e1d44416b in ~Task (this=0x7fffed52c480, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.10.4/work/kdepimlibs-4.10.4/akonadi/resourcescheduler_p.h:67
#12 Akonadi::ResourceBase::cancelTask (this=this@entry=0x7f7e1de20840) at /var/tmp/portage/kde-base/kdepimlibs-4.10.4/work/kdepimlibs-4.10.4/akonadi/resourcebase.cpp:861
#13 0x00007f7e1d4442e1 in Akonadi::ResourceBase::cancelTask (this=0x7f7e1de20840, msg=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.4/work/kdepimlibs-4.10.4/akonadi/resourcebase.cpp:889
#14 0x00007f7e1d9a56f0 in ResourceState::cancelTask (this=0x7f7e1e00f460, errorString=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4/resources/imap/resourcestate.cpp:390
#15 0x00007f7e1d9d0e45 in ResourceTask::cancelTask (this=this@entry=0x7f7e1e071480, errorString=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4/resources/imap/resourcetask.cpp:285
#16 0x00007f7e1d9d0f98 in ResourceTask::onPoolDisconnect (this=0x7f7e1e071480) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4/resources/imap/resourcetask.cpp:136
#17 0x00007f7e1ccf2778 in QMetaObject::activate (sender=sender@entry=0x7f7e1dcfd5a0, m=m@entry=0x7f7e1dc0e020 <SessionPool::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x00007f7e1d9e1fe4 in disconnectDone (this=0x7f7e1dcfd5a0) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4_build/resources/imap/sessionpool.moc:167
#19 SessionPool::disconnect (this=this@entry=0x7f7e1dcfd5a0, termination=termination@entry=SessionPool::LogoutSession) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4/resources/imap/sessionpool.cpp:130
#20 0x00007f7e1d9e225a in SessionPool::~SessionPool (this=0x7f7e1dcfd5a0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4/resources/imap/sessionpool.cpp:54
#21 0x00007f7e1d9e239d in SessionPool::~SessionPool (this=0x7f7e1dcfd5a0, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4/resources/imap/sessionpool.cpp:55
#22 0x00007f7e1ccf518b in QObjectPrivate::deleteChildren (this=this@entry=0x7f7e1de3c150) at kernel/qobject.cpp:1907
#23 0x00007f7e1ccf79b3 in QObject::~QObject (this=0x7f7e1de20840, __in_chrg=<optimized out>) at kernel/qobject.cpp:926
#24 0x00007f7e1d99dded in ImapResource::~ImapResource (this=0x7f7e1de20840, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.10.4/work/kdepim-runtime-4.10.4/resources/imap/imapresource.cpp:163
#25 0x00007f7e1d43e3ac in Akonadi::ResourceBase::init (r=r@entry=0x7f7e1de20840) at /var/tmp/portage/kde-base/kdepimlibs-4.10.4/work/kdepimlibs-4.10.4/akonadi/resourcebase.cpp:452
#26 0x00007f7e1d9a39ed in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#27 0x00007f7e18f93bb5 in __libc_start_main (main=0x7f7e1d99b4c0 <main(int, char**)>, argc=3, ubp_av=0x7fffed52cb08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffed52caf8) at libc-start.c:266
#28 0x00007f7e1d99b7c5 in _start ()

This bug may be a duplicate of or related to bug 298267.

Possible duplicates by query: bug 320557, bug 320556, bug 320526, bug 320344, bug 320128.

Reported using DrKonqi
Comment 1 Daniel Vrátil 2013-06-24 08:15:09 UTC

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