Kmail crashes (segfault) when trying to reply to an email. All I have to do is press the [R] key or click the Reply button to make it crash. This makes KMail useless for me, which is why I marked this issue as "Grave". This is the stack trace, with as many debug symbols as I could install: #0 QAction::setEnabled (this=0x0, b=false) at kernel/qaction.cpp:1025 #1 0x00007ffff78bedd9 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #2 0x00007ffff7904c51 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #3 0x00007ffff606978a in QMetaObject::activate (sender=0x1c03cf0, signalOffset=<optimised out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3717 #4 0x00007ffff6069f87 in QMetaObject::activate (sender=<optimised out>, m=m@entry=0x7ffff6e07700 <QTextEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #5 0x00007ffff6aadb40 in QTextEdit::textChanged (this=<optimised out>) at .moc/moc_qtextedit.cpp:519 #6 0x00007ffff6ab307d in QTextEdit::qt_static_metacall (_o=_o@entry=0x1c03cf0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7fffffffbc20) at .moc/moc_qtextedit.cpp:317 #7 0x00007ffff606978a in QMetaObject::activate (sender=0x1bfaad0, signalOffset=<optimised out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3717 #8 0x00007ffff6069f87 in QMetaObject::activate (sender=<optimised out>, m=m@entry=0x7ffff6e092a0 <QWidgetTextControl::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #9 0x00007ffff6acb080 in QWidgetTextControl::textChanged (this=<optimised out>) at .moc/moc_qwidgettextcontrol_p.cpp:476 #10 0x00007ffff6ad42c5 in QWidgetTextControl::qt_static_metacall (_o=_o@entry=0x1bfaad0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7fffffffbdb0) at .moc/moc_qwidgettextcontrol_p.cpp:253 #11 0x00007ffff6ad9235 in QWidgetTextControl::qt_metacall (this=0x1bfaad0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffbdb0) at .moc/moc_qwidgettextcontrol_p.cpp:418 #12 0x00007ffff6069940 in QMetaObject::activate (sender=sender@entry=0x1bfab30, signalOffset=<optimised out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3732 #13 0x00007ffff6069f87 in QMetaObject::activate (sender=sender@entry=0x1bfab30, m=m@entry=0x7ffff67a0f20 <QTextDocument::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #14 0x00007ffff66dbcf3 in QTextDocument::contentsChanged (this=this@entry=0x1bfab30) at .moc/moc_qtextdocument.cpp:373 #15 0x00007ffff6465325 in QTextDocumentPrivate::contentsChanged (this=0x1bfacb0) at text/qtextdocument_p.cpp:1648 #16 QTextDocumentPrivate::finishEdit (this=0x1bfacb0) at text/qtextdocument_p.cpp:1240 #17 0x00007ffff646900d in QTextDocumentPrivate::endEditBlock (this=<optimised out>) at text/qtextdocument_p.cpp:1195 #18 0x00007ffff64aa50d in QSyntaxHighlighterPrivate::rehighlight (operation=QTextCursor::End, cursor=..., this=0x1bfcbd0) at text/qsyntaxhighlighter.cpp:69 #19 QSyntaxHighlighter::rehighlight (this=<optimised out>) at text/qsyntaxhighlighter.cpp:368 #20 0x00007ffff739138d in PimCommon::RichTextEditor::setSpellCheckingLanguage(QString const&) () from /usr/lib/x86_64-linux-gnu/libpimcommon.so.5 #21 0x00007ffff78bcbd3 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #22 0x00007ffff6069617 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffc050, r=0x1903b00, this=<optimised out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #23 QMetaObject::activate (sender=0x1b7f1d0, signalOffset=<optimised out>, local_signal_index=<optimised out>, argv=<optimised out>) at kernel/qobject.cpp:3702 #24 0x00007fffef41ab22 in Sonnet::DictionaryComboBox::dictionaryChanged(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5 #25 0x00007fffef41abde in ?? () from /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5 #26 0x00007fffef41aeae in Sonnet::DictionaryComboBox::setCurrentByDictionaryName(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5 #27 0x00007ffff78c5953 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #28 0x00007ffff78d62a3 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #29 0x00007ffff78d6d21 in ?? () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #30 0x00007ffff77e5270 in KMReplyCommand::execute() () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #31 0x00007ffff77dd9e1 in KMCommand::slotPostTransfer(KMCommand::Result) () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #32 0x00007ffff6069617 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffce00, r=0x17d80e0, this=<optimised out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #33 QMetaObject::activate (sender=0x17d80e0, signalOffset=<optimised out>, local_signal_index=<optimised out>, argv=<optimised out>) at kernel/qobject.cpp:3702 #34 0x00007ffff78fcb1e in KMCommand::messagesTransfered(KMCommand::Result) () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #35 0x00007ffff77e0dc9 in KMCommand::slotJobFinished() () from /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5 #36 0x00007ffff6069617 in QtPrivate::QSlotObjectBase::call (a=0x7fffffffcfa0, r=0x17d80e0, this=<optimised out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #37 QMetaObject::activate (sender=0x17d7ca0, signalOffset=<optimised out>, local_signal_index=<optimised out>, argv=<optimised out>) at kernel/qobject.cpp:3702 #38 0x00007ffff70978d2 in KJob::result(KJob*, KJob::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 #39 0x00007ffff709845a in KJob::emitResult() () from /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5 #40 0x00007ffff0e453b3 in Akonadi::JobPrivate::delayedEmitResult (this=<optimised out>) at ../../../../akonadi/src/core/jobs/job.cpp:153 #41 Akonadi::Job::qt_static_metacall (_o=<optimised out>, _c=<optimised out>, _id=<optimised out>, _a=<optimised out>) at ./moc_job.cpp:107 #42 0x00007ffff606a651 in QObject::event (this=0x17d7ca0, e=<optimised out>) at kernel/qobject.cpp:1245 #43 0x00007ffff6906b8c in QApplicationPrivate::notify_helper (this=this@entry=0x68c9b0, receiver=receiver@entry=0x17d7ca0, e=e@entry=0x1a27f80) at kernel/qapplication.cpp:3720 #44 0x00007ffff690c230 in QApplication::notify (this=0x7fffffffdb90, receiver=0x17d7ca0, e=0x1a27f80) at kernel/qapplication.cpp:3503 #45 0x00007ffff6038f1b in QCoreApplication::notifyInternal (this=0x7fffffffdb90, receiver=0x17d7ca0, event=event@entry=0x1a27f80) at kernel/qcoreapplication.cpp:935 #46 0x00007ffff603b057 in QCoreApplication::sendEvent (event=0x1a27f80, receiver=<optimised out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228 #47 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x687400) at kernel/qcoreapplication.cpp:1552 #48 0x00007ffff603b588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410 #49 0x00007ffff608fe73 in postEventSourceDispatch (s=0x6c64c0) at kernel/qeventdispatcher_glib.cpp:271 #50 0x00007fffeb939ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #51 0x00007fffeb93a250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #52 0x00007fffeb93a2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #53 0x00007ffff609027f in QEventDispatcherGlib::processEvents (this=0x6d5ca0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #54 0x00007ffff603675a in QEventLoop::exec (this=this@entry=0x7fffffffd540, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #55 0x00007ffff603e2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #56 0x0000000000404260 in main () Reproducible: Always Steps to Reproduce: 1. Start kmail 2. Reply to an email 3. Crash Actual Results: *** KMail got signal 11 (Exiting) Expected Results: A new window that shows the email composer. I'll attach the console output as well.
Created attachment 96731 [details] Console output Console output. This was produced using kmail 4:15.08.2-0ubuntu1 on Kubuntu 15.10: % apt-cache show kmail Package: kmail Priority: optional Section: universe/mail Installed-Size: 6554 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Architecture: amd64 Source: kdepim Version: 4:15.08.2-0ubuntu1 Replaces: akonadi-kde (<< 4:4.1.3), kmailcvt (<< 4:3.90.0), kontact (<< 4:4.1.80), libkdepim4 (<< 4:4.13.90), libmessageviewer4 (<< 4:4.13.90) Provides: imap-client, mail-reader Depends: kdepim-runtime, libc6 (>= 2.14), libcalendarsupport5 (= 4:15.08.2-0ubuntu1), libfollowupreminder5 (= 4:15.08.2-0ubuntu1), libgcc1 (>= 1:4.1.1), libgrantlee-templates5 (>= 5.0.0), libincidenceeditorsng5 (= 4:15.08.2-0ubuntu1), libkdepim5 (= 4:15.08.2-0ubuntu1), libkf5akonadiagentbase5 (>= 15.07.90), libkf5akonadicalendar5 (>= 15.07.90), libkf5akonadicontact5 (>= 15.07.90), libkf5akonadicore5 (>= 15.07.90), libkf5akonadimime5 (>= 15.07.90), libkf5akonadiprivate5 (>= 15.07.90), libkf5akonadiwidgets5 (>= 15.07.90), libkf5alarmcalendar5 (>= 4:15.07.90), libkf5archive5 (>= 4.96.0), libkf5bookmarks5 (>= 4.96.0), libkf5calendarcore5 (>= 15.07.90), libkf5calendarutils5 (>= 4:15.07.90), libkf5codecs5 (>= 5.4.0+git20141202.0008+15.04), libkf5completion5 (>= 4.97.0), libkf5configcore5 (>= 4.98.0), libkf5configgui5 (>= 4.97.0), libkf5configwidgets5 (>= 4.98.0), libkf5contacts5 (>= 15.07.90), libkf5coreaddons5 (>= 5.2.0), libkf5crash5 (>= 4.96.0), libkf5dbusaddons5 (>= 4.97.0), libkf5gpgmepp5 (>= 15.07.90), libkf5guiaddons5 (>= 4.96.0), libkf5i18n5 (>= 4.97.0), libkf5iconthemes5 (>= 5.0.0), libkf5identitymanagement5 (>= 15.07.90), libkf5itemmodels5 (>= 4.96.0), libkf5itemviews5 (>= 4.96.0), libkf5kcmutils5 (>= 5.2.0+git20141003), libkf5kdelibs4support5 (>= 4.99.0), libkf5kiocore5 (>= 4.96.0), libkf5kiofilewidgets5 (>= 4.96.0), libkf5kiowidgets5 (>= 4.96.0), libkf5kontactinterface5 (>= 15.08.0), libkf5mailtransport5 (>= 15.08.0), libkf5mime5 (>= 15.07.90), libkf5notifications5 (>= 4.96.0), libkf5notifyconfig5 (>= 4.96.0), libkf5parts5 (>= 4.96.0), libkf5pimtextedit5 (>= 15.07.90), libkf5service5, libkf5sonnetui5 (>= 4.96.0), libkf5textwidgets5 (>= 5.0.0), libkf5wallet5 (>= 4.96.0), libkf5widgetsaddons5 (>= 5.4.0+git20141119.0013+15.04), libkf5windowsystem5 (>= 4.100.0), libkf5xmlgui5 (>= 4.98.0), libkleo5 (= 4:15.08.2-0ubuntu1), libkmanagesieve5 (= 4:15.08.2-0ubuntu1), libksieveui5 (= 4:15.08.2-0ubuntu1), libmailcommon5 (= 4:15.08.2-0ubuntu1), libmailimporter5 (= 4:15.08.2-0ubuntu1), libmessagecomposer5 (= 4:15.08.2-0ubuntu1), libmessagecore5 (= 4:15.08.2-0ubuntu1), libmessagelist5 (= 4:15.08.2-0ubuntu1), libmessageviewer5 (= 4:15.08.2-0ubuntu1), libpimcommon5 (= 4:15.08.2-0ubuntu1), libqt5core5a (>= 5.4.0), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.3.0) | libqt5gui5-gles (>= 5.3.0), libqt5network5 (>= 5.0.2), libqt5widgets5 (>= 5.2.0), libqt5xml5 (>= 5.0.2), libsendlater5 (= 4:15.08.2-0ubuntu1), libstdc++6 (>= 4.1.1), libtemplateparser5 (= 4:15.08.2-0ubuntu1) Recommends: accountwizard, gnupg-agent, gnupg2, pinentry-qt4 | pinentry-x11 Suggests: clamav, kaddressbook, kleopatra, procmail, spamassassin | bogofilter | spambayes (>= 1.0.4-6) | bsfilter | crm114 Breaks: akonadi-kde (<< 4:4.1.3), kmailcvt (<< 4:3.90.0), kontact (<< 4:4.1.80) Filename: pool/universe/k/kdepim/kmail_15.08.2-0ubuntu1_amd64.deb Size: 1585024 MD5sum: 52567902357d08f0d5422cb7a25496bc SHA1: 31d904830181ca33633dafde96f67b3a9515a15e SHA256: 9899902e33c6e1c340237f7c0298885ff6309ee3096ee2adce13182563d2f802 Description-en: full featured graphical email client KMail is a fully-featured email client that fits nicely into the KDE desktop. It has features such as support for IMAP, POP3, multiple accounts, mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. . This package also contains Nepomuk EMail Feeder Akonadi Agent. . This package is part of the KDE PIM module. Description-md5: de6424691ace5b563c821de50a5124f4 Homepage: http://kontact.kde.org/kmail/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Task: kubuntu-desktop, kubuntu-full
Created attachment 97236 [details] gdb backtracee I can reproduce the crash with Kmail version 5.0.2 KDE Framework 5.15.0 Ubuntu