Bug 301629

Summary: akonadi_imap_resource crashed after aborting connect in ssl-cert dialog
Product: [Frameworks and Libraries] Akonadi Reporter: Marc Schiffbauer <mschiff>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: RESOLVED FIXED    
Severity: crash CC: kdepim-bugs, mollekopf, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marc Schiffbauer 2012-06-11 09:12:04 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.90 (4.8.90) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.3.8-gentoo x86_64
Distribution: "NAME=Gentoo"

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

A dialog popped up warning me about an invalid ssl-cert for the IMAP connection. I aborted this by clicking the "Abort" button. Then this crash occured

-- Backtrace:
Application: MCS vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f05c3631780 (LWP 10190))]

Thread 2 (Thread 0x7f05a9348700 (LWP 11242)):
#0  0x00007f05beebbda3 in poll () from /lib64/libc.so.6
#1  0x00007f05bde01486 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f05bde015b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f05c2a504e6 in QEventDispatcherGlib::processEvents (this=0x7f059c001b70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f05c2a202a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f05c2a204f7 in QEventLoop::exec (this=0x7f05a9347de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f05c2920f27 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f05c1670dbc in KIMAP::SessionThread::run (this=0xf84be0) at /var/tmp/portage/kde-base/kdepimlibs-4.8.90/work/kdepimlibs-4.8.90/kimap/sessionthread.cpp:181
#8  0x00007f05c2923f2b in QThreadPrivate::start (arg=0xf84be0) at thread/qthread_unix.cpp:307
#9  0x00007f05be524ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f05beec49bd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f05c3631780 (LWP 10190)):
[KCrash Handler]
#6  0x00007f05bee13b15 in raise () from /lib64/libc.so.6
#7  0x00007f05bee14f8b in abort () from /lib64/libc.so.6
#8  0x00007f05c29196c4 in qt_message_output (msgType=<optimized out>, buf=<optimized out>) at global/qglobal.cpp:2260
#9  0x00007f05c291983f in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f05c2a849c8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffcb2fb458) at global/qglobal.cpp:2306
#10 0x00007f05c29199ec in qFatal (msg=<optimized out>) at global/qglobal.cpp:2489
#11 0x00007f05c166da82 in KIMAP::SessionPrivate::jobDone (this=0xf89170, job=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.8.90/work/kdepimlibs-4.8.90/kimap/session.cpp:176
#12 0x00007f05c2a35409 in QMetaObject::activate (sender=0xd0c090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcb2fb6a0) at kernel/qobject.cpp:3547
#13 0x00007f05bf7dcf92 in KJob::result (this=<optimized out>, _t1=0xd0c090) at /var/tmp/portage/kde-base/kdelibs-4.8.90/work/kdelibs-4.8.90_build/kdecore/kjob.moc:208
#14 0x00007f05bf7dcfd5 in KJob::emitResult (this=0xd0c090) at /var/tmp/portage/kde-base/kdelibs-4.8.90/work/kdelibs-4.8.90/kdecore/jobs/kjob.cpp:318
#15 0x00007f05c1666837 in KIMAP::LoginJobPrivate::sslResponse (this=0xd0ae70, response=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.8.90/work/kdepimlibs-4.8.90/kimap/loginjob.cpp:507
#16 0x00007f05c2a35409 in QMetaObject::activate (sender=0xf89170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcb2fb870) at kernel/qobject.cpp:3547
#17 0x00007f05c166d82f in KIMAP::SessionPrivate::encryptionNegotiationResult (this=<optimized out>, _t1=false) at /var/tmp/portage/kde-base/kdepimlibs-4.8.90/work/kdepimlibs-4.8.90_build/kimap/session_p.moc:108
#18 0x00007f05c2a3a5d6 in QObject::event (this=0xf89170, e=<optimized out>) at kernel/qobject.cpp:1195
#19 0x00007f05c1dce6a4 in notify_helper (e=0x7f059c022f50, receiver=0xf89170, this=0xa271b0) at kernel/qapplication.cpp:4551
#20 QApplicationPrivate::notify_helper (this=0xa271b0, receiver=0xf89170, e=0x7f059c022f50) at kernel/qapplication.cpp:4523
#21 0x00007f05c1dd33c1 in QApplication::notify (this=0x7fffcb2fe2d0, receiver=0xf89170, e=0x7f059c022f50) at kernel/qapplication.cpp:3933
#22 0x00007f05bfdf57ed in KApplication::notify (this=0x7fffcb2fe2d0, receiver=0xf89170, event=0x7f059c022f50) at /var/tmp/portage/kde-base/kdelibs-4.8.90/work/kdelibs-4.8.90/kdeui/kernel/kapplication.cpp:311
#23 0x00007f05c2a2174c in QCoreApplication::notifyInternal (this=0x7fffcb2fe2d0, receiver=0xf89170, event=0x7f059c022f50) at kernel/qcoreapplication.cpp:915
#24 0x00007f05c2a24faa in sendEvent (event=0x7f059c022f50, receiver=0xf89170) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0xa024d0) at kernel/qcoreapplication.cpp:1539
#26 0x00007f05c2a50063 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#27 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#28 0x00007f05bde011a3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f05bde014f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f05bde015b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f05c2a5047f in QEventDispatcherGlib::processEvents (this=0xa03cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#32 0x00007f05c1e7179e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007f05c2a202a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007f05c2a204f7 in QEventLoop::exec (this=0x7fffcb2fc210, flags=...) at kernel/qeventloop.cpp:204
#35 0x00007f05c227bfd6 in QDialog::exec (this=0xed9180) at dialogs/qdialog.cpp:554
#36 0x00007f05c10d3737 in KIO::SslUi::askIgnoreSslErrors (uiData=..., storedRules=KIO::SslUi::RecallAndStoreRules) at /var/tmp/portage/kde-base/kdelibs-4.8.90/work/kdelibs-4.8.90/kio/kssl/sslui.cpp:104
#37 0x00007f05c166daf7 in KIMAP::SessionPrivate::handleSslError (this=0xceb1c0, errorData=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.90/work/kdepimlibs-4.8.90/kimap/session.cpp:118
#38 0x00007f05c2a3a5d6 in QObject::event (this=0xcf01c0, e=<optimized out>) at kernel/qobject.cpp:1195
#39 0x00007f05c1dce6a4 in notify_helper (e=0x7f05ac15a590, receiver=0xcf01c0, this=0xa271b0) at kernel/qapplication.cpp:4551
#40 QApplicationPrivate::notify_helper (this=0xa271b0, receiver=0xcf01c0, e=0x7f05ac15a590) at kernel/qapplication.cpp:4523
#41 0x00007f05c1dd33c1 in QApplication::notify (this=0x7fffcb2fe2d0, receiver=0xcf01c0, e=0x7f05ac15a590) at kernel/qapplication.cpp:3933
#42 0x00007f05bfdf57ed in KApplication::notify (this=0x7fffcb2fe2d0, receiver=0xcf01c0, event=0x7f05ac15a590) at /var/tmp/portage/kde-base/kdelibs-4.8.90/work/kdelibs-4.8.90/kdeui/kernel/kapplication.cpp:311
#43 0x00007f05c2a2174c in QCoreApplication::notifyInternal (this=0x7fffcb2fe2d0, receiver=0xcf01c0, event=0x7f05ac15a590) at kernel/qcoreapplication.cpp:915
#44 0x00007f05c2a24faa in sendEvent (event=0x7f05ac15a590, receiver=0xcf01c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0xa024d0) at kernel/qcoreapplication.cpp:1539
#46 0x00007f05c2a50063 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#48 0x00007f05bde011a3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#49 0x00007f05bde014f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#50 0x00007f05bde015b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#51 0x00007f05c2a5047f in QEventDispatcherGlib::processEvents (this=0xa03cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0x00007f05c1e7179e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f05c2a202a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f05c2a204f7 in QEventLoop::exec (this=0x7fffcb2fd230, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f05c227bfd6 in QDialog::exec (this=0xcbca30) at dialogs/qdialog.cpp:554
#56 0x00007f05c10d3737 in KIO::SslUi::askIgnoreSslErrors (uiData=..., storedRules=KIO::SslUi::RecallAndStoreRules) at /var/tmp/portage/kde-base/kdelibs-4.8.90/work/kdelibs-4.8.90/kio/kssl/sslui.cpp:104
#57 0x00007f05c166daf7 in KIMAP::SessionPrivate::handleSslError (this=0xd02480, errorData=...) at /var/tmp/portage/kde-base/kdepimlibs-4.8.90/work/kdepimlibs-4.8.90/kimap/session.cpp:118
#58 0x00007f05c2a3a5d6 in QObject::event (this=0xa52eb0, e=<optimized out>) at kernel/qobject.cpp:1195
#59 0x00007f05c1dce6a4 in notify_helper (e=0x7f05ac001190, receiver=0xa52eb0, this=0xa271b0) at kernel/qapplication.cpp:4551
#60 QApplicationPrivate::notify_helper (this=0xa271b0, receiver=0xa52eb0, e=0x7f05ac001190) at kernel/qapplication.cpp:4523
#61 0x00007f05c1dd33c1 in QApplication::notify (this=0x7fffcb2fe2d0, receiver=0xa52eb0, e=0x7f05ac001190) at kernel/qapplication.cpp:3933
#62 0x00007f05bfdf57ed in KApplication::notify (this=0x7fffcb2fe2d0, receiver=0xa52eb0, event=0x7f05ac001190) at /var/tmp/portage/kde-base/kdelibs-4.8.90/work/kdelibs-4.8.90/kdeui/kernel/kapplication.cpp:311
#63 0x00007f05c2a2174c in QCoreApplication::notifyInternal (this=0x7fffcb2fe2d0, receiver=0xa52eb0, event=0x7f05ac001190) at kernel/qcoreapplication.cpp:915
#64 0x00007f05c2a24faa in sendEvent (event=0x7f05ac001190, receiver=0xa52eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#65 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0xa024d0) at kernel/qcoreapplication.cpp:1539
#66 0x00007f05c2a50063 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#67 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#68 0x00007f05bde011a3 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#69 0x00007f05bde014f0 in ?? () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f05bde015b4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#71 0x00007f05c2a5047f in QEventDispatcherGlib::processEvents (this=0xa03cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#72 0x00007f05c1e7179e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#73 0x00007f05c2a202a2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#74 0x00007f05c2a204f7 in QEventLoop::exec (this=0x7fffcb2fe240, flags=...) at kernel/qeventloop.cpp:204
#75 0x00007f05c2a252c5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#76 0x00007f05c3144e02 in Akonadi::ResourceBase::init (r=0xc4fef0) at /var/tmp/portage/kde-base/kdepimlibs-4.8.90/work/kdepimlibs-4.8.90/akonadi/resourcebase.cpp:412
#77 0x000000000041eb66 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#78 0x00007f05bee0060d in __libc_start_main () from /lib64/libc.so.6
#79 0x00000000004191b1 in _start ()

Reported using DrKonqi
Comment 1 Kevin Ottens 2013-11-16 07:27:43 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 2 Christian Mollekopf 2013-11-19 16:48:36 UTC
Does this still apply to >=4.11.3?
It's probably fixed, otherwise reopen please.