Bug 283838 - Akonadi Crash after Certificate Failure
Summary: Akonadi Crash after Certificate Failure
Status: RESOLVED DUPLICATE of bug 279113
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.7
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 06:42 UTC by Joachim
Modified: 2011-11-18 00:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (13.33 KB, text/plain)
2011-11-15 08:28 UTC, Johan Erlands
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim 2011-10-12 06:42:23 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I was fetching mails with kmail2 from an imap account with a self-signed certificate. Akonadi informed me that this certificate is not valid while I was away. And when I was back I choose accept permanently and got the crash.
I would assume due to the delay between asking about the certificate and accepting it, some session timed out or something. Though I have no clue of the architecture of akonadi.

- Unusual behavior I noticed:
Akonadi asks me about this certificate every time I start my pc. For every account. Always. no matter how often I choose Accept Permanently.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Bus error
[KCrash Handler]
#6  0x00007f392b457c08 in QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) () from /usr/lib/libQtCore.so.4
#7  0x00007f392a0fb147 in KIMAP::SessionPrivate::handleSslError(KSslErrorUiData const&) () from /usr/lib/libkimap.so.4
#8  0x00007f392a0fda52 in KIMAP::Session::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkimap.so.4
#9  0x00007f392b46518e in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#10 0x00007f392a824ae4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f392a829951 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#12 0x00007f3928968c96 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#13 0x00007f392b44e89c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#14 0x00007f392b451c2f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#15 0x00007f392b4791a3 in ?? () from /usr/lib/libQtCore.so.4
#16 0x00007f392662d29d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007f392662da78 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007f392662dd09 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007f392b479606 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007f392a8c7eee in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f392b44da92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f392b44dc97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007f392b451eab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#24 0x00007f392bb43a56 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#25 0x000000000041aad6 in int Akonadi::ResourceBase::init<ImapResource>(int, char**) ()
#26 0x00007f39279db13d in __libc_start_main () from /lib/libc.so.6
#27 0x00000000004155c5 in _start ()

This bug may be a duplicate of or related to bug 282722, bug 279113.

Possible duplicates by query: bug 282722, bug 279113.

Reported using DrKonqi
Comment 1 Johan Erlands 2011-11-15 08:28:53 UTC
Created attachment 65691 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.7) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:
Checking mail. The exchange server that I am connected to uses a self signed certificate.
Got a questions about the certificate. 

- Unusual behavior
The question about the certificate always comes back.  In the previous version (from kubuntu) i got one per time I started the program. In this version it always asks. It is more likely to crash if it has sent up more than one question.

-- Backtrace (Reduced):
#7  0x00007fe100978567 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., member=<optimized out>, obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:426
#8  KIMAP::SessionPrivate::handleSslError (this=0x17fc0c0, errorData=<optimized out>) at ../../kimap/session.cpp:121
#9  0x00007fe10097ae72 in KIMAP::Session::qt_metacall (this=0x166daf0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fe0e4002ec0) at ./session.moc:117
#10 0x00007fe101d53a5e in QObject::event (this=0x166daf0, e=<optimized out>) at kernel/qobject.cpp:1217
#11 0x00007fe1010ed424 in notify_helper (e=0x7fe0e4002d80, receiver=0x166daf0, this=0x14826d0) at kernel/qapplication.cpp:4486
Comment 2 Christophe Marin 2011-11-18 00:06:46 UTC

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