Bug 341906 - imap crash accepting bad certificate dialog after a some period of time
Summary: imap crash accepting bad certificate dialog after a some period of time
Status: RESOLVED DUPLICATE of bug 332830
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-12-15 09:31 UTC by Alex Frolov
Modified: 2016-03-22 00:33 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.46 KB, text/plain)
2015-03-29 13:59 UTC, Johann-Nikolaus Andreae
Details
New crash information added by DrKonqi (43.42 KB, text/plain)
2015-05-22 07:13 UTC, Tsaros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Frolov 2014-12-15 09:31:54 UTC
Application: akonadi_imap_resource (4.14)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.4-200.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

1. Connecе to IMAP server with bad cert
2. Do not acccept certificate just leave dialog open for a minute or two
3. Choose 'Accept' / 'This session only'
4. ...
5. CRASH

- Custom settings of the application:

STARTTLS + bad server certificate

The crash can be reproduced every time.

-- Backtrace:
Application: froller.net типа Почтовый сервер IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fdb95abe8c0 (LWP 22682))]

Thread 2 (Thread 0x7fdb83fff700 (LWP 22795)):
#0  0x0000003a7c6ea71d in poll () from /lib64/libc.so.6
#1  0x0000003a7ea495b4 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x0000003a7ea496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007fdb975e841e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#4  0x00007fdb975b836f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#5  0x00007fdb975b86bd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#6  0x00007fdb974ace5f in QThread::exec() () from /lib64/libQtCore.so.4
#7  0x00007fdb974af69f in QThreadPrivate::start(void*) () from /lib64/libQtCore.so.4
#8  0x0000003a7c207ee5 in start_thread () from /lib64/libpthread.so.0
#9  0x0000003a7c6f4b8d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fdb95abe8c0 (LWP 22682)):
[KCrash Handler]
#5  0x00007fdb975c4172 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /lib64/libQtCore.so.4
#6  0x0000003aab044a38 in KIMAP::SessionThread::sslErrorHandlerResponse(bool) () from /lib64/libkimap.so.4
#7  0x00007fdb975d28ee in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#8  0x00007fdb9691ce6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#9  0x00007fdb969237c5 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#10 0x0000003a8be4a4fa in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#11 0x00007fdb975b98dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#12 0x00007fdb975bcac5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#13 0x00007fdb975e8c7e in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#14 0x0000003a7ea492a6 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#15 0x0000003a7ea49628 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#16 0x0000003a7ea496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#17 0x00007fdb975e83fe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#18 0x00007fdb969bec46 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#19 0x00007fdb975b836f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#20 0x00007fdb975b86bd in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#21 0x00007fdb975bdd89 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#22 0x0000003a99f8a09c in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /lib64/libakonadi-kde.so.4
#23 0x0000000000418c23 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#24 0x0000003a7c621d65 in __libc_start_main () from /lib64/libc.so.6
#25 0x0000000000418ad5 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 332830.

Possible duplicates by query: bug 332830.

Reported using DrKonqi
Comment 1 Christopher Yeleighton 2014-12-28 08:18:59 UTC
Application: 2A typu Serwer poczty IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
40	  int result = INLINE_SYSCALL (wait4, 4, pid, stat_loc, options, NULL);
[Current thread is 1 (Thread 0x7fe63c0f0880 (LWP 7819))]

