[Akonadi] [Bug 321465] New: akonadi imap component crashed when loggin out

Martin Pluskal martin at pluskal.org
Fri Jun 21 13:12:29 BST 2013


https://bugs.kde.org/show_bug.cgi?id=321465

            Bug ID: 321465
           Summary: akonadi imap component  crashed when loggin out
    Classification: Unclassified
           Product: Akonadi
           Version: 4.10
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: IMAP resource
          Assignee: ervin at kde.org
          Reporter: martin at pluskal.org
                CC: kdepim-bugs at kde.org, vkrause at kde.org

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 at 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 at entry=0x7f7dfc0008c0, max_priority=2147483647,
fds=fds at entry=0x7f7dfc007570, n_fds=n_fds at entry=1) at gmain.c:3129
#4  0x00007f7e1816d5b0 in g_main_context_iterate
(context=context at entry=0x7f7dfc0008c0, block=block at entry=1,
dispatch=dispatch at 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 at entry=0x7f7e09febde0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f7e1ccda92d in QEventLoop::exec (this=this at entry=0x7f7e09febde0,
flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f7e1cbc0a0f in QThread::exec (this=this at 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 at entry=0x7f7e000009a0, max_priority=2147483647,
fds=fds at entry=0x7f7e00006080, n_fds=n_fds at entry=1) at gmain.c:3129
#4  0x00007f7e1816d5b0 in g_main_context_iterate
(context=context at entry=0x7f7e000009a0, block=block at entry=1,
dispatch=dispatch at 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 at entry=0x7f7e093cdde0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f7e1ccda92d in QEventLoop::exec (this=this at entry=0x7f7e093cdde0,
flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f7e1cbc0a0f in QThread::exec (this=this at 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 at 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 at entry=2,
fmt=fmt at 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 at 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 at 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 at entry=0x7f7e1dcfd5a0, m=m at entry=0x7f7e1dc0e020
<SessionPool::staticMetaObject>, local_signal_index=local_signal_index at entry=7,
argv=argv at 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 at entry=0x7f7e1dcfd5a0,
termination=termination at 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 at 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 at 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Kdepim-bugs mailing list