<?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>308602</bug_id>
          
          <creation_ts>2012-10-18 13:06:56 +0000</creation_ts>
          <short_desc>KMail crash after close window</short_desc>
          <delta_ts>2013-02-26 03:06:47 +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.9</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>312057</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="Yonnys">wyxknouth</reporter>
          <assigned_to name="Kevin Ottens">ervin</assigned_to>
          <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>1307132</commentid>
    <comment_count>0</comment_count>
    <who name="Yonnys">wyxknouth</who>
    <bug_when>2012-10-18 13:06:56 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (4.9)
KDE Platform Version: 4.9.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-32-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
IMAP stop receiving incomming emails and after close contact it crash.

The crash can be reproduced some of the time.

-- Backtrace:
Application: IOSHS of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7fdbaa747780 (LWP 2727))]

Thread 2 (Thread 0x7fdb9705a700 (LWP 7109)):
#0  0x00007fdba60df403 in __GI___poll (fds=&lt;optimized out&gt;, nfds=&lt;optimized out&gt;, timeout=&lt;optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdba4c2a036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdba4c2a164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdba9b61906 in QEventDispatcherGlib::processEvents (this=0x7fdb90026930, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdba9b30e42 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdba9b31097 in QEventLoop::exec (this=0x7fdb97059de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdba9a30057 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:501
#7  0x00007fdba8764c39 in KIMAP::SessionThread::run (this=0x10f6b60) at ../../kimap/sessionthread.cpp:181
#8  0x00007fdba9a3307b in QThreadPrivate::start (arg=0x10f6b60) at thread/qthread_unix.cpp:307
#9  0x00007fdba5745e9a in start_thread (arg=0x7fdb9705a700) at pthread_create.c:308
#10 0x00007fdba60eadbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdbaa747780 (LWP 2727)):
[KCrash Handler]
#6  0x00007fdba9b3998d in indexOfMethodRelative&lt;4&gt; (normalizeStringData=false, method=0xfb7699 &quot;stateChanged(KIMAP::Session::State,KIMAP::Session::State)&quot;, baseObject=0x7fff917b2750) at kernel/qmetaobject.cpp:525
#7  QMetaObjectPrivate::indexOfSignalRelative (baseObject=0x7fff917b2750, signal=0xfb7699 &quot;stateChanged(KIMAP::Session::State,KIMAP::Session::State)&quot;, normalizeStringData=false) at kernel/qmetaobject.cpp:628
#8  0x00007fdba9b46017 in QObject::disconnect (sender=0x1100a90, signal=0xfb7699 &quot;stateChanged(KIMAP::Session::State,KIMAP::Session::State)&quot;, receiver=0xf4b260, method=0x10c4cf9 &quot;onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)&quot;) at kernel/qobject.cpp:2895
#9  0x0000000000455625 in SessionPool::killSession (this=0xf4b260, session=0x1100a90, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:176
#10 0x00000000004559dd in SessionPool::disconnect (this=0xf4b260, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:117
#11 0x00000000004187cb in ImapResource::doSetOnline (this=0xf22160, online=false) at ../../../resources/imap/imapresource.cpp:456
#12 0x00007fdbaa18cbd8 in Akonadi::AgentBase::setOnline (this=0xf22160, state=false) at ../../akonadi/agentbase.cpp:617
#13 0x00007fdbaa18df1f in Akonadi::AgentBase::qt_static_metacall (_o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;) at ./agentbase.moc:102
#14 0x00007fdba9b46761 in QMetaObject::activate (sender=0xf50700, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff917b2a80) at kernel/qobject.cpp:3547
#15 0x00007fdba767511e in Solid::Networking::Notifier::statusChanged (this=&lt;optimized out&gt;, _t1=Solid::Networking::Unconnected) at ./networking.moc:104
#16 0x00007fdba9b46761 in QMetaObject::activate (sender=0xf50200, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff917b2bd0) at kernel/qobject.cpp:3547
#17 0x00007fdba76dad3e in OrgKdeSolidNetworkingClientInterface::statusChanged (this=&lt;optimized out&gt;, _t1=1) at org_kde_solid_networking_client.moc:132
#18 0x00007fdba76dad8e in OrgKdeSolidNetworkingClientInterface::qt_static_metacall (_o=0xf50200, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=0x7fff917b2ed0) at org_kde_solid_networking_client.moc:58
#19 0x00007fdba76db20f in OrgKdeSolidNetworkingClientInterface::qt_metacall (this=0xf50200, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff917b2ed0) at org_kde_solid_networking_client.moc:99
#20 0x00007fdba9ead37b in QDBusConnectionPrivate::deliverCall (this=0xe37c80, object=0xf50200, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:947
#21 0x00007fdba9b4b926 in QObject::event (this=0xf50200, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1195
#22 0x00007fdba8eb37b4 in notify_helper (e=0xf7d3f0, receiver=0xf50200, this=0xda4c50) at kernel/qapplication.cpp:4556
#23 QApplicationPrivate::notify_helper (this=0xda4c50, receiver=0xf50200, e=0xf7d3f0) at kernel/qapplication.cpp:4528
#24 0x00007fdba8eb8583 in QApplication::notify (this=0x7fff917b38e0, receiver=0xf50200, e=0xf7d3f0) at kernel/qapplication.cpp:4417
#25 0x00007fdba6fda756 in KApplication::notify (this=0x7fff917b38e0, receiver=0xf50200, event=0xf7d3f0) at ../../kdeui/kernel/kapplication.cpp:311
#26 0x00007fdba9b3230c in QCoreApplication::notifyInternal (this=0x7fff917b38e0, receiver=0xf50200, event=0xf7d3f0) at kernel/qcoreapplication.cpp:915
#27 0x00007fdba9b360ea in sendEvent (event=0xf7d3f0, receiver=0xf50200) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd794d0) at kernel/qcoreapplication.cpp:1539
#29 0x00007fdba9b61473 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007fdba4c29d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fdba4c2a0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fdba4c2a164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fdba9b6189f in QEventDispatcherGlib::processEvents (this=0xd7acb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fdba8f5bcde in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fdba9b30e42 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fdba9b31097 in QEventLoop::exec (this=0x7fff917b3860, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fdba9b363e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x00007fdbaa25f746 in Akonadi::ResourceBase::init (r=0xf22160) at ../../akonadi/resourcebase.cpp:451
#40 0x000000000041b2c6 in Akonadi::ResourceBase::init&lt;ImapResource&gt; (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /usr/include/akonadi/resourcebase.h:188
#41 0x00007fdba601876d in __libc_start_main (main=0x415500 &lt;main(int, char**)&gt;, argc=3, ubp_av=0x7fff917b39f8, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fff917b39e8) at libc-start.c:226
#42 0x00000000004156b5 in _start ()

Possible duplicates by query: bug 307658, bug 293165, bug 290773, bug 288268.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1345284</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-02-26 03:06:47 +0000</bug_when>
    <thetext>See https://bugs.kde.org/show_bug.cgi?id=312057#c2

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

    </bug>

</bugzilla>