https://bugs.kde.org/show_bug.cgi?id=351395
Bug ID: 351395 Summary: kmail 4.81beta1 crashes when opening the composer with "new message" for the first time after startup Product: kmail2 Version: unspecified Platform: Gentoo Packages OS: Linux Status: UNCONFIRMED Severity: grave Priority: NOR Component: composer Assignee: kdepim-bugs@kde.org Reporter: jan_br...@gmx.net When creating a new message after launching kmail, it crashes and ends. If I (instead) start kmail and open the composer via reply to, or from command line with an e-Mail-Address as parameter, the composer opens and afterwards, I can use the "new message" action from the menu or the toolbar. gdb shows a segfault Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7a81b55 in QAction::setEnabled(bool) () from /usr/lib64/libQt5Widgets.so.5 (gdb) back #0 0x00007ffff7a81b55 in QAction::setEnabled(bool) () from /usr/lib64/libQt5Widgets.so.5 #1 0x00007fff8b7ec0f9 in KMComposeWin::slotEditorTextChanged (this=0x2b8a800) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/editor/kmcomposewin.cpp:535 #2 0x00007fff8b835a0b in KMComposeWin::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90_build/kmail/moc_kmcomposewin.cpp:485 #3 0x00007ffff6ea6fb1 in QMetaObject::activate (sender=0x219a0f0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3718 #4 0x00007ffff78cce95 in QTextEdit::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5 #5 0x00007ffff6ea6fb1 in QMetaObject::activate (sender=0x4afa790, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3718 #6 0x00007ffff78928dd in QWidgetTextControl::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5 #7 0x00007ffff7892c8b in QWidgetTextControl::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQt5Widgets.so.5 #8 0x00007ffff6ea70b4 in QMetaObject::activate (sender=sender@entry=0x4afa7b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3733 #9 0x00007ffff6ea7667 in QMetaObject::activate (sender=sender@entry=0x4afa7b0, m=m@entry=0x7ffff760fae0 <QTextDocument::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3583 #10 0x00007ffff7546a43 in QTextDocument::contentsChanged (this=this@entry=0x4afa7b0) at .moc/moc_qtextdocument.cpp:378 #11 0x00007ffff72d7442 in contentsChanged (this=0x4aed6b0) at text/qtextdocument_p.cpp:1646 #12 QTextDocumentPrivate::finishEdit (this=0x4aed6b0) at text/qtextdocument_p.cpp:1238 #13 0x00007ffff72d786c in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1193 #14 0x00007ffff72d794e in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1179 #15 0x00007ffff731c22d in rehighlight (operation=QTextCursor::End, cursor=..., this=0x48adf20) at text/qsyntaxhighlighter.cpp:69 #16 QSyntaxHighlighter::rehighlight (this=<optimized out>) at text/qsyntaxhighlighter.cpp:368 #17 0x00007fff8be8544d in PimCommon::RichTextEditor::setSpellCheckingLanguage (this=0x219a0f0, _language=...) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/pimcommon/texteditor/richtexteditor/richtexteditor.cpp:616 #18 0x00007fff8b7e9eb3 in KMComposeWin::slotSpellCheckingLanguage (this=0x2b8a800, language=...) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/editor/kmcomposewin.cpp:523 #19 0x00007ffff6ea68f6 in call (a=0x7fffffffa7d0, r=0x2b8a800, this=0x42f98b0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #20 QMetaObject::activate (sender=0xa97810, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffa7d0) at kernel/qobject.cpp:3703 #21 0x00007fffef240242 in Sonnet::DictionaryComboBox::dictionaryChanged(QString const&) () from /usr/lib64/libKF5SonnetUi.so.5 #22 0x00007fffef2402fe in Sonnet::DictionaryComboBox::Private::slotDictionaryChanged(int) () from /usr/lib64/libKF5SonnetUi.so.5 #23 0x00007fffef2405a3 in Sonnet::DictionaryComboBox::setCurrentByDictionaryName(QString const&) () from /usr/lib64/libKF5SonnetUi.so.5 #24 0x00007fff8b7f2dc3 in KMComposeWin::readConfig (this=this@entry=0x2b8a800, reload=reload@entry=false) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/editor/kmcomposewin.cpp:650 #25 0x00007fff8b805898 in KMComposeWin::KMComposeWin (this=this@entry=0x2b8a800, aMsg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::New, id=id@entry=824152080, textSelection=..., customTemplate=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/editor/kmcomposewin.cpp:458 #26 0x00007fff8b806681 in KMComposeWin::create (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::New, identity=identity@entry=824152080, textSelection=..., customTemplate=...) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/editor/kmcomposewin.cpp:216 #27 0x00007fff8b8066bc in KMail::makeComposer (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::New, identity=identity@entry=824152080, textSelection=..., customTemplate=...) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/editor/kmcomposewin.cpp:209 #28 0x00007fff8b6f83ad in KMKernel::newMessage (this=0x7a6a80, to=..., cc=..., bcc=..., hidden=<optimized out>, useFolderId=true, _attachURL=...) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/kmkernel.cpp:915 #29 0x00007fff8b814dab in newMessage (attachURL=..., messageFile=..., useFolderId=<optimized out>, hidden=<optimized out>, bcc=..., cc=..., to=..., this=0x89b7a0) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90_build/kmail/kmailadaptor.cpp:69 #30 KmailAdaptor::qt_static_metacall (_o=_o@entry=0x89b7a0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7fffffffb670) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90_build/kmail/kmailadaptor.moc:296 #31 0x00007fff8b814fe3 in KmailAdaptor::qt_metacall (this=0x89b7a0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7fffffffb670) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90_build/kmail/kmailadaptor.moc:356 #32 0x00007ffff3a0af1c in QDBusConnectionPrivate::deliverCall (this=this@entry=0x4e7710, object=object@entry=0x89b7a0, msg=..., metaTypes=..., slotIdx=10) at qdbusintegrator.cpp:979 #33 0x00007ffff3a0f628 in QDBusConnectionPrivate::activateCall (this=this@entry=0x4e7710, object=0x89b7a0, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:885 #34 0x00007ffff3a100d3 in QDBusConnectionPrivate::activateObject (this=this@entry=0x4e7710, node=..., msg=..., pathStartPos=pathStartPos@entry=6) at qdbusintegrator.cpp:1462 #35 0x00007ffff3a108e5 in QDBusConnectionPrivate::handleObjectCall (this=this@entry=0x4e7710, msg=...) at qdbusintegrator.cpp:1559 #36 0x00007ffff3a10c70 in QDBusConnectionPrivate::handleMessage (this=this@entry=0x4e7710, amsg=...) at qdbusintegrator.cpp:572 #37 0x00007ffff3a10e8a in QDBusConnectionPrivate::sendWithReplyLocal (this=this@entry=0x4e7710, message=...) at qdbusintegrator.cpp:2090 #38 0x00007ffff3a1153a in QDBusConnectionPrivate::sendWithReplyAsync (this=0x4e7710, message=..., receiver=receiver@entry=0x0, returnMethod=returnMethod@entry=0x0, errorMethod=errorMethod@entry=0x0, timeout=<optimized out>) at qdbusintegrator.cpp:2125 #39 0x00007ffff39fe5e8 in QDBusConnection::asyncCall (this=this@entry=0x7645d0, message=..., timeout=<optimized out>) at qdbusconnection.cpp:595 #40 0x00007ffff3a1b5c2 in QDBusAbstractInterface::asyncCallWithArgumentList (this=this@entry=0x702710, method=..., args=...) at qdbusabstractinterface.cpp:509 #41 0x00007fffa0019f9b in newMessage (attachURL=..., messageFile=..., useFolderId=true, hidden=false, bcc=..., cc=..., to=..., this=0x702710) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90_build/kmail/kontactplugin/kmailinterface.h:75 #42 KMailPlugin::openComposer (this=<optimized out>, to=...) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/kontactplugin/kmail_plugin.cpp:153 #43 0x00007fffa001a38c in KMailPlugin::slotNewMail (this=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kmail/kontactplugin/kmail_plugin.cpp:159 #44 0x00007ffff6ea68f6 in call (a=0x7fffffffc120, r=0x71a100, this=0x6fcfc0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #45 QMetaObject::activate (sender=0x784f10, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffc120) at kernel/qobject.cpp:3703 #46 0x00007ffff7a7a292 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5 #47 0x00007ffff7a819e8 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5 #48 0x00007ffff7f83321 in trigger (this=<optimized out>) at /usr/include/qt5/QtWidgets/qaction.h:177 #49 Kontact::MainWindow::slotNewClicked (this=<optimized out>) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kontact/src/mainwindow.cpp:758 #50 0x00007ffff6ea68f6 in call (a=0x7fffffffc2e0, r=0x5146c0, this=0x887860) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #51 QMetaObject::activate (sender=0x76cc20, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffffffc2e0) at kernel/qobject.cpp:3703 #52 0x00007ffff7a7a292 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5 #53 0x00007ffff7a819e8 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5 #54 0x00007ffff796d48d in QAbstractButtonPrivate::click() () from /usr/lib64/libQt5Widgets.so.5 #55 0x00007ffff796d5e4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5 #56 0x00007ffff787c53a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5 #57 0x00007ffff77afef7 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #58 0x00007ffff789a7ad in QToolButton::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #59 0x00007ffff7a88b7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #60 0x00007ffff7a8994e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #61 0x00007ffff6e76d3b in QCoreApplication::notifyInternal (this=0x7fffffffd240, receiver=0x7df240, event=0x7fffffffc880) at kernel/qcoreapplication.cpp:965 #62 0x00007ffff7a8eb73 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5 #63 0x00007ffff7817447 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #64 0x00007ffff7a88b7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #65 0x00007ffff7a89230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #66 0x00007ffff6e76d3b in QCoreApplication::notifyInternal (this=0x7fffffffd240, receiver=receiver@entry=0x5bf460, event=event@entry=0x7fffffffcc20) at kernel/qcoreapplication.cpp:965 #67 0x00007ffff71c1603 in sendSpontaneousEvent (event=0x7fffffffcc20, receiver=0x5bf460) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227 #68 QGuiApplicationPrivate::processMouseEvent (e=0x100c5f0) at kernel/qguiapplication.cpp:1790 #69 0x00007ffff71c3225 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x100c5f0) at kernel/qguiapplication.cpp:1582 #70 0x00007ffff71a67ef in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:608 #71 0x00007fffe9eaa520 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70 #72 0x00007ffff1a1e92d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #73 0x00007ffff1a87058 in ?? () from /usr/lib64/libglib-2.0.so.0 #74 0x00007ffff1a1fdcc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #75 0x00007ffff6ed0367 in QEventDispatcherGlib::processEvents (this=0x4c1960, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #76 0x00007ffff6e74532 in QEventLoop::exec (this=this@entry=0x7fffffffcfb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #77 0x00007ffff6e7c62c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229 #78 0x0000000000404870 in main (argc=1, argv=0x7fffffffd388) at /var/tmp/portage/kde-apps/kdepim-15.07.90/work/kdepim-15.07.90/kontact/src/main.cpp:220 Reproducible: Always Steps to Reproduce: 1. Start kmail 2. Say new-message, via shortcut, toolbar or menu Actual Results: Kmail ends with a segfault. Expected Results: The composer opens. Running with plasma 5.4 beta, frameworks 5.13 and Applications 15.08 rc. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list Kdepim-bugs@kde.org https://mail.kde.org/mailman/listinfo/kdepim-bugs