Bug 306040

Summary: IMAP resource crashed while closing Kontact
Product: [Frameworks and Libraries] Akonadi Reporter: Diego <diego.ml>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Diego 2012-08-30 17:18:05 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.2
Operating System: Linux 3.5.2-3.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

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

IMAP resource crashed when I closed Kontact. I had problem sending an email before this happened (Compose window greyed out after clicking "send", and it stayed there forever).

-- Backtrace:
Application: Kynetics-us.com IMAP di tipo Server di posta IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fd0d517d880 (LWP 1884))]

Thread 2 (Thread 0x7fd0c7dcf700 (LWP 14041)):
#0  g_mutex_get_impl (mutex=0x7fd0c01a8b00) at gthread-posix.c:118
#1  0x00007fd0dd236729 in g_mutex_unlock (mutex=mutex@entry=0x7fd0c01a8b00) at gthread-posix.c:227
#2  0x00007fd0dd1fa15d in g_main_context_prepare (context=context@entry=0x7fd0c01a8b00, priority=priority@entry=0x7fd0c7dceba8) at gmain.c:2872
#3  0x00007fd0dd1fa88b in g_main_context_iterate (context=context@entry=0x7fd0c01a8b00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3126
#4  0x00007fd0dd1faa84 in g_main_context_iteration (context=0x7fd0c01a8b00, may_block=1) at gmain.c:3207
#5  0x00007fd0e2821506 in QEventDispatcherGlib::processEvents (this=0x7fd0c000c140, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fd0e27f213f in QEventLoop::processEvents (this=this@entry=0x7fd0c7dced00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd0e27f23c8 in QEventLoop::exec (this=0x7fd0c7dced00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd0e26f5650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fd0e12536b9 in KIMAP::SessionThread::run (this=0x128cda0) at /usr/src/debug/kdepimlibs-4.8.5/kimap/sessionthread.cpp:181
#10 0x00007fd0e26f85eb in QThreadPrivate::start (arg=0x128cda0) at thread/qthread_unix.cpp:307
#11 0x00007fd0e2468d14 in start_thread (arg=0x7fd0c7dcf700) at pthread_create.c:309
#12 0x00007fd0de48267d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fd0d517d880 (LWP 1884)):
[KCrash Handler]
#6  0x00007fd0e2b45810 in vtable for QSettings () from /lib64/libQtCore.so.4
#7  0x00007fd0e28094d1 in QObject::disconnect (sender=0x1103fc0, signal=0x12823a9 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x11f9820, method=0x11fba89 "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at kernel/qobject.cpp:2891
#8  0x0000000000452765 in SessionPool::killSession (this=this@entry=0x11f9820, session=0x1103fc0, termination=termination@entry=SessionPool::LogoutSession) at /usr/src/debug/kdepim-runtime-4.8.5/resources/imap/sessionpool.cpp:176
#9  0x0000000000452b2d in SessionPool::disconnect (this=0x11f9820, termination=SessionPool::LogoutSession) at /usr/src/debug/kdepim-runtime-4.8.5/resources/imap/sessionpool.cpp:117
#10 0x000000000041942b in ImapResource::doSetOnline (this=0x122f950, online=false) at /usr/src/debug/kdepim-runtime-4.8.5/resources/imap/imapresource.cpp:427
#11 0x00007fd0e2e4ee4b in Akonadi::AgentBase::setOnline (this=0x122f950, state=false) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/agentbase.cpp:631
#12 0x00007fd0e2f8b89c in Akonadi__StatusAdaptor::qt_static_metacall (_o=0x1103fc0, _o@entry=0x11eead0, _c=3530683664, _c@entry=QMetaObject::InvokeMetaMethod, _id=1, _a=0x11fba88, _a@entry=0x7fffd271f8b0) at /usr/src/debug/kdepimlibs-4.8.5/x86_64-redhat-linux-gnu/akonadi/statusadaptor.moc:105
#13 0x00007fd0e2f8ba3b in Akonadi__StatusAdaptor::qt_metacall (this=0x11eead0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffd271f8b0) at /usr/src/debug/kdepimlibs-4.8.5/x86_64-redhat-linux-gnu/akonadi/statusadaptor.moc:148
#14 0x00007fd0e2b6ce53 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x10f1280, object=object@entry=0x11eead0, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:947
#15 0x00007fd0e2b6df55 in QDBusConnectionPrivate::activateCall (this=this@entry=0x10f1280, object=0x11eead0, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:857
#16 0x00007fd0e2b6e8c6 in QDBusConnectionPrivate::activateObject (this=0x10f1280, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#17 0x00007fd0e2b6e9bb in QDBusActivateObjectEvent::placeMetaCall (this=0x1289d10) at qdbusintegrator.cpp:1537
#18 0x00007fd0e2807cee in QObject::event (this=0x122f950, e=<optimized out>) at kernel/qobject.cpp:1195
#19 0x00007fd0e198a37c in QApplicationPrivate::notify_helper (this=this@entry=0x107d360, receiver=receiver@entry=0x122f950, e=e@entry=0x1289d10) at kernel/qapplication.cpp:4551
#20 0x00007fd0e198e7fa in QApplication::notify (this=0x7fffd2720490, receiver=0x122f950, e=0x1289d10) at kernel/qapplication.cpp:4412
#21 0x00007fd0df8c92b6 in KApplication::notify (this=0x7fffd2720490, receiver=0x122f950, event=0x1289d10) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#22 0x00007fd0e27f33ee in QCoreApplication::notifyInternal (this=0x7fffd2720490, receiver=receiver@entry=0x122f950, event=event@entry=0x1289d10) at kernel/qcoreapplication.cpp:915
#23 0x00007fd0e27f6ea1 in sendEvent (event=0x1289d10, receiver=0x122f950) at kernel/qcoreapplication.h:231
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x104c8e0) at kernel/qcoreapplication.cpp:1539
#25 0x00007fd0e2821353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#26 postEventSourceDispatch (s=s@entry=0x1077b10) at kernel/qeventdispatcher_glib.cpp:279
#27 0x00007fd0dd1fa695 in g_main_dispatch (context=0x107b0f0) at gmain.c:2539
#28 g_main_context_dispatch (context=context@entry=0x107b0f0) at gmain.c:3075
#29 0x00007fd0dd1fa9c8 in g_main_context_iterate (context=context@entry=0x107b0f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#30 0x00007fd0dd1faa84 in g_main_context_iteration (context=0x107b0f0, may_block=1) at gmain.c:3207
#31 0x00007fd0e28214e6 in QEventDispatcherGlib::processEvents (this=0x104e140, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007fd0e1a2a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#33 0x00007fd0e27f213f in QEventLoop::processEvents (this=this@entry=0x7fffd2720410, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007fd0e27f23c8 in QEventLoop::exec (this=0x7fffd2720410, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007fd0e27f71b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#36 0x00007fd0e2f180e3 in Akonadi::ResourceBase::init (r=0x122f950) at /usr/src/debug/kdepimlibs-4.8.5/akonadi/resourcebase.cpp:412
#37 0x000000000041a753 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:188
#38 0x00007fd0de3b2735 in __libc_start_main (main=0x415220 <main(int, char**)>, argc=3, ubp_av=0x7fffd27205a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd2720598) at libc-start.c:226
#39 0x00000000004153d5 in _start ()

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-02 06:56:06 UTC

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