Thread 2 (Thread 0x7fe628949700 (LWP 8213)):
#0  0x00007fe63733a3e9 in __GI___pthread_mutex_lock (mutex=0x7fe624000a60) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007fe636810291 in g_mutex_lock (mutex=<optimized out>) at gthread-posix.c:213
#2  0x00007fe6367d04f5 in g_main_context_iterate (context=context@entry=0x7fe6240009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3680
#3  0x00007fe6367d070c in g_main_context_iteration (context=0x7fe6240009a0, may_block=1) at gmain.c:3774
#4  0x00007fe63b510d76 in QEventDispatcherGlib::processEvents (this=0x7fe6240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fe63b4e2d0f in QEventLoop::processEvents (this=this@entry=0x7fe628948d60, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe63b4e3005 in QEventLoop::exec (this=this@entry=0x7fe628948d60, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe63b3e1fef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fe63b3e468f in QThreadPrivate::start (arg=0xb52e10) at thread/qthread_unix.cpp:338
#9  0x00007fe6373380db in start_thread (arg=0x7fe628949700) at pthread_create.c:309
#10 0x00007fe637aa758d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fe63c0f0880 (LWP 7819)):
[KCrash Handler]
#5  0x00007fe63b4ee1d2 in QMetaObject::invokeMethod (obj=0xc3d570, member=member@entry=0x7fe63a14462e "doSslErrorHandlerResponse", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166
#6  0x00007fe63a127048 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7fe63a14462e "doSslErrorHandlerResponse", obj=<optimized out>) at /usr/include/QtCore/qobjectdefs.h:434
#7  KIMAP::SessionThread::sslErrorHandlerResponse (this=<optimized out>, response=true) at /usr/src/debug/kdepimlibs-4.11.5/kimap/sessionthread.cpp:302
#8  0x00007fe63b4fc11e in QObject::event (this=0xbd9ee0, e=<optimized out>) at kernel/qobject.cpp:1203
#9  0x00007fe63a8818ac in QApplicationPrivate::notify_helper (this=this@entry=0x8ba970, receiver=receiver@entry=0xbd9ee0, e=e@entry=0x7fe61c01ad20) at kernel/qapplication.cpp:4562
#10 0x00007fe63a887e70 in QApplication::notify (this=this@entry=0x7fffe71d0780, receiver=receiver@entry=0xbd9ee0, e=e@entry=0x7fe61c01ad20) at kernel/qapplication.cpp:4348
#11 0x00007fe63898f18a in KApplication::notify (this=0x7fffe71d0780, receiver=0xbd9ee0, event=0x7fe61c01ad20) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#12 0x00007fe63b4e40ad in QCoreApplication::notifyInternal (this=0x7fffe71d0780, receiver=receiver@entry=0xbd9ee0, event=event@entry=0x7fe61c01ad20) at kernel/qcoreapplication.cpp:949
#13 0x00007fe63b4e70ff in sendEvent (event=0x7fe61c01ad20, receiver=0xbd9ee0) at kernel/qcoreapplication.h:231
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x87af80) at kernel/qcoreapplication.cpp:1573
#15 0x00007fe63b4e75a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#16 0x00007fe63b511493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=s@entry=0x8aaef0) at kernel/qeventdispatcher_glib.cpp:280
#18 0x00007fe6367d0316 in g_main_dispatch (context=0x8b4600) at gmain.c:3066
#19 g_main_context_dispatch (context=context@entry=0x8b4600) at gmain.c:3642
#20 0x00007fe6367d0668 in g_main_context_iterate (context=context@entry=0x8b4600, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#21 0x00007fe6367d070c in g_main_context_iteration (context=0x8b4600, may_block=1) at gmain.c:3774
#22 0x00007fe63b510d55 in QEventDispatcherGlib::processEvents (this=0x880be0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#23 0x00007fe63a91e936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007fe63b4e2d0f in QEventLoop::processEvents (this=this@entry=0x7fffe71d06f0, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007fe63b4e3005 in QEventLoop::exec (this=this@entry=0x7fffe71d06f0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007fe63b4e813b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#27 0x00007fe63a88006c in QApplication::exec () at kernel/qapplication.cpp:3823
#28 0x00007fe63bc209f3 in Akonadi::ResourceBase::init (r=r@entry=0xae07c0) at /usr/src/debug/kdepimlibs-4.11.5/akonadi/resourcebase.cpp:548
#29 0x000000000041f343 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:192
#30 0x00007fe6379e1be5 in __libc_start_main (main=0x417a60 <main(int, char**)>, argc=3, argv=0x7fffe71d0898, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe71d0888) at libc-start.c:269
#31 0x0000000000417be5 in _start () at ../sysdeps/x86_64/start.S:122
Comment 2 Johann-Nikolaus Andreae 2015-03-29 13:59:36 UTC
Created attachment 91804 [details]
New crash information added by DrKonqi

akonadi_kolab_resource (4.14) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:

better crash dump. Same cenario as the last one.

-- Backtrace (Reduced):
#6  0x00007f40b1d2af18 in KIMAP::SessionThread::sslErrorHandlerResponse(bool) (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7f40b1d4d0ee "doSslErrorHandlerResponse", obj=<optimized out>) at /usr/include/QtCore/qobjectdefs.h:434
#7  0x00007f40b1d2af18 in KIMAP::SessionThread::sslErrorHandlerResponse(bool) (this=<optimized out>, response=false) at /usr/src/debug/kdepimlibs-4.14.6/kimap/sessionthread.cpp:274
#8  0x00007f40b35534de in QObject::event(QEvent*) (this=0x2571c00, e=<optimized out>) at kernel/qobject.cpp:1231
#9  0x00007f40b28d480c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x2385470, receiver=receiver@entry=0x2571c00, e=e@entry=0x7f409412aee0) at kernel/qapplication.cpp:4565
#10 0x00007f40b28dad4d in QApplication::notify(QObject*, QEvent*) (this=0x7ffd5b6f5670, receiver=0x2571c00, e=0x7f409412aee0) at kernel/qapplication.cpp:4351
Comment 3 Tsaros 2015-05-22 07:13:04 UTC
Created attachment 92779 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.14) on KDE Platform 4.14.2 using Qt 4.8.6

- What I was doing when the application crashed: Using firefox and having the kmail open. This can be reproduced every time.

-- Backtrace (Reduced):
#7  0x00007f631cf31f38 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7f631cf5406e "doSslErrorHandlerResponse", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionThread::sslErrorHandlerResponse (this=<optimized out>, response=true) at ../../kimap/sessionthread.cpp:274
#9  0x00007f631f2bcc1e in QObject::event (this=0x21136d0, e=<optimized out>) at kernel/qobject.cpp:1194
#10 0x00007f631e63de2c in QApplicationPrivate::notify_helper (this=this@entry=0x19c49a0, receiver=receiver@entry=0x21136d0, e=e@entry=0x7f630000dd20) at kernel/qapplication.cpp:4567
#11 0x00007f631e6444a0 in QApplication::notify (this=this@entry=0x7fff056b99d0, receiver=receiver@entry=0x21136d0, e=e@entry=0x7f630000dd20) at kernel/qapplication.cpp:4353
Comment 4 Daniel Vrátil 2016-03-22 00:33:34 UTC

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