Bug 304955

Summary: IMAP resource crashed after canceling a wrong request for acceptation of a certificate
Product: [Frameworks and Libraries] Akonadi Reporter: Freek de Kruijf <freekdekruijf>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Freek de Kruijf 2012-08-11 00:01:04 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.5 (4.8.5) "release 521"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.16-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
There was a request for confirmation to accept a certificate or not. When reading the details the report was about my IMAP-GMail resource, whereas the details showed the certificate of a different IMAP resource, one with a selfsigned certificate. I did not accept the certificate by pressing Cancel. After that the crash occurred.

-- Backtrace:
Application: IMAP-GMail van type IMAP e-mailserver (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6e8e802760 (LWP 2262))]

Thread 4 (Thread 0x7f6e77fff700 (LWP 2475)):
#0  0x00007fff2fdff8de in ?? ()
#1  0x00007f6e88df0d9a in clock_gettime () from /lib64/librt.so.1
#2  0x00007f6e8dba1014 in do_gettime (frac=0x7f6e77ffeb88, sec=0x7f6e77ffeb80) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f6e8dc7859d in QTimerInfoList::updateCurrentTime (this=0x7f6e6c0020d0) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f6e8dc788d3 in QTimerInfoList::timerWait (this=0x7f6e6c0020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f6e8dc7730c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f6e77ffec6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f6e8dc773b5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f6e88b3bb72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f6e88b3c97d in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f6e88b3cfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f6e8dc77e36 in QEventDispatcherGlib::processEvents (this=0x7f6e6c0008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f6e8dc47842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f6e8dc47a97 in QEventLoop::exec (this=0x7f6e77ffee00, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f6e8db475f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f6e8c85f119 in ?? () from /usr/lib64/libkimap.so.4
#16 0x00007f6e8db4a61b in QThreadPrivate::start (arg=0x8b7450) at thread/qthread_unix.cpp:307
#17 0x00007f6e89aa7f05 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f6e8a1f510d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f6e7d722700 (LWP 3844)):
#0  0x00007f6e88b3bef5 in g_main_context_query () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f6e88b3c9ea in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6e88b3cfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6e8dc77e36 in QEventDispatcherGlib::processEvents (this=0x7f6e7800dc30, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6e8dc47842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6e8dc47a97 in QEventLoop::exec (this=0x7f6e7d721e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6e8db475f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6e8c85f119 in ?? () from /usr/lib64/libkimap.so.4
#8  0x00007f6e8db4a61b in QThreadPrivate::start (arg=0xa91d20) at thread/qthread_unix.cpp:307
#9  0x00007f6e89aa7f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f6e8a1f510d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6e771a1700 (LWP 3846)):
#0  0x00007f6e89aab1b5 in pthread_mutex_unlock () from /lib64/libpthread.so.0
#1  0x00007f6e88b3bb64 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6e88b3c97d in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6e88b3cfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6e8dc77e36 in QEventDispatcherGlib::processEvents (this=0x7f6e640008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f6e8dc47842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6e8dc47a97 in QEventLoop::exec (this=0x7f6e771a0e00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6e8db475f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f6e8c85f119 in ?? () from /usr/lib64/libkimap.so.4
#9  0x00007f6e8db4a61b in QThreadPrivate::start (arg=0xa02200) at thread/qthread_unix.cpp:307
#10 0x00007f6e89aa7f05 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f6e8a1f510d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6e8e802760 (LWP 2262)):
[KCrash Handler]
#6  0x00007f6e8dc52a14 in QMetaObject::invokeMethod (obj=0xa99690, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166
#7  0x00007f6e8c863787 in KIMAP::SessionPrivate::handleSslError(KSslErrorUiData const&) () from /usr/lib64/libkimap.so.4
#8  0x00007f6e8dc61e06 in QObject::event (this=0x8e62c0, e=<optimized out>) at kernel/qobject.cpp:1204
#9  0x00007f6e8cfcbfe4 in notify_helper (e=0x7f6e78102e40, receiver=0x8e62c0, this=0x6a9ec0) at kernel/qapplication.cpp:4551
#10 QApplicationPrivate::notify_helper (this=0x6a9ec0, receiver=0x8e62c0, e=0x7f6e78102e40) at kernel/qapplication.cpp:4523
#11 0x00007f6e8cfd0db3 in QApplication::notify (this=0x7fff2fceb0f0, receiver=0x8e62c0, e=0x7f6e78102e40) at kernel/qapplication.cpp:4412
#12 0x00007f6e8b0f8156 in KApplication::notify (this=0x7fff2fceb0f0, receiver=0x8e62c0, event=0x7f6e78102e40) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#13 0x00007f6e8dc48d0c in QCoreApplication::notifyInternal (this=0x7fff2fceb0f0, receiver=0x8e62c0, event=0x7f6e78102e40) at kernel/qcoreapplication.cpp:915
#14 0x00007f6e8dc4c5ba in sendEvent (event=0x7f6e78102e40, receiver=0x8e62c0) at kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x687920) at kernel/qcoreapplication.cpp:1539
#16 0x00007f6e8dc779a3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=0x6afcf0) at kernel/qeventdispatcher_glib.cpp:279
#18 0x00007f6e88b3c5dd in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f6e88b3cdd8 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f6e88b3cfa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f6e8dc77dcf in QEventDispatcherGlib::processEvents (this=0x6871e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#22 0x00007f6e8d06f69e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f6e8dc47842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f6e8dc47a97 in QEventLoop::exec (this=0x7fff2fceb070, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007f6e8dc4c8b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#26 0x00007f6e8e2b30e7 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib64/libakonadi-kde.so.4
#27 0x000000000041bea6 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#28 0x00007f6e8a13b23d in __libc_start_main () from /lib64/libc.so.6
#29 0x0000000000416885 in _start ()

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

Possible duplicates by query: bug 304110, bug 302459, bug 301881, bug 301629, bug 296856.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-11-09 03:15:08 UTC

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