Bug 310990

Summary: Akonadi resources crash after every resum from suspend to ram.
Product: [Frameworks and Libraries] Akonadi Reporter: Marc Schiffbauer <mschiff>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marc Schiffbauer 2012-12-01 16:31:27 UTC
Application: akonadi_imap_resource (4.9)
KDE Platform Version: 4.9.3 (Compiled from sources)
Qt Version: 4.8.3
Operating System: Linux 3.6.6-gentoo x86_64
Distribution: "NAME=Gentoo"

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

This is really annoying. Is it also causing data loss? I dont know. But various akonadi resources are crashing every time I wake up my computer from suspend to ram.

The crash can be reproduced every time.

-- Backtrace:
Application: Becon vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f191913a780 (LWP 13515))]

Thread 2 (Thread 0x7f1906007700 (LWP 23782)):
#0  0x00007f191494f2ad in poll () from /lib64/libc.so.6
#1  0x00007f19138925f6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f1913892724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1918526be6 in QEventDispatcherGlib::processEvents (this=0x7f18f8003200, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f19184f6ab2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f19184f6d07 in QEventLoop::exec (this=0x7f1906006dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f19183f5ef7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f191714506c in KIMAP::SessionThread::run (this=0x21e8160) at /var/tmp/portage/kde-base/kdepimlibs-4.9.49.9999/work/kdepimlibs-4.9.49.9999/kimap/sessionthread.cpp:181
#8  0x00007f19183f8f3c in QThreadPrivate::start (arg=0x21e8160) at thread/qthread_unix.cpp:338
#9  0x00007f19141faea7 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f1914957eed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f191913a780 (LWP 13515)):
[KCrash Handler]
#6  0x00007f191850d3a5 in QObject::connect (sender=0x266afc0, signal=0x47a5f0 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x218c210, method=0x47a530 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#7  0x000000000045d150 in SessionPool::onPasswordRequestDone (this=0x218c210, resultType=<optimized out>, password=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999/resources/imap/sessionpool.cpp:335
#8  0x000000000045ea8c in SessionPool::qt_static_metacall (_o=0x218c210, _c=<optimized out>, _id=9, _a=0x7fffe28e4d60) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999_build/resources/imap/sessionpool.moc:94
#9  0x00007f191850bbc9 in QMetaObject::activate (sender=0x2174300, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe28e4d60) at kernel/qobject.cpp:3547
#10 0x00000000004489d1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999_build/resources/imap/passwordrequesterinterface.moc:118
#11 0x0000000000424f33 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x2174300, password=..., userRejected=false) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999/resources/imap/settingspasswordrequester.cpp:89
#12 0x00007f191850bbc9 in QMetaObject::activate (sender=0x2195340, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe28e4f40) at kernel/qobject.cpp:3547
#13 0x0000000000423711 in Settings::passwordRequestCompleted (this=<optimized out>, _t1=..., _t2=false) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999_build/resources/imap/settings.moc:124
#14 0x0000000000423758 in Settings::requestPassword (this=0x2195340) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999/resources/imap/settings.cpp:114
#15 0x000000000045baa3 in SessionPool::connect (this=0x218c210, account=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999/resources/imap/sessionpool.cpp:102
#16 0x00000000004195fc in ImapResource::startConnect (this=0x20a1080) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999/resources/imap/imapresource.cpp:218
#17 0x000000000041da07 in ImapResource::qt_static_metacall (_o=0x20a1080, _c=<optimized out>, _id=15, _a=0x7fffe28e53d0) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999_build/resources/imap/imapresource.moc:113
#18 0x00007f19184ff9e1 in QMetaMethod::invoke (this=0x7fffe28e5800, object=0x20a1080, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#19 0x00007f1918501c72 in QMetaObject::invokeMethod (obj=0x20a1080, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#20 0x00007f1918c50c2f 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=0x21919c0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.49.9999/work/kdepimlibs-4.9.49.9999/akonadi/resourcescheduler.cpp:348
#22 0x00007f1918c51ec8 in Akonadi::ResourceScheduler::qt_static_metacall (_o=0x21919c0, _c=<optimized out>, _id=18, _a=0x24835c0) at /var/tmp/portage/kde-base/kdepimlibs-4.9.49.9999/work/kdepimlibs-4.9.49.9999_build/akonadi/resourcescheduler_p.moc:102
#23 0x00007f1918510d96 in QObject::event (this=0x21919c0, e=<optimized out>) at kernel/qobject.cpp:1195
#24 0x00007f19178a47b4 in notify_helper (e=0x2279740, receiver=0x21919c0, this=0x1fc8340) at kernel/qapplication.cpp:4557
#25 QApplicationPrivate::notify_helper (this=0x1fc8340, receiver=0x21919c0, e=0x2279740) at kernel/qapplication.cpp:4529
#26 0x00007f19178a94d1 in QApplication::notify (this=0x7fffe28e79a0, receiver=0x21919c0, e=0x2279740) at kernel/qapplication.cpp:3939
#27 0x00007f19158bfe56 in KApplication::notify (this=0x7fffe28e79a0, receiver=0x21919c0, event=0x2279740) at /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999/kdeui/kernel/kapplication.cpp:311
#28 0x00007f19184f7f5c in QCoreApplication::notifyInternal (this=0x7fffe28e79a0, receiver=0x21919c0, event=0x2279740) at kernel/qcoreapplication.cpp:915
#29 0x00007f19184fb7ba in sendEvent (event=0x2279740, receiver=0x21919c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x1fa04d0) at kernel/qcoreapplication.cpp:1539
#31 0x00007f1918526763 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#33 0x00007f1913892313 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f1913892660 in ?? () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f1913892724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f1918526b7f in QEventDispatcherGlib::processEvents (this=0x1fa1cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#37 0x00007f19179479de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f19184f6ab2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f19184f6d07 in QEventLoop::exec (this=0x7fffe28e6540, flags=...) at kernel/qeventloop.cpp:204
#40 0x00007f1917d520a6 in QDialog::exec (this=0x24b3420) at dialogs/qdialog.cpp:554
#41 0x00007f1915812faa in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x7fffe28e6d6f, options=..., details=..., notifyType=QMessageBox::Information) at /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999/kdeui/dialogs/kmessagebox.cpp:344
#42 0x00007f191581379c in KMessageBox::createKMessageBox (dialog=0x24b3420, icon=QMessageBox::Information, text=..., strlist=..., ask=..., checkboxReturn=0x7fffe28e6d6f, options=..., details=...) at /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999/kdeui/dialogs/kmessagebox.cpp:159
#43 0x00007f1915815ec8 in KMessageBox::questionYesNoCancelWId (parent_id=0, text=..., caption=..., buttonYes_=..., buttonNo_=..., buttonCancel_=..., dontAskAgainName=..., options=...) at /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999/kdeui/dialogs/kmessagebox.cpp:548
#44 0x000000000042490c in SettingsPasswordRequester::askUserInput (this=0x2174300, serverError=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.9.49.9999/work/kdepim-runtime-4.9.49.9999/resources/imap/settingspasswordrequester.cpp:61
#45 0x00007f1918510d96 in QObject::event (this=0x2174300, e=<optimized out>) at kernel/qobject.cpp:1195
#46 0x00007f19178a47b4 in notify_helper (e=0x2284ad0, receiver=0x2174300, this=0x1fc8340) at kernel/qapplication.cpp:4557
#47 QApplicationPrivate::notify_helper (this=0x1fc8340, receiver=0x2174300, e=0x2284ad0) at kernel/qapplication.cpp:4529
#48 0x00007f19178a94d1 in QApplication::notify (this=0x7fffe28e79a0, receiver=0x2174300, e=0x2284ad0) at kernel/qapplication.cpp:3939
#49 0x00007f19158bfe56 in KApplication::notify (this=0x7fffe28e79a0, receiver=0x2174300, event=0x2284ad0) at /var/tmp/portage/kde-base/kdelibs-4.9.49.9999/work/kdelibs-4.9.49.9999/kdeui/kernel/kapplication.cpp:311
#50 0x00007f19184f7f5c in QCoreApplication::notifyInternal (this=0x7fffe28e79a0, receiver=0x2174300, event=0x2284ad0) at kernel/qcoreapplication.cpp:915
#51 0x00007f19184fb7ba in sendEvent (event=0x2284ad0, receiver=0x2174300) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x1fa04d0) at kernel/qcoreapplication.cpp:1539
#53 0x00007f1918526763 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#54 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#55 0x00007f1913892313 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f1913892660 in ?? () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f1913892724 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#58 0x00007f1918526b7f in QEventDispatcherGlib::processEvents (this=0x1fa1cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f19179479de in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f19184f6ab2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f19184f6d07 in QEventLoop::exec (this=0x7fffe28e7920, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f19184fbad5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#63 0x00007f1918c40d86 in Akonadi::ResourceBase::init (r=0x20a1080) at /var/tmp/portage/kde-base/kdepimlibs-4.9.49.9999/work/kdepimlibs-4.9.49.9999/akonadi/resourcebase.cpp:451
#64 0x000000000041e026 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#65 0x00007f191489191d in __libc_start_main () from /lib64/libc.so.6
#66 0x0000000000417e11 in _start ()

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

Possible duplicates by query: bug 310986, bug 310222, bug 308887, bug 307476, bug 307269.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-12-01 18:37:15 UTC

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