Bug 319033 - Akonadi/IMAP crashed after canceling dozens of certificate-accept dialogues
Summary: Akonadi/IMAP crashed after canceling dozens of certificate-accept dialogues
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.10
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Christian Mollekopf
URL:
Keywords:
: 323805 324233 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-28 20:40 UTC by Dennis Schridde
Modified: 2013-11-20 21:11 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.56 KB, text/plain)
2013-05-16 21:35 UTC, Christopher Yeleighton
Details
New crash information added by DrKonqi (6.53 KB, text/plain)
2013-05-25 22:43 UTC, Christopher Yeleighton
Details
New crash information added by DrKonqi (5.81 KB, text/plain)
2013-07-26 16:06 UTC, Marek Paśnikowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-04-28 20:40:47 UTC
Application: akonadi_imap_resource (4.10)
KDE Platform Version: 4.10.2
Qt Version: 4.8.4
Operating System: Linux 3.8.8-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

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

I changed my server certificate, and Akonadi/IMAP immediately noticed that it was not yet valid. Thus it spammed me with dozens of certificate-accept dialogues. I clicked cancel on all of them like a maniac, until finally it stopped bothering me. That was also when it crashed.

-- Backtrace:
Application: Kynes vom Typ IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f98d14a9780 (LWP 20931))]

