Bug 305691

Summary: Crash after unverified SSL certificate
Product: [Frameworks and Libraries] Akonadi Reporter: Dominic Lyons <domlyons>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dk9he, kdepim-bugs, vkrause
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Dominic Lyons 2012-08-23 23:31:11 UTC
Application: akonadi_imap_resource (4.9)
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

Akonadi keeped going on and d on claiming that the SSL certificate of the mailserver is invali (or could not be verified). After canceling these messages away the agent crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: peex.eu vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f45d2640c90 in vtable for Oxygen::WidgetStateData () from /usr/lib/kde4/plugins/styles/oxygen.so
#7  0x00007f45df7d1b04 in QObject::disconnect (sender=0xbe9c50, signal=0xd70009 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0xc8f5a0, method=0xe0cc69 "onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)") at kernel/qobject.cpp:2891
#8  0x0000000000455625 in SessionPool::killSession (this=0xc8f5a0, session=0xbe9c50, termination=SessionPool::LogoutSession) at ../../../resources/imap/sessionpool.cpp:176
#9  0x0000000000456027 in SessionPool::cancelSessionCreation (this=0xc8f5a0, session=0xbe9c50, errorCode=4, errorMessage=...) at ../../../resources/imap/sessionpool.cpp:233
#10 0x0000000000456350 in SessionPool::onPasswordRequestDone (this=0xc8f5a0, resultType=<optimized out>, password=...) at ../../../resources/imap/sessionpool.cpp:308
#11 0x0000000000457f07 in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./sessionpool.moc:94
#12 0x00007f45df7d2281 in QMetaObject::activate (sender=0xc8aab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff40f1fa00) at kernel/qobject.cpp:3547
#13 0x0000000000443251 in PasswordRequesterInterface::done (this=<optimized out>, _t1=2, _t2=...) at ./passwordrequesterinterface.moc:118
#14 0x000000000042168a in SettingsPasswordRequester::askUserInput (this=0xc8aab0, serverError=...) at ../../../resources/imap/settingspasswordrequester.cpp:75
#15 0x00007f45df7d7446 in QObject::event (this=0xc8aab0, e=<optimized out>) at kernel/qobject.cpp:1195
#16 0x00007f45deb40894 in notify_helper (e=0xde55d0, receiver=0xc8aab0, this=0xaedee0) at kernel/qapplication.cpp:4559
#17 QApplicationPrivate::notify_helper (this=0xaedee0, receiver=0xc8aab0, e=0xde55d0) at kernel/qapplication.cpp:4531
#18 0x00007f45deb45713 in QApplication::notify (this=0x7fff40f23720, receiver=0xc8aab0, e=0xde55d0) at kernel/qapplication.cpp:4420
#19 0x00007f45dcc69456 in KApplication::notify (this=0x7fff40f23720, receiver=0xc8aab0, event=0xde55d0) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f45df7bde9c in QCoreApplication::notifyInternal (this=0x7fff40f23720, receiver=0xc8aab0, event=0xde55d0) at kernel/qcoreapplication.cpp:876
#21 0x00007f45df7c1c6a in sendEvent (event=0xde55d0, receiver=0xc8aab0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xac14d0) at kernel/qcoreapplication.cpp:1500
#23 0x00007f45df7ecf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#25 0x00007f45da8bad53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f45da8bb0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f45da8bb164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f45df7ed3bf in QEventDispatcherGlib::processEvents (this=0xac2cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#29 0x00007f45debe8d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f45df7bcc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f45df7bced7 in QEventLoop::exec (this=0x7fff40f20540, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f45df010936 in QDialog::exec (this=0xc69a90) at dialogs/qdialog.cpp:554
#33 0x00007f45dcbd06da in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x7fff40f20d3f, options=..., details=..., notifyType=QMessageBox::Warning) at ../../kdeui/dialogs/kmessagebox.cpp:344
#34 0x00007f45dcbd0eb4 in KMessageBox::createKMessageBox (dialog=0xc69a90, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x7fff40f20d3f, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#35 0x00007f45dcbd23a5 in KMessageBox::warningYesNoCancelListWId (parent_id=0, text=..., strlist=..., caption=..., buttonYes_=..., buttonNo_=..., buttonCancel_=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:802
#36 0x00007f45dcbd25d5 in KMessageBox::warningYesNoCancelList (parent=<optimized out>, text=..., strlist=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:760
#37 0x00007f45dcbd2661 in KMessageBox::warningYesNoCancel (parent=<optimized out>, text=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:735
#38 0x00007f45ddeb7451 in KIO::SslUi::askIgnoreSslErrors (uiData=..., storedRules=KIO::SslUi::RecallAndStoreRules) at ../../kio/kssl/sslui.cpp:82
#39 0x00007f45de3ef2ca in KIMAP::SessionPrivate::handleSslError (this=0xe06990, errorData=...) at ../../kimap/session.cpp:118
#40 0x00007f45df7d7446 in QObject::event (this=0xdb94a0, e=<optimized out>) at kernel/qobject.cpp:1195
#41 0x00007f45deb40894 in notify_helper (e=0x7f45c001f940, receiver=0xdb94a0, this=0xaedee0) at kernel/qapplication.cpp:4559
#42 QApplicationPrivate::notify_helper (this=0xaedee0, receiver=0xdb94a0, e=0x7f45c001f940) at kernel/qapplication.cpp:4531
#43 0x00007f45deb45713 in QApplication::notify (this=0x7fff40f23720, receiver=0xdb94a0, e=0x7f45c001f940) at kernel/qapplication.cpp:4420
#44 0x00007f45dcc69456 in KApplication::notify (this=0x7fff40f23720, receiver=0xdb94a0, event=0x7f45c001f940) at ../../kdeui/kernel/kapplication.cpp:311
#45 0x00007f45df7bde9c in QCoreApplication::notifyInternal (this=0x7fff40f23720, receiver=0xdb94a0, event=0x7f45c001f940) at kernel/qcoreapplication.cpp:876
#46 0x00007f45df7c1c6a in sendEvent (event=0x7f45c001f940, receiver=0xdb94a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#47 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xac14d0) at kernel/qcoreapplication.cpp:1500
#48 0x00007f45df7ecf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#49 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#50 0x00007f45da8bad53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f45da8bb0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f45da8bb164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f45df7ed3bf in QEventDispatcherGlib::processEvents (this=0xac2cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#54 0x00007f45debe8d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f45df7bcc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007f45df7bced7 in QEventLoop::exec (this=0x7fff40f21df0, flags=...) at kernel/qeventloop.cpp:204
#57 0x00007f45df010936 in QDialog::exec (this=0xd5f900) at dialogs/qdialog.cpp:554
#58 0x00007f45dcbd06da in KMessageBox::createKMessageBox (dialog=<optimized out>, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x7fff40f225ef, options=..., details=..., notifyType=QMessageBox::Warning) at ../../kdeui/dialogs/kmessagebox.cpp:344
#59 0x00007f45dcbd0eb4 in KMessageBox::createKMessageBox (dialog=0xd5f900, icon=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=0x7fff40f225ef, options=..., details=...) at ../../kdeui/dialogs/kmessagebox.cpp:159
#60 0x00007f45dcbd23a5 in KMessageBox::warningYesNoCancelListWId (parent_id=0, text=..., strlist=..., caption=..., buttonYes_=..., buttonNo_=..., buttonCancel_=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:802
#61 0x00007f45dcbd25d5 in KMessageBox::warningYesNoCancelList (parent=<optimized out>, text=..., strlist=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:760
#62 0x00007f45dcbd2661 in KMessageBox::warningYesNoCancel (parent=<optimized out>, text=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at ../../kdeui/dialogs/kmessagebox.cpp:735
#63 0x00007f45ddeb7451 in KIO::SslUi::askIgnoreSslErrors (uiData=..., storedRules=KIO::SslUi::RecallAndStoreRules) at ../../kio/kssl/sslui.cpp:82
#64 0x00007f45de3ef2ca in KIMAP::SessionPrivate::handleSslError (this=0xd5e770, errorData=...) at ../../kimap/session.cpp:118
#65 0x00007f45df7d7446 in QObject::event (this=0xd5e680, e=<optimized out>) at kernel/qobject.cpp:1195
#66 0x00007f45deb40894 in notify_helper (e=0x7f45c8201c80, receiver=0xd5e680, this=0xaedee0) at kernel/qapplication.cpp:4559
#67 QApplicationPrivate::notify_helper (this=0xaedee0, receiver=0xd5e680, e=0x7f45c8201c80) at kernel/qapplication.cpp:4531
#68 0x00007f45deb45713 in QApplication::notify (this=0x7fff40f23720, receiver=0xd5e680, e=0x7f45c8201c80) at kernel/qapplication.cpp:4420
#69 0x00007f45dcc69456 in KApplication::notify (this=0x7fff40f23720, receiver=0xd5e680, event=0x7f45c8201c80) at ../../kdeui/kernel/kapplication.cpp:311
#70 0x00007f45df7bde9c in QCoreApplication::notifyInternal (this=0x7fff40f23720, receiver=0xd5e680, event=0x7f45c8201c80) at kernel/qcoreapplication.cpp:876
#71 0x00007f45df7c1c6a in sendEvent (event=0x7f45c8201c80, receiver=0xd5e680) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#72 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xac14d0) at kernel/qcoreapplication.cpp:1500
#73 0x00007f45df7ecf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#74 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#75 0x00007f45da8bad53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#76 0x00007f45da8bb0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#77 0x00007f45da8bb164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#78 0x00007f45df7ed3bf in QEventDispatcherGlib::processEvents (this=0xac2cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#79 0x00007f45debe8d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#80 0x00007f45df7bcc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#81 0x00007f45df7bced7 in QEventLoop::exec (this=0x7fff40f236a0, flags=...) at kernel/qeventloop.cpp:204
#82 0x00007f45df7c1f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#83 0x00007f45dfeee576 in Akonadi::ResourceBase::init (r=0xcbce70) at ../../akonadi/resourcebase.cpp:451
#84 0x000000000041b2c6 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#85 0x00007f45dbca976d in __libc_start_main (main=0x415500 <main(int, char**)>, argc=3, ubp_av=0x7fff40f23838, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff40f23828) at libc-start.c:226
#86 0x00000000004156b5 in _start ()

Reported using DrKonqi
Comment 1 Andreas 2012-08-28 19:38:27 UTC
Created attachment 73532 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

I just was inactive, in background kmail crased every time I use it.

-- Backtrace (Reduced):
#7  0x00007f1df407f497 in KIMAP::SessionPrivate::handleSslError(KSslErrorUiData const&) () from /usr/lib/libkimap.so.4
#8  0x00007f1df5467446 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f1df47d0894 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f1df47d5713 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007f1df28f89e6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
Comment 2 Myriam Schweingruber 2012-09-02 06:59:26 UTC

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