Bug 307269

Summary: IMAP resource crashed while doing nothing
Product: [Frameworks and Libraries] Akonadi Reporter: Kai Krakow <kai>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Krakow 2012-09-23 14:03:29 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.3-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

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

Kontact was running idle since a few hours or even days when its IMAP resource suddenly crashed for no apparent reason.

The crash can be reproduced some of the time.

-- Backtrace:
Application: netactive vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f64251fa780 (LWP 16904))]

Thread 2 (Thread 0x7f640aa22700 (LWP 7613)):
#0  0x00007f6420b081e3 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f641fa476f6 in g_main_context_poll (n_fds=1, fds=0x7f6400009c20, timeout=-1, context=0x7f6400012300, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=0x7f6400012300, block=1, dispatch=1, self=<optimized out>) at gmain.c:3141
#3  0x00007f641fa47814 in g_main_context_iteration (context=0x7f6400012300, may_block=1) at gmain.c:3207
#4  0x00007f642462a946 in QEventDispatcherGlib::processEvents (this=0x7f6400005460, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f64245fa302 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f64245fa5bd in QEventLoop::exec (this=0x7f640aa21de0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f64244f60f8 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f6423200469 in KIMAP::SessionThread::run (this=0x261f450) at /var/tmp/portage/kde-base/kdepimlibs-4.8.5/work/kdepimlibs-4.8.5/kimap/sessionthread.cpp:181
#9  0x00007f64244f877b in QThreadPrivate::start (arg=0x261f450) at thread/qthread_unix.cpp:307
#10 0x00007f64203b3da6 in start_thread (arg=0x7f640aa22700) at pthread_create.c:305
#11 0x00007f6420b1110d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f64251fa780 (LWP 16904)):
[KCrash Handler]
#6  0x0000000000000417 in ?? ()
#7  0x00007f6424614c27 in QObject::connect (sender=0x274f730, signal=0x468208 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x260fb80, method=0x4681c0 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#8  0x0000000000455936 in SessionPool::onPasswordRequestDone (this=0x260fb80, resultType=<optimized out>, password=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/sessionpool.cpp:335
#9  0x000000000045749f in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5_build/resources/imap/sessionpool.moc:94
#10 0x00007f6424610e92 in QMetaObject::activate (sender=0x260d240, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc118e090) at kernel/qobject.cpp:3547
#11 0x0000000000443741 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5_build/resources/imap/passwordrequesterinterface.moc:118
#12 0x00000000004230c2 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x260d240, password=..., userRejected=false) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/settingspasswordrequester.cpp:89
#13 0x00007f6424610e92 in QMetaObject::activate (sender=0x2610380, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc118e290) at kernel/qobject.cpp:3547
#14 0x00000000004219e1 in Settings::passwordRequestCompleted (this=<optimized out>, _t1=<optimized out>, _t2=false) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5_build/resources/imap/settings.moc:124
#15 0x0000000000421a28 in Settings::requestPassword (this=0x2610380) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/settings.cpp:114
#16 0x0000000000454596 in SessionPool::connect (this=0x260fb80, account=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/sessionpool.cpp:102
#17 0x0000000000418904 in ImapResource::startConnect (this=0x25ddaf0) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/imapresource.cpp:216
#18 0x00007f64246049fc in QMetaMethod::invoke (this=0x7fffc118eb40, object=0x25ddaf0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#19 0x00007f642460578f in QMetaObject::invokeMethod (obj=0x25ddaf0, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#20 0x00007f6424d44193 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=<optimized out>, obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#21 Akonadi::ResourceScheduler::executeNext (this=0x2612f30) at /var/tmp/portage/kde-base/kdepimlibs-4.8.5/work/kdepimlibs-4.8.5/akonadi/resourcescheduler.cpp:328
#22 0x00007f6424d453d5 in Akonadi::ResourceScheduler::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.8.5/work/kdepimlibs-4.8.5_build/akonadi/resourcescheduler_p.moc:99
#23 0x00007f64246102b6 in QObject::event (this=0x2612f30, e=<optimized out>) at kernel/qobject.cpp:1195
#24 0x00007f6423951894 in QApplicationPrivate::notify_helper (this=0x24000f0, receiver=0x2612f30, e=0x262a0f0) at kernel/qapplication.cpp:4551
#25 0x00007f64239563ed in QApplication::notify (this=<optimized out>, receiver=0x2612f30, e=0x262a0f0) at kernel/qapplication.cpp:4412
#26 0x00007f6421a3a8e6 in KApplication::notify (this=0x7fffc1190f30, receiver=0x2612f30, event=0x262a0f0) at /var/tmp/portage/kde-base/kdelibs-4.8.5/work/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#27 0x00007f64245fb5ac in QCoreApplication::notifyInternal (this=0x7fffc1190f30, receiver=0x2612f30, event=0x262a0f0) at kernel/qcoreapplication.cpp:915
#28 0x00007f64245feba0 in sendEvent (event=0x262a0f0, receiver=0x2612f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x23d64d0) at kernel/qcoreapplication.cpp:1539
#30 0x00007f642462a753 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#32 0x00007f641fa47413 in g_main_dispatch (context=0x2401140) at gmain.c:2539
#33 g_main_context_dispatch (context=0x2401140) at gmain.c:3075
#34 0x00007f641fa47758 in g_main_context_iterate (context=0x2401140, block=1, dispatch=1, self=<optimized out>) at gmain.c:3146
#35 0x00007f641fa47814 in g_main_context_iteration (context=0x2401140, may_block=1) at gmain.c:3207
#36 0x00007f642462a8ef in QEventDispatcherGlib::processEvents (this=0x23d7cb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f64239f7bfe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f64245fa302 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f64245fa5bd in QEventLoop::exec (this=0x7fffc118f970, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f6423e2e0ce in QDialog::exec (this=0x256da60) at dialogs/qdialog.cpp:554
#41 0x00007f64219a45fa in KMessageBox::createKMessageBox (dialog=0x256da60, icon=<optimized out>, text=..., strlist=<optimized out>, ask=..., checkboxReturn=0x7fffc11901ff, options=..., details=..., notifyType=QMessageBox::Information) at /var/tmp/portage/kde-base/kdelibs-4.8.5/work/kdelibs-4.8.5/kdeui/dialogs/kmessagebox.cpp:344
#42 0x00007f64219a4e24 in KMessageBox::createKMessageBox (dialog=0x256da60, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fffc11901ff, options=..., details=...) at /var/tmp/portage/kde-base/kdelibs-4.8.5/work/kdelibs-4.8.5/kdeui/dialogs/kmessagebox.cpp:159
#43 0x00007f64219a7183 in KMessageBox::questionYesNoCancelWId (parent_id=0, text=..., caption=..., buttonYes_=<optimized out>, buttonNo_=<optimized out>, buttonCancel_=<optimized out>, dontAskAgainName=..., options=...) at /var/tmp/portage/kde-base/kdelibs-4.8.5/work/kdelibs-4.8.5/kdeui/dialogs/kmessagebox.cpp:548
#44 0x0000000000422aba in SettingsPasswordRequester::askUserInput (this=0x260d240, serverError=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/settingspasswordrequester.cpp:61
#45 0x00007f64246102b6 in QObject::event (this=0x260d240, e=<optimized out>) at kernel/qobject.cpp:1195
#46 0x00007f6423951894 in QApplicationPrivate::notify_helper (this=0x24000f0, receiver=0x260d240, e=0x2637b80) at kernel/qapplication.cpp:4551
#47 0x00007f64239563ed in QApplication::notify (this=<optimized out>, receiver=0x260d240, e=0x2637b80) at kernel/qapplication.cpp:4412
#48 0x00007f6421a3a8e6 in KApplication::notify (this=0x7fffc1190f30, receiver=0x260d240, event=0x2637b80) at /var/tmp/portage/kde-base/kdelibs-4.8.5/work/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#49 0x00007f64245fb5ac in QCoreApplication::notifyInternal (this=0x7fffc1190f30, receiver=0x260d240, event=0x2637b80) at kernel/qcoreapplication.cpp:915
#50 0x00007f64245feba0 in sendEvent (event=0x2637b80, receiver=0x260d240) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x23d64d0) at kernel/qcoreapplication.cpp:1539
#52 0x00007f642462a753 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#53 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#54 0x00007f641fa47413 in g_main_dispatch (context=0x2401140) at gmain.c:2539
#55 g_main_context_dispatch (context=0x2401140) at gmain.c:3075
#56 0x00007f641fa47758 in g_main_context_iterate (context=0x2401140, block=1, dispatch=1, self=<optimized out>) at gmain.c:3146
#57 0x00007f641fa47814 in g_main_context_iteration (context=0x2401140, may_block=1) at gmain.c:3207
#58 0x00007f642462a8ef in QEventDispatcherGlib::processEvents (this=0x23d7cb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f64239f7bfe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f64245fa302 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f64245fa5bd in QEventLoop::exec (this=0x7fffc1190ea0, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f64245ff03b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#63 0x00007f6424d38076 in Akonadi::ResourceBase::init (r=0x25ddaf0) at /var/tmp/portage/kde-base/kdepimlibs-4.8.5/work/kdepimlibs-4.8.5/akonadi/resourcebase.cpp:412
#64 0x0000000000419d38 in init<ImapResource> (argv=<optimized out>, argc=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#65 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/imapresource.cpp:607

This bug may be a duplicate of or related to bug 293633.

Possible duplicates by query: bug 303952, bug 302148, bug 300613, bug 299281, bug 298326.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-10-03 10:14:33 UTC

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