Thread 2 (Thread 0x7f98cc804700 (LWP 18280)):
#0  0x00007f98d1519847 in clock_gettime ()
#1  0x00000031900f889d in clock_gettime () from /lib64/libc.so.6
#2  0x000000319b0cf784 in do_gettime (frac=0x7f98cc803b88, sec=0x7f98cc803b80) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x000000319b1a10ed in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f98bc023a70) at kernel/qeventdispatcher_unix.cpp:354
#5  0x000000319b1a1433 in QTimerInfoList::timerWait (this=0x7f98bc023a70, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x000000319b19fedc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f98cc803c74) at kernel/qeventdispatcher_glib.cpp:136
#7  0x000000319b19ff7d in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x000000319204699f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x000000319204702b in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x0000003192047224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x000000319b1a080e in QEventDispatcherGlib::processEvents (this=0x7f98bc0026f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x000000319b171cdf in QEventLoop::processEvents (this=this@entry=0x7f98cc803e50, flags=...) at kernel/qeventloop.cpp:149
#13 0x000000319b171f60 in QEventLoop::exec (this=this@entry=0x7f98cc803e50, flags=...) at kernel/qeventloop.cpp:204
#14 0x000000319b078480 in QThread::exec (this=this@entry=0xfa2740) at thread/qthread.cpp:542
#15 0x00000039e14404fa in KIMAP::SessionThread::run (this=0xfa2740) at /var/tmp/portage/kde-base/kdepimlibs-4.10.2/work/kdepimlibs-4.10.2/kimap/sessionthread.cpp:184
#16 0x000000319b07b37c in QThreadPrivate::start (arg=0xfa2740) at thread/qthread_unix.cpp:338
#17 0x0000003190807dff in start_thread () from /lib64/libpthread.so.0
#18 0x00000031900e701d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f98d14a9780 (LWP 20931)):
[KCrash Handler]
#6  QMetaObject::invokeMethod (obj=0xa1, member=member@entry=0x39e145d7a1 "sslErrorHandlerResponse", type=type@entry=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1166
#7  0x00000039e143b107 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x39e145d7a1 "sslErrorHandlerResponse", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionPrivate::handleSslError (this=0xec0720, errorData=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.2/work/kdepimlibs-4.10.2/kimap/session.cpp:121
#9  0x000000319b187386 in QObject::event (this=0x112f1d0, e=<optimized out>) at kernel/qobject.cpp:1194
#10 0x00000039d21cb66c in QApplicationPrivate::notify_helper (this=this@entry=0xd52f70, receiver=receiver@entry=0x112f1d0, e=e@entry=0x7f98bc01a2a0) at kernel/qapplication.cpp:4562
#11 0x00000039d21cfa2a in QApplication::notify (this=this@entry=0x7fff5fffcb00, receiver=receiver@entry=0x112f1d0, e=e@entry=0x7f98bc01a2a0) at kernel/qapplication.cpp:4423
#12 0x00000039d36423b6 in KApplication::notify (this=0x7fff5fffcb00, receiver=0x112f1d0, event=0x7f98bc01a2a0) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#13 0x000000319b172f4d in QCoreApplication::notifyInternal (this=0x7fff5fffcb00, receiver=receiver@entry=0x112f1d0, event=event@entry=0x7f98bc01a2a0) at kernel/qcoreapplication.cpp:946
#14 0x000000319b1767e0 in sendEvent (event=0x7f98bc01a2a0, receiver=0x112f1d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd2c0b0) at kernel/qcoreapplication.cpp:1570
#16 0x000000319b176a35 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#17 0x000000319b1a0673 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0xd53800) at kernel/qeventdispatcher_glib.cpp:279
#19 0x0000003192046e1c in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x0000003192047174 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x0000003192047224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x000000319b1a07f4 in QEventDispatcherGlib::processEvents (this=0xd2dd70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00000039d226944e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x000000319b171cdf in QEventLoop::processEvents (this=this@entry=0x7fff5fffb630, flags=...) at kernel/qeventloop.cpp:149
#25 0x000000319b171f60 in QEventLoop::exec (this=this@entry=0x7fff5fffb630, flags=...) at kernel/qeventloop.cpp:204
#26 0x00000039d2672208 in QDialog::exec (this=0x1357ce0) at dialogs/qdialog.cpp:554
#27 0x00000039d35b5aaa in KMessageBox::createKMessageBox (dialog=dialog@entry=0x1357ce0, icon=..., text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x7fff5fffba5f, options=..., details=..., notifyType=notifyType@entry=QMessageBox::Warning) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/dialogs/kmessagebox.cpp:344
#28 0x00000039d35b605a in KMessageBox::createKMessageBox (dialog=dialog@entry=0x1357ce0, icon=icon@entry=QMessageBox::Warning, text=..., strlist=..., ask=..., checkboxReturn=checkboxReturn@entry=0x7fff5fffba5f, options=..., details=...) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/dialogs/kmessagebox.cpp:159
#29 0x00000039d35b72b6 in KMessageBox::warningYesNoCancelListWId (parent_id=0, text=..., strlist=..., caption=..., buttonYes_=..., buttonNo_=..., buttonCancel_=..., dontAskAgainName=..., options=...) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/dialogs/kmessagebox.cpp:802
#30 0x00000039d35b74c5 in KMessageBox::warningYesNoCancelList (parent=parent@entry=0x0, text=..., strlist=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/dialogs/kmessagebox.cpp:760
#31 0x00000039d35b751d in KMessageBox::warningYesNoCancel (parent=parent@entry=0x0, text=..., caption=..., buttonYes=..., buttonNo=..., buttonCancel=..., dontAskAgainName=..., options=...) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/dialogs/kmessagebox.cpp:735
#32 0x00000039d4e10844 in KIO::SslUi::askIgnoreSslErrors (uiData=..., storedRules=KIO::SslUi::RecallAndStoreRules) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kio/kssl/sslui.cpp:82
#33 0x00000039e143b01a in KIMAP::SessionPrivate::handleSslError (this=0x12dd260, errorData=...) at /var/tmp/portage/kde-base/kdepimlibs-4.10.2/work/kdepimlibs-4.10.2/kimap/session.cpp:118
#34 0x000000319b187386 in QObject::event (this=0x14ac070, e=<optimized out>) at kernel/qobject.cpp:1194
#35 0x00000039d21cb66c in QApplicationPrivate::notify_helper (this=this@entry=0xd52f70, receiver=receiver@entry=0x14ac070, e=e@entry=0x7f98bc0139f0) at kernel/qapplication.cpp:4562
#36 0x00000039d21cfa2a in QApplication::notify (this=this@entry=0x7fff5fffcb00, receiver=receiver@entry=0x14ac070, e=e@entry=0x7f98bc0139f0) at kernel/qapplication.cpp:4423
#37 0x00000039d36423b6 in KApplication::notify (this=0x7fff5fffcb00, receiver=0x14ac070, event=0x7f98bc0139f0) at /var/tmp/portage/kde-base/kdelibs-4.10.2/work/kdelibs-4.10.2/kdeui/kernel/kapplication.cpp:311
#38 0x000000319b172f4d in QCoreApplication::notifyInternal (this=0x7fff5fffcb00, receiver=receiver@entry=0x14ac070, event=event@entry=0x7f98bc0139f0) at kernel/qcoreapplication.cpp:946
#39 0x000000319b1767e0 in sendEvent (event=0x7f98bc0139f0, receiver=0x14ac070) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#40 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xd2c0b0) at kernel/qcoreapplication.cpp:1570
#41 0x000000319b176a35 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#42 0x000000319b1a0673 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#43 postEventSourceDispatch (s=0xd53800) at kernel/qeventdispatcher_glib.cpp:279
#44 0x0000003192046e1c in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#45 0x0000003192047174 in ?? () from /usr/lib64/libglib-2.0.so.0
#46 0x0000003192047224 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#47 0x000000319b1a07f4 in QEventDispatcherGlib::processEvents (this=0xd2dd70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#48 0x00000039d226944e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x000000319b171cdf in QEventLoop::processEvents (this=this@entry=0x7fff5fffca80, flags=...) at kernel/qeventloop.cpp:149
#50 0x000000319b171f60 in QEventLoop::exec (this=this@entry=0x7fff5fffca80, flags=...) at kernel/qeventloop.cpp:204
#51 0x000000319b176ac8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#52 0x00000039d21c995c in QApplication::exec () at kernel/qapplication.cpp:3823
#53 0x00000039d9350663 in Akonadi::ResourceBase::init (r=r@entry=0xf28010) at /var/tmp/portage/kde-base/kdepimlibs-4.10.2/work/kdepimlibs-4.10.2/akonadi/resourcebase.cpp:451
#54 0x000000000041c413 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#55 0x00000031900219e5 in __libc_start_main () from /lib64/libc.so.6
#56 0x0000000000415ba5 in _start ()

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

