Bug 323805

Summary: Kmail crached after accepting an expirated certificate
Product: [Frameworks and Libraries] Akonadi Reporter: JoeVR <giuseppe.curto>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR Keywords: drkonqi
Version: 4.10   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description JoeVR 2013-08-20 20:37:48 UTC
Application: akonadi_imap_resource (4.10)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-27-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Was accepting an expirated certificate

- Unusual behavior I noticed:
KMail let me click on accpet for ever the expired certificate then crashed

-- Backtrace:
Application: Lavoro di tipo Server di posta IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0b244fb7c0 (LWP 3791))]

Thread 4 (Thread 0x7f0b10d8f700 (LWP 3794)):
#0  0x00007f0b1ecae35c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0b1ecae5b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0b1ec6ec74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0b1ec6f175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0b1ec6f304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0b23919036 in QEventDispatcherGlib::processEvents (this=0x7f0b0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0b238e938f in QEventLoop::processEvents (this=this@entry=0x7f0b10d8ed90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0b238e9618 in QEventLoop::exec (this=this@entry=0x7f0b10d8ed90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0b237eb410 in QThread::exec (this=this@entry=0xd87e60) at thread/qthread.cpp:542
#9  0x00007f0b238caedf in QInotifyFileSystemWatcherEngine::run (this=0xd87e60) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f0b237edbec in QThreadPrivate::start (arg=0xd87e60) at thread/qthread_unix.cpp:338
#11 0x00007f0b1f588f8e in start_thread (arg=0x7f0b10d8f700) at pthread_create.c:311
#12 0x00007f0b1ff2fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f0b03df9700 (LWP 3888)):
#0  0x00007f0b1ecae5b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0b1ec6f190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0b1ec6f304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0b23919036 in QEventDispatcherGlib::processEvents (this=0x7f0af800f2c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f0b238e938f in QEventLoop::processEvents (this=this@entry=0x7f0b03df8da0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0b238e9618 in QEventLoop::exec (this=this@entry=0x7f0b03df8da0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0b237eb410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f0b2254eb2a in ?? () from /usr/lib/libkimap.so.4
#8  0x00007f0b237edbec in QThreadPrivate::start (arg=0xe526d0) at thread/qthread_unix.cpp:338
#9  0x00007f0b1f588f8e in start_thread (arg=0x7f0b03df9700) at pthread_create.c:311
#10 0x00007f0b1ff2fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f0b035f8700 (LWP 3889)):
#0  0x00007f0b1ecae35c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0b1ecae5b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0b1ec6e90b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0b1ec6f0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0b1ec6f304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0b23919036 in QEventDispatcherGlib::processEvents (this=0x7f0af0029e30, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0b238e938f in QEventLoop::processEvents (this=this@entry=0x7f0b035f7da0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0b238e9618 in QEventLoop::exec (this=this@entry=0x7f0b035f7da0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0b237eb410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f0b2254eb2a in ?? () from /usr/lib/libkimap.so.4
#10 0x00007f0b237edbec in QThreadPrivate::start (arg=0x10214f0) at thread/qthread_unix.cpp:338
#11 0x00007f0b1f588f8e in start_thread (arg=0x7f0b035f8700) at pthread_create.c:311
#12 0x00007f0b1ff2fe1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f0b244fb7c0 (LWP 3791)):
[KCrash Handler]
#6  0x0000000000dc2ce8 in ?? ()
#7  0x00007f0b238f4c5c in QMetaObject::invokeMethod (obj=0x129e5b8, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166
#8  0x00007f0b22549687 in KIMAP::SessionPrivate::handleSslError(KSslErrorUiData const&) () from /usr/lib/libkimap.so.4
#9  0x00007f0b239045be in QObject::event (this=0x1220030, e=<optimized out>) at kernel/qobject.cpp:1194
#10 0x00007f0b22c908ec in QApplicationPrivate::notify_helper (this=this@entry=0xa09ab0, receiver=receiver@entry=0x1220030, e=e@entry=0x7f0afc200400) at kernel/qapplication.cpp:4567
#11 0x00007f0b22c9325b in QApplication::notify (this=this@entry=0x7fffbf2d2150, receiver=receiver@entry=0x1220030, e=e@entry=0x7f0afc200400) at kernel/qapplication.cpp:4428
#12 0x00007f0b20e011a6 in KApplication::notify (this=0x7fffbf2d2150, receiver=0x1220030, event=0x7f0afc200400) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f0b238ea63e in QCoreApplication::notifyInternal (this=0x7fffbf2d2150, receiver=receiver@entry=0x1220030, event=event@entry=0x7f0afc200400) at kernel/qcoreapplication.cpp:946
#14 0x00007f0b238ee171 in sendEvent (event=0x7f0afc200400, receiver=0x1220030) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x9d6f60) at kernel/qcoreapplication.cpp:1570
#16 0x00007f0b238ee4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#17 0x00007f0b23918e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x9f6b20) at kernel/qeventdispatcher_glib.cpp:279
#19 0x00007f0b1ec6ef05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f0b1ec6f248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f0b1ec6f304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f0b23919016 in QEventDispatcherGlib::processEvents (this=0x9d8c20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007f0b22d361ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f0b238e938f in QEventLoop::processEvents (this=this@entry=0x7fffbf2d20d0, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f0b238e9618 in QEventLoop::exec (this=this@entry=0x7fffbf2d20d0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f0b238eecf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#27 0x00007f0b2400ebb3 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#28 0x000000000041c7f3 in _start ()

Possible duplicates by query: bug 322181, bug 319033, bug 317386, bug 311586, bug 311014.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-30 02:27:04 UTC

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