Bug 209109 - IMAP account disconnecting in akonadi
Summary: IMAP account disconnecting in akonadi
Status: RESOLVED DUPLICATE of bug 205480
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.3
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-01 16:01 UTC by Matthew Dawson
Modified: 2009-10-01 16:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Dawson 2009-10-01 16:01:23 UTC
Application that crashed: akonadi_imap_resource
Version of the application: 0.1
KDE Version: 4.3.1 (KDE 4.3.1)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

What I was doing when the application crashed:
After creating a new imap resource in akonadi, I had incorrectly typed in some piece of authentication information.  Akonadi prompted me to change the settings, and I tried retyping the information.  Upon clicking ok, the resource crashed with this backtrace.

 -- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f97c1da4750 (LWP 25827))]

Thread 3 (Thread 0x7f97af778950 (LWP 25832)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f97c134d469 in QWaitConditionPrivate::wait (this=0x22945a0, mutex=0x2294598, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x22945a0, mutex=0x2294598, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f97c0439024 in QHostInfoAgent::run (this=0x2294580) at kernel/qhostinfo.cpp:260
#4  0x00007f97c134c475 in QThreadPrivate::start (arg=0x2294580) at thread/qthread_unix.cpp:188
#5  0x00007f97bce54f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f97be0ba56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f97aece5950 (LWP 25841)):
#0  0xffffffffff600132 in ?? ()
#1  0x00007fff333d86fb in ?? ()
#2  0x00007f97bd331eef in *__GI_clock_gettime (clock_id=-1362211344, tp=0x7f97aece4df0) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007f97c145c7dd in QTimerInfoList::getTime (this=<value optimized out>, t=...) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f97c145c9c1 in QTimerInfoList::updateCurrentTime (this=0x7f97aece4df0) at kernel/qeventdispatcher_unix.cpp:297
#5  0x00007f97c145e8c3 in QTimerInfoList::timerWait (this=0x7f97aece4df0, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#6  0x00007f97c145adcd in timerSourcePrepare (source=<value optimized out>, timeout=0x7f97aece4ee4) at kernel/qeventdispatcher_glib.cpp:141
#7  0x00007f97bd0a72e9 in IA__g_main_context_prepare (context=0x2033820, priority=0x7f97aece4f64) at /tmp/buildd/glib2.0-2.22.0/glib/gmain.c:2280
#8  0x00007f97bd0a7679 in g_main_context_iterate (context=0x2033820, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.22.0/glib/gmain.c:2571
#9  0x00007f97bd0a7b3c in IA__g_main_context_iteration (context=0x2033820, may_block=1) at /tmp/buildd/glib2.0-2.22.0/glib/gmain.c:2654
#10 0x00007f97c145ac1e in QEventDispatcherGlib::processEvents (this=0x1e1e6d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#11 0x00007f97c1430de2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f97c14311b4 in QEventLoop::exec (this=0x7f97aece5070, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007f97c1349558 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007f97c017d481 in KIMAP::SessionThread::run (this=0x2359d60) at ../../kimap/sessionthread.cpp:155
#15 0x00007f97c134c475 in QThreadPrivate::start (arg=0x2359d60) at thread/qthread_unix.cpp:188
#16 0x00007f97bce54f9a in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f97be0ba56d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f97c1da4750 (LWP 25827)):
[KCrash Handler]
#5  QMetaObject::indexOfSlot (this=0x1, slot=0x434068 "deleteLater()") at kernel/qmetaobject.cpp:614
#6  0x00007f97c1443b1e in QObject::connect (sender=0x23d2150, signal=0x229dfa9 "result(KJob*)", receiver=0x2359b90, method=0x434068 "deleteLater()", type=Qt::AutoConnection)
    at kernel/qobject.cpp:2493
#7  0x0000000000414e44 in ImapAccount::disconnect (this=0x2359a30) at ../../../resources/imap/imapaccount.cpp:294
#8  0x0000000000415c82 in ImapAccount::onLoginDone (this=0x2359a30, job=<value optimized out>) at ../../../resources/imap/imapaccount.cpp:235
#9  0x0000000000415d60 in ImapAccount::qt_metacall (this=0x2359a30, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fff3320f0c0) at ./imapaccount.moc:89
#10 0x00007f97c1447682 in QMetaObject::activate (sender=0x23dfe20, from_signal_index=<value optimized out>, to_signal_index=7, argv=0x1) at kernel/qobject.cpp:3112
#11 0x00007f97be95ddf2 in KJob::result (this=0x1, _t1=0x23dfe20) at ./kjob.moc:188
#12 0x00007f97be95e16f in KJob::emitResult (this=0x23dfe20) at ../../kdecore/jobs/kjob.cpp:304
#13 0x00007f97c01761f0 in KIMAP::LoginJob::handleResponse (this=0x23dfe20, response=...) at ../../kimap/loginjob.cpp:263
#14 0x00007f97c017c76e in KIMAP::SessionPrivate::responseReceived (this=0x23590e0, response=...) at ../../kimap/session.cpp:193
#15 0x00007f97c017ce86 in KIMAP::Session::qt_metacall (this=0x2359b90, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x22a4540) at ./session.moc:92
#16 0x00007f97c1441f68 in QObject::event (this=0x2359b90, e=0x22a4190) at kernel/qobject.cpp:1110
#17 0x00007f97c08aa80d in QApplicationPrivate::notify_helper (this=0x1dcc250, receiver=0x2359b90, e=0x22a4190) at kernel/qapplication.cpp:4056
#18 0x00007f97c08b286a in QApplication::notify (this=0x7fff3320ff00, receiver=0x2359b90, e=0x22a4190) at kernel/qapplication.cpp:4021
#19 0x00007f97bef0e43b in KApplication::notify (this=0x7fff3320ff00, receiver=0x2359b90, event=0x22a4190) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f97c143251c in QCoreApplication::notifyInternal (this=0x7fff3320ff00, receiver=0x2359b90, event=0x22a4190) at kernel/qcoreapplication.cpp:610
#21 0x00007f97c1433164 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1db3d50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1db3d50) at kernel/qcoreapplication.cpp:1247
#23 0x00007f97c145af73 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#24 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#25 0x00007f97bd0a412a in g_main_dispatch (context=0x1dced20) at /tmp/buildd/glib2.0-2.22.0/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x1dced20) at /tmp/buildd/glib2.0-2.22.0/glib/gmain.c:2513
#27 0x00007f97bd0a7988 in g_main_context_iterate (context=0x1dced20, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.22.0/glib/gmain.c:2591
#28 0x00007f97bd0a7b3c in IA__g_main_context_iteration (context=0x1dced20, may_block=1) at /tmp/buildd/glib2.0-2.22.0/glib/gmain.c:2654
#29 0x00007f97c145abff in QEventDispatcherGlib::processEvents (this=0x1db3980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#30 0x00007f97c094164f in QGuiEventDispatcherGlib::processEvents (this=0x1, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#31 0x00007f97c1430de2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f97c14311b4 in QEventLoop::exec (this=0x7fff3320fe90, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f97c1433424 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0x00007f97c1a6cff2 in Akonadi::ResourceBase::init (r=0x1e6b030) at ../../akonadi/resourcebase.cpp:208
#35 0x000000000041c068 in Akonadi::ResourceBase::init<ImapResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:185
#36 main (argc=<value optimized out>, argv=<value optimized out>) at ../../../resources/imap/imapresource.cpp:1111

Reported using DrKonqi
Comment 1 Christophe Marin 2009-10-01 16:09:18 UTC

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