Possible duplicates by query: bug 317386, bug 311586, bug 310243, bug 309788, bug 309775.

Reported using DrKonqi
Comment 1 Martin 2013-05-08 07:02:34 UTC
This also can happen when you accept a certificate. I was absent for a while (the dialog must have been open for some hours I guess). Clicking on accept crashed the IMAP resource.
Comment 2 Christopher Yeleighton 2013-05-16 21:35:50 UTC
Created attachment 79921 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.2 "release 1" using Qt 4.8.4

- What I was doing when the application crashed:

I launched KMail and acknowledged two dialogue boxes concerning self-signed certificates of the IMAP server.

-- Backtrace (Reduced):
#7  0x00007f30a0a8f4b7 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7f30a0ab4d3e "sslErrorHandlerResponse", obj=<optimized out>) at /usr/include/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionPrivate::handleSslError (this=0x2026c40, errorData=...) at /usr/src/debug/kdepimlibs-4.10.2/kimap/session.cpp:121
#9  0x00007f30a206d68e in QObject::event (this=0x20129c0, e=<optimized out>) at kernel/qobject.cpp:1203
#10 0x00007f30a11e586c in QApplicationPrivate::notify_helper (this=this@entry=0x1c86f70, receiver=receiver@entry=0x20129c0, e=e@entry=0x7f3088119df0) at kernel/qapplication.cpp:4562
#11 0x00007f30a11e9ceb in QApplication::notify (this=0x7fff9e218e00, receiver=0x20129c0, e=0x7f3088119df0) at kernel/qapplication.cpp:4423
Comment 3 Christopher Yeleighton 2013-05-25 22:43:25 UTC
Created attachment 80082 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.2 "release 1" using Qt 4.8.4

- What I was doing when the application crashed:

I started the new account wizard to add an IMAP account based on my e-mail address.

-- Backtrace (Reduced):
#7  0x00007ff01b7644b7 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x7ff01b789d3e "sslErrorHandlerResponse", obj=<optimized out>) at /usr/include/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionPrivate::handleSslError (this=0x173c6b0, errorData=...) at /usr/src/debug/kdepimlibs-4.10.2/kimap/session.cpp:121
#9  0x00007ff01cd4268e in QObject::event (this=0x16793e0, e=<optimized out>) at kernel/qobject.cpp:1203
#10 0x00007ff01beba86c in QApplicationPrivate::notify_helper (this=this@entry=0x139d5c0, receiver=receiver@entry=0x16793e0, e=e@entry=0x7ff00411e780) at kernel/qapplication.cpp:4562
#11 0x00007ff01bebeceb in QApplication::notify (this=0x7fffe30683e0, receiver=0x16793e0, e=0x7ff00411e780) at kernel/qapplication.cpp:4423
Comment 4 Marek Paśnikowski 2013-07-26 16:06:28 UTC
Created attachment 81361 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.5 using Qt 4.8.4

- What I was doing when the application crashed:

I accepted temporarily the certificate.

-- Backtrace (Reduced):
#7  0x00000037fde3ca97 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=0x37fde5ee87 "sslErrorHandlerResponse", obj=<optimized out>) at /usr/include/QtCore/qobjectdefs.h:434
#8  KIMAP::SessionPrivate::handleSslError (this=0x1e7ff40, errorData=...) at /usr/src/debug/kdepimlibs-4.10.5/kimap/session.cpp:121
#9  0x00000037d6b91e4e in QObject::event (this=0x1de34c0, e=<optimized out>) at kernel/qobject.cpp:1194
#10 0x00000037db7c846c in QApplicationPrivate::notify_helper (this=this@entry=0x1a40dc0, receiver=receiver@entry=0x1de34c0, e=e@entry=0x7fbe3c013bc0) at kernel/qapplication.cpp:4562
#11 0x00000037db7cea30 in QApplication::notify (this=this@entry=0x7fff81bc7010, receiver=receiver@entry=0x1de34c0, e=e@entry=0x7fbe3c013bc0) at kernel/qapplication.cpp:4348
Comment 5 Jekyll Wu 2013-08-30 02:26:56 UTC
*** Bug 324233 has been marked as a duplicate of this bug. ***
Comment 6 Jekyll Wu 2013-08-30 02:27:04 UTC
*** Bug 323805 has been marked as a duplicate of this bug. ***
Comment 7 Kevin Ottens 2013-11-16 07:27:22 UTC
The IMAP resource has a new maintainer, reassigning to him.
Comment 8 Christian Mollekopf 2013-11-20 12:13:06 UTC
Crash backtraces of pre 4.11.3 versions are no longer useful. Please reopen if you can reproduce the issue with >= 4.11.3.
Comment 9 Boudewijn 2013-11-20 21:11:04 UTC
On 11/20/2013 01:13 PM, Christian Mollekopf wrote:
> https://bugs.kde.org/show_bug.cgi?id=319033
>
> Christian Mollekopf <mollekopf@kolabsys.com> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|CONFIRMED                   |RESOLVED
>                   CC|                            |mollekopf@kolabsys.com
>           Resolution|---                         |WAITINGFORINFO
>
> --- Comment #8 from Christian Mollekopf <mollekopf@kolabsys.com> ---
> Crash backtraces of pre 4.11.3 versions are no longer useful. Please reopen if
> you can reproduce the issue with >= 4.11.3.
>
Thanks for your time, I will reopen in case I can reproduce the issue on 
a more recent version of Akonadi.

Best regards,

Boudewijn