<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>320128</bug_id>
          
          <creation_ts>2013-05-22 09:32:09 +0000</creation_ts>
          <short_desc>KMail 4.10.3 (Kubuntu 13.04) has crashed on shutdown</short_desc>
          <delta_ts>2013-06-09 14:35:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>IMAP resource</component>
          <version>4.10</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>298267</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Thomas Dreibholz">dreibh</reporter>
          <assigned_to name="Kevin Ottens">ervin</assigned_to>
          <cc>dvratil</cc>
    
    <cc>pim-bugs-null</cc>
    
    <cc>vkrause</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1370382</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Dreibholz">dreibh</who>
    <bug_when>2013-05-22 09:32:09 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (4.10)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.0-21-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
KMail 4.10.3 (Kubuntu 13.04) has crashed on shutdown. The configured IMAP account is quite large, about 10 GiB of mails.

-- Backtrace:
Application: Uni-DUE vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Aborted
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f98cde407c0 (LWP 22425))]

Thread 6 (Thread 0x7f98ba393700 (LWP 22428)):
#0  0x00007f98c986f3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98c85bb1dc in g_main_context_poll (n_fds=1, fds=0x7f98b4002bb0, timeout=-1, context=0x7f98b40009a0, priority=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7f98b40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3  0x00007f98c85bb304 in g_main_context_iteration (context=0x7f98b40009a0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#4  0x00007f98cd266036 in QEventDispatcherGlib::processEvents (this=0x7f98b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f98cd23638f in QEventLoop::processEvents (this=this@entry=0x7f98ba392d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f98cd236618 in QEventLoop::exec (this=this@entry=0x7f98ba392d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f98cd138410 in QThread::exec (this=this@entry=0x1919f00) at thread/qthread.cpp:542
#8  0x00007f98cd217edf in QInotifyFileSystemWatcherEngine::run (this=0x1919f00) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f98cd13abec in QThreadPrivate::start (arg=0x1919f00) at thread/qthread_unix.cpp:338
#10 0x00007f98c8ed4f8e in start_thread (arg=0x7f98ba393700) at pthread_create.c:311
#11 0x00007f98c987be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f98b15d6700 (LWP 22706)):
#0  0x00007f98c858bd50 in pthread_mutex_unlock@plt () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f98c85fa5f1 in g_mutex_unlock (mutex=mutex@entry=0x7f98a8032020) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:229
#2  0x00007f98c85badf9 in g_main_context_dispatch (context=context@entry=0x7f98a8032020) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3633
#3  0x00007f98c85bb248 in g_main_context_iterate (context=context@entry=0x7f98a8032020, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3701
#4  0x00007f98c85bb304 in g_main_context_iteration (context=0x7f98a8032020, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#5  0x00007f98cd266036 in QEventDispatcherGlib::processEvents (this=0x7f98a800db60, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f98cd23638f in QEventLoop::processEvents (this=this@entry=0x7f98b15d5da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f98cd236618 in QEventLoop::exec (this=this@entry=0x7f98b15d5da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f98cd138410 in QThread::exec (this=this@entry=0x188a530) at thread/qthread.cpp:542
#9  0x00007f98cbe9bb2a in KIMAP::SessionThread::run (this=0x188a530) at ../../kimap/sessionthread.cpp:184
#10 0x00007f98cd13abec in QThreadPrivate::start (arg=0x188a530) at thread/qthread_unix.cpp:338
#11 0x00007f98c8ed4f8e in start_thread (arg=0x7f98b15d6700) at pthread_create.c:311
#12 0x00007f98c987be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f98b35a1700 (LWP 22711)):
#0  0x00007f98c85fa359 in g_mutex_get_impl (mutex=0x7f98a40044b0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:121
#1  0x00007f98c85fa5b9 in g_mutex_lock (mutex=mutex@entry=0x7f98a40044b0) at /build/buildd/glib2.0-2.36.0/./glib/gthread-posix.c:210
#2  0x00007f98c85bac74 in g_main_context_check (context=context@entry=0x7f98a40044b0, max_priority=2147483647, fds=fds@entry=0x7f98a4008260, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3547
#3  0x00007f98c85bb175 in g_main_context_iterate (context=context@entry=0x7f98a40044b0, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3698
#4  0x00007f98c85bb304 in g_main_context_iteration (context=0x7f98a40044b0, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#5  0x00007f98cd266036 in QEventDispatcherGlib::processEvents (this=0x7f98a4004670, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f98cd23638f in QEventLoop::processEvents (this=this@entry=0x7f98b35a0da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f98cd236618 in QEventLoop::exec (this=this@entry=0x7f98b35a0da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f98cd138410 in QThread::exec (this=this@entry=0x16a8530) at thread/qthread.cpp:542
#9  0x00007f98cbe9bb2a in KIMAP::SessionThread::run (this=0x16a8530) at ../../kimap/sessionthread.cpp:184
#10 0x00007f98cd13abec in QThreadPrivate::start (arg=0x16a8530) at thread/qthread_unix.cpp:338
#11 0x00007f98c8ed4f8e in start_thread (arg=0x7f98b35a1700) at pthread_create.c:311
#12 0x00007f98c987be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f98b3da2700 (LWP 22736)):
#0  0x00007f98c986f3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98c85bb1dc in g_main_context_poll (n_fds=1, fds=0x7f98ac150890, timeout=-1, context=0x7f98ac027600, priority=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7f98ac027600, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3  0x00007f98c85bb304 in g_main_context_iteration (context=0x7f98ac027600, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#4  0x00007f98cd266036 in QEventDispatcherGlib::processEvents (this=0x7f98ac014e60, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f98cd23638f in QEventLoop::processEvents (this=this@entry=0x7f98b3da1da0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f98cd236618 in QEventLoop::exec (this=this@entry=0x7f98b3da1da0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f98cd138410 in QThread::exec (this=this@entry=0x1c5ff70) at thread/qthread.cpp:542
#8  0x00007f98cbe9bb2a in KIMAP::SessionThread::run (this=0x1c5ff70) at ../../kimap/sessionthread.cpp:184
#9  0x00007f98cd13abec in QThreadPrivate::start (arg=0x1c5ff70) at thread/qthread_unix.cpp:338
#10 0x00007f98c8ed4f8e in start_thread (arg=0x7f98b3da2700) at pthread_create.c:311
#11 0x00007f98c987be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f98a3fff700 (LWP 22737)):
#0  0x00007f98c986f3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98c85bb1dc in g_main_context_poll (n_fds=1, fds=0x7f989c009c30, timeout=-1, context=0x7f989c008570, priority=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7f989c008570, block=block@entry=1, dispatch=dispatch@entry=1, self=&lt;optimized out&gt;) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3696
#3  0x00007f98c85bb304 in g_main_context_iteration (context=0x7f989c008570, may_block=1) at /build/buildd/glib2.0-2.36.0/./glib/gmain.c:3762
#4  0x00007f98cd266036 in QEventDispatcherGlib::processEvents (this=0x7f989c00bda0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f98cd23638f in QEventLoop::processEvents (this=this@entry=0x7f98a3ffeda0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f98cd236618 in QEventLoop::exec (this=this@entry=0x7f98a3ffeda0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f98cd138410 in QThread::exec (this=this@entry=0x1b562b0) at thread/qthread.cpp:542
#8  0x00007f98cbe9bb2a in KIMAP::SessionThread::run (this=0x1b562b0) at ../../kimap/sessionthread.cpp:184
#9  0x00007f98cd13abec in QThreadPrivate::start (arg=0x1b562b0) at thread/qthread_unix.cpp:338
#10 0x00007f98c8ed4f8e in start_thread (arg=0x7f98a3fff700) at pthread_create.c:311
#11 0x00007f98c987be1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f98cde407c0 (LWP 22425)):
[KCrash Handler]
#6  0x00007f98c97b9037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f98c97bc698 in __GI_abort () at abort.c:90
#8  0x00007f98c97f65ab in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f98c9909860 &quot;*** Error in `%s&apos;: %s: 0x%s ***\n&quot;) at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#9  0x00007f98c9802a46 in malloc_printerr (ptr=0x1b2eec0, str=0x7f98c9909948 &quot;double free or corruption (!prev)&quot;, action=3) at malloc.c:4902
#10 _int_free (av=&lt;optimized out&gt;, p=0x1b2eeb0, have_lock=0) at malloc.c:3758
#11 0x00007f98cd960539 in ~Task (this=0x7fff08450e40, __in_chrg=&lt;optimized out&gt;) at ../../akonadi/resourcescheduler_p.h:67
#12 Akonadi::ResourceBase::cancelTask (this=this@entry=0x1866ea0) at ../../akonadi/resourcebase.cpp:861
#13 0x00007f98cd9606a9 in Akonadi::ResourceBase::cancelTask (this=0x1866ea0, msg=...) at ../../akonadi/resourcebase.cpp:889
#14 0x000000000041de7b in ResourceState::cancelTask (this=0x1b01b60, errorString=...) at ../../../resources/imap/resourcestate.cpp:390
#15 0x0000000000445211 in ResourceTask::cancelTask (this=this@entry=0x1adcf50, errorString=...) at ../../../resources/imap/resourcetask.cpp:285
#16 0x0000000000445261 in ResourceTask::onPoolDisconnect (this=0x1adcf50) at ../../../resources/imap/resourcetask.cpp:136
#17 0x00007f98cd24c0ef in QMetaObject::activate (sender=sender@entry=0x1895180, m=m@entry=0x4692a0 &lt;SessionPool::staticMetaObject&gt;, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x0000000000454e41 in SessionPool::disconnectDone (this=this@entry=0x1895180) at ./sessionpool.moc:167
#19 0x0000000000455486 in SessionPool::disconnect (this=this@entry=0x1895180, termination=termination@entry=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:130
#20 0x0000000000455567 in SessionPool::~SessionPool (this=0x1895180, __in_chrg=&lt;optimized out&gt;) at ../../../resources/imap/sessionpool.cpp:54
#21 0x0000000000455679 in SessionPool::~SessionPool (this=0x1895180, __in_chrg=&lt;optimized out&gt;) at ../../../resources/imap/sessionpool.cpp:55
#22 0x00007f98cd24a232 in QObjectPrivate::deleteChildren (this=this@entry=0x1866af0) at kernel/qobject.cpp:1907
#23 0x00007f98cd250f66 in QObject::~QObject (this=0x1866ea0, __in_chrg=&lt;optimized out&gt;) at kernel/qobject.cpp:926
#24 0x0000000000417569 in ImapResource::~ImapResource (this=0x1866ea0, __in_chrg=&lt;optimized out&gt;) at ../../../resources/imap/imapresource.cpp:163
#25 0x00007f98cd95bb75 in Akonadi::ResourceBase::init (r=r@entry=0x1866ea0) at ../../akonadi/resourcebase.cpp:452
#26 0x000000000041c7f3 in Akonadi::ResourceBase::init&lt;ImapResource&gt; (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/include/akonadi/resourcebase.h:188
#27 0x00007f98c97a3ea5 in __libc_start_main (main=0x4156c0 &lt;main(int, char**)&gt;, argc=3, ubp_av=0x7fff08451408, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fff084513f8) at libc-start.c:260
#28 0x0000000000415845 in _start ()

Possible duplicates by query: bug 319465, bug 318653, bug 318507, bug 318426, bug 314682.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1375274</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Vrátil">dvratil</who>
    <bug_when>2013-06-09 14:35:49 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 298267 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>