With kdepim-runtime 17.04.1, akonadi_imap_resource always crashes when trying to configure an IMAP account from kmail settings -> accounts. Downgrading to kdepim-runtime 17.04.0 fixes the problem. Backtrace: (gdb) bt #0 MailTransport::ServerTest::normalProtocols (this=0x0) at /build/kmailtransport/src/kmailtransport-17.04.1/src/kmailtransport/servertest.cpp:593 #1 0x0000000000427766 in ?? () #2 0x00007fbc943e2cdb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #3 0x00007fbc955732d2 in QLineEdit::textChanged(QString const&) () from /usr/lib/libQt5Widgets.so.5 #4 0x00007fbc95579909 in ?? () from /usr/lib/libQt5Widgets.so.5 #5 0x00007fbc943e2977 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #6 0x00007fbc955f2d55 in QWidgetLineControl::textChanged(QString const&) () from /usr/lib/libQt5Widgets.so.5 #7 0x00007fbc955f628e in QWidgetLineControl::finishChange(int, bool, bool) () from /usr/lib/libQt5Widgets.so.5 #8 0x00007fbc955f6567 in QWidgetLineControl::internalSetText(QString const&, int, bool) () from /usr/lib/libQt5Widgets.so.5 #9 0x00007fbc95574fa2 in QLineEdit::setText(QString const&) () from /usr/lib/libQt5Widgets.so.5 #10 0x00000000004263d2 in ?? () #11 0x000000000042979e in ?? () #12 0x000000000042092d in ?? () #13 0x000000000043520d in ?? () #14 0x00007fbc97982a25 in Akonadi__ControlAdaptor::qt_metacall (this=0x1c24700, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fff37dcb480) at /build/akonadi/src/build/src/agentbase/controladaptor.moc:172 #15 0x00007fbc960576b0 in ?? () from /usr/lib/libQt5DBus.so.5 #16 0x00007fbc9605bf3d in ?? () from /usr/lib/libQt5DBus.so.5 #17 0x00007fbc9605c7e4 in ?? () from /usr/lib/libQt5DBus.so.5 #18 0x00007fbc9605f0ce in ?? () from /usr/lib/libQt5DBus.so.5 #19 0x00007fbc943e3999 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #20 0x00007fbc95443a3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #21 0x00007fbc9544b321 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007fbc943b6050 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #23 0x00007fbc943b8b1d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #24 0x00007fbc9440ba33 in ?? () from /usr/lib/libQt5Core.so.5 #25 0x00007fbc8d7d77b7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #26 0x00007fbc8d7d7a20 in ?? () from /usr/lib/libglib-2.0.so.0 #27 0x00007fbc8d7d7acc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #28 0x00007fbc9440be3f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #29 0x00007fbc943b46ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #30 0x00007fbc943bcfa4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #31 0x00007fbc97969a8e in Akonadi::ResourceBase::init (r=0x1c16920) at /build/akonadi/src/akonadi-17.04.1/src/agentbase/resourcebase.cpp:607 #32 0x0000000000420465 in ?? () #33 0x00007fbc9380c511 in __libc_start_main () from /usr/lib/libc.so.6 #34 0x000000000042030a in _start ()
Bisected to https://cgit.kde.org/kdepim-runtime.git/commit/?h=Applications/17.04&id=b5890530c0f81ecf4955d3fe98983704b16f513f
https://phabricator.kde.org/D5819
*** This bug has been marked as a duplicate of bug 379155 ***