Bug 308602

Summary: KMail crash after close window
Product: [Frameworks and Libraries] Akonadi Reporter: Yonnys <wyxknouth>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Yonnys 2012-10-18 13:06:56 UTC
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 "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdbaa747780 (LWP 2727))]

Thread 2 (Thread 0x7fdb9705a700 (LWP 7109)):
#0  0x00007fdba60df403 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) 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=<optimized out>, 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=<optimized out>) 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<4> (normalizeStringData=false, method=0xfb7699 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", baseObject=0x7fff917b2750) at kernel/qmetaobject.cpp:525
#7  QMetaObjectPrivate::indexOfSignalRelative (baseObject=0x7fff917b2750, signal=0xfb7699 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", normalizeStringData=false) at kernel/qmetaobject.cpp:628
#8  0x00007fdba9b46017 in QObject::disconnect (sender=0x1100a90, signal=0xfb7699 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0xf4b260, method=0x10c4cf9 "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") 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=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./agentbase.moc:102
#14 0x00007fdba9b46761 in QMetaObject::activate (sender=0xf50700, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff917b2a80) at kernel/qobject.cpp:3547
#15 0x00007fdba767511e in Solid::Networking::Notifier::statusChanged (this=<optimized out>, _t1=Solid::Networking::Unconnected) at ./networking.moc:104
#16 0x00007fdba9b46761 in QMetaObject::activate (sender=0xf50200, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff917b2bd0) at kernel/qobject.cpp:3547
#17 0x00007fdba76dad3e in OrgKdeSolidNetworkingClientInterface::statusChanged (this=<optimized out>, _t1=1) at org_kde_solid_networking_client.moc:132
#18 0x00007fdba76dad8e in OrgKdeSolidNetworkingClientInterface::qt_static_metacall (_o=0xf50200, _c=<optimized out>, _id=<optimized out>, _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=<optimized out>) 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=<optimized out>) 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=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fdba9b30e42 in QEventLoop::processEvents (this=<optimized out>, 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<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#41 0x00007fdba601876d in __libc_start_main (main=0x415500 <main(int, char**)>, argc=3, ubp_av=0x7fff917b39f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 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
Comment 1 Jekyll Wu 2013-02-26 03:06:47 UTC
See https://bugs.kde.org/show_bug.cgi?id=312057#c2

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