Bug 355474 - KMail 5.0.2 crashes after click on new message
Summary: KMail 5.0.2 crashes after click on new message
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-17 09:23 UTC by Oliver Maurhart
Modified: 2015-11-17 09:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Maurhart 2015-11-17 09:23:09 UTC
After setting the signature of my Identity KMail crashes instantly when clicking the "New Message" button. Can't create emails.

The backtrace is:

#0  0x00007f56fc6ad880 in KSelectAction::selectableActionGroup() const () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#1  0x00007f56fc6adc29 in KSelectAction::currentAction() const () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#2  0x00007f56fc6adc61 in KSelectAction::currentText() const () from /usr/lib/x86_64-linux-gnu/libKF5WidgetsAddons.so.5
#3  0x00007f570622e953 in CodecAction::mimeCharsets (this=0x0) at ../../kmail/editor/codec/codecaction.cpp:81
#4  0x00007f5706236262 in KMComposeWin::applyComposerSetting (this=this@entry=0x2d5dd10, mComposerBase=0x2d6dad0) at ../../kmail/editor/kmcomposewin.cpp:2659
#5  0x00007f57062364ef in KMComposeWin::autoSaveMessage (this=0x2d5dd10, force=<optimized out>) at ../../kmail/editor/kmcomposewin.cpp:1922
#6  0x00007f570613e7f0 in KMKernel::dumpDeadLetters (this=<optimized out>) at ../../kmail/kmkernel.cpp:1420
#7  0x00007f57061444b7 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1266
#8  0x00007f56feb5eb41 in KCrash::defaultCrashHandler(int) () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
#9  <signal handler called>
#10 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::data (this=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#11 qGetPtrHelper<QScopedPointer<QObjectData> > (p=...) at ../../include/QtCore/../../src/corelib/global/qglobal.h:962
#12 QAction::d_func (this=<optimized out>) at kernel/qaction.h:56
#13 QAction::setEnabled (this=0x0, b=b@entry=false) at kernel/qaction.cpp:1025
#14 0x00007f5706231dd9 in KMComposeWin::slotEditorTextChanged (this=0x2d5dd10) at ../../kmail/editor/kmcomposewin.cpp:535
#15 0x00007f5706277c51 in KMComposeWin::qt_static_metacall (_o=_o@entry=0x2d5dd10, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=33, _a=_a@entry=0x7ffe89f37a60) at moc_kmcomposewin.cpp:484
#16 0x00007f57049dc78a in QMetaObject::activate (sender=0x33f0050, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3717
#17 0x00007f57049dcf87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f570577a700 <QTextEdit::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#18 0x00007f5705420b40 in QTextEdit::textChanged (this=<optimized out>) at .moc/moc_qtextedit.cpp:519
#19 0x00007f570542607d in QTextEdit::qt_static_metacall (_o=_o@entry=0x33f0050, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffe89f37bc0) at .moc/moc_qtextedit.cpp:317
#20 0x00007f57049dc78a in QMetaObject::activate (sender=0x33e5f70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3717
#21 0x00007f57049dcf87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f570577c2a0 <QWidgetTextControl::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#22 0x00007f570543e080 in QWidgetTextControl::textChanged (this=<optimized out>) at .moc/moc_qwidgettextcontrol_p.cpp:476
#23 0x00007f57054472c5 in QWidgetTextControl::qt_static_metacall (_o=_o@entry=0x33e5f70, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=0, _a=_a@entry=0x7ffe89f37d50) at .moc/moc_qwidgettextcontrol_p.cpp:253
#24 0x00007f570544c235 in QWidgetTextControl::qt_metacall (this=0x33e5f70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe89f37d50) at .moc/moc_qwidgettextcontrol_p.cpp:418
#25 0x00007f57049dc940 in QMetaObject::activate (sender=sender@entry=0x33e5fd0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3732
#26 0x00007f57049dcf87 in QMetaObject::activate (sender=sender@entry=0x33e5fd0, m=m@entry=0x7f5705113f20 <QTextDocument::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3582
#27 0x00007f570504ecf3 in QTextDocument::contentsChanged (this=this@entry=0x33e5fd0) at .moc/moc_qtextdocument.cpp:373
#28 0x00007f5704dd8325 in QTextDocumentPrivate::contentsChanged (this=0x33e6150) at text/qtextdocument_p.cpp:1648
#29 QTextDocumentPrivate::finishEdit (this=0x33e6150) at text/qtextdocument_p.cpp:1240
#30 0x00007f5704ddc00d in QTextDocumentPrivate::endEditBlock (this=<optimized out>) at text/qtextdocument_p.cpp:1195
#31 0x00007f5704e1d50d in QSyntaxHighlighterPrivate::rehighlight (operation=QTextCursor::End, cursor=..., this=0x33e7db0) at text/qsyntaxhighlighter.cpp:69
#32 QSyntaxHighlighter::rehighlight (this=<optimized out>) at text/qsyntaxhighlighter.cpp:368
#33 0x00007f5705d0438d in PimCommon::RichTextEditor::setSpellCheckingLanguage (this=0x33f0050, _language=...) at ../../pimcommon/texteditor/richtexteditor/richtexteditor.cpp:616
#34 0x00007f570622fbd3 in KMComposeWin::slotSpellCheckingLanguage (this=0x2d5dd10, language=...) at ../../kmail/editor/kmcomposewin.cpp:523
#35 0x00007f57049dc617 in QtPrivate::QSlotObjectBase::call (a=0x7ffe89f37ff0, r=0x2d5dd10, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#36 QMetaObject::activate (sender=0x2d692d0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3702
#37 0x00007f56fdd8db22 in Sonnet::DictionaryComboBox::dictionaryChanged(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5
#38 0x00007f56fdd8dbde in ?? () from /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5
#39 0x00007f56fdd8deae in Sonnet::DictionaryComboBox::setCurrentByDictionaryName(QString const&) () from /usr/lib/x86_64-linux-gnu/libKF5SonnetUi.so.5
#40 0x00007f5706238953 in KMComposeWin::readConfig (this=this@entry=0x2d5dd10, reload=reload@entry=false) at ../../kmail/editor/kmcomposewin.cpp:650
#41 0x00007f57062492a3 in KMComposeWin::KMComposeWin (this=this@entry=0x2d5dd10, aMsg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::New, id=id@entry=0, textSelection=..., customTemplate=...,
    __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/editor/kmcomposewin.cpp:458
#42 0x00007f5706249d21 in KMComposeWin::create (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::New, identity=0, textSelection=..., customTemplate=...) at ../../kmail/editor/kmcomposewin.cpp:216
#43 0x00007f5706249d5c in KMail::makeComposer (msg=..., lastSignState=lastSignState@entry=false, lastEncryptState=lastEncryptState@entry=false, context=context@entry=KMail::Composer::New, identity=<optimized out>, textSelection=..., customTemplate=...) at ../../kmail/editor/kmcomposewin.cpp:209
#44 0x00007f57061841b3 in KMMainWidget::slotCompose (this=0x1ed69e0) at ../../kmail/kmmainwidget.cpp:1326
#45 0x00007f57049dc617 in QtPrivate::QSlotObjectBase::call (a=0x7ffe89f38d50, r=0x1ed69e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#46 QMetaObject::activate (sender=sender@entry=0x23f6350, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe89f38d50) at kernel/qobject.cpp:3702
#47 0x00007f57049dcf87 in QMetaObject::activate (sender=sender@entry=0x23f6350, m=m@entry=0x7f5705770c80 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe89f38d50) at kernel/qobject.cpp:3582
#48 0x00007f5705270172 in QAction::triggered (this=this@entry=0x23f6350, _t1=false) at .moc/moc_qaction.cpp:360
#49 0x00007f5705272618 in QAction::activate (this=0x23f6350, event=<optimized out>) at kernel/qaction.cpp:1167
#50 0x00007f5705372e40 in QAbstractButtonPrivate::click (this=0x252fca0) at widgets/qabstractbutton.cpp:516
#51 0x00007f5705372f74 in QAbstractButton::mouseReleaseEvent (this=0x252fc60, e=0x7ffe89f39260) at widgets/qabstractbutton.cpp:1132
#52 0x00007f57054364ca in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:609
#53 0x00007f57052bc188 in QWidget::event (this=0x252fc60, event=event@entry=0x7ffe89f39260) at kernel/qwidget.cpp:9023
#54 0x00007f5705373cc3 in QAbstractButton::event (this=this@entry=0x252fc60, e=e@entry=0x7ffe89f39260) at widgets/qabstractbutton.cpp:1089
#55 0x00007f57054365a9 in QToolButton::event (this=0x252fc60, event=0x7ffe89f39260) at widgets/qtoolbutton.cpp:965
#56 0x00007f5705279b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1c78e00, receiver=receiver@entry=0x252fc60, e=e@entry=0x7ffe89f39260) at kernel/qapplication.cpp:3720
#57 0x00007f570527fc7a in QApplication::notify (this=<optimized out>, receiver=0x252fc60, e=0x7ffe89f39260) at kernel/qapplication.cpp:3280
#58 0x00007f57049abf1b in QCoreApplication::notifyInternal (this=0x7ffe89f3a050, receiver=receiver@entry=0x252fc60, event=event@entry=0x7ffe89f39260) at kernel/qcoreapplication.cpp:935
#59 0x00007f570527e6f2 in QCoreApplication::sendSpontaneousEvent (event=0x7ffe89f39260, receiver=0x252fc60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x252fc60, event=event@entry=0x7ffe89f39260, alienWidget=alienWidget@entry=0x252fc60, nativeWidget=0x24c59a0, buttonDown=buttonDown@entry=0x7f570579fa10 <qt_button_down>, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2751
#61 0x00007f57052d3440 in QWidgetWindow::handleMouseEvent (this=this@entry=0x24c88b0, event=event@entry=0x7ffe89f39680) at kernel/qwidgetwindow.cpp:543
#62 0x00007f57052d578b in QWidgetWindow::event (this=0x24c88b0, event=0x7ffe89f39680) at kernel/qwidgetwindow.cpp:210
#63 0x00007f5705279b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1c78e00, receiver=receiver@entry=0x24c88b0, e=e@entry=0x7ffe89f39680) at kernel/qapplication.cpp:3720
#64 0x00007f570527f230 in QApplication::notify (this=0x7ffe89f3a050, receiver=0x24c88b0, e=0x7ffe89f39680) at kernel/qapplication.cpp:3503
#65 0x00007f57049abf1b in QCoreApplication::notifyInternal (this=0x7ffe89f3a050, receiver=receiver@entry=0x24c88b0, event=event@entry=0x7ffe89f39680) at kernel/qcoreapplication.cpp:935
#66 0x00007f5704cce3c8 in QCoreApplication::sendSpontaneousEvent (event=0x7ffe89f39680, receiver=0x24c88b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#67 QGuiApplicationPrivate::processMouseEvent (e=0x1fad9f0) at kernel/qguiapplication.cpp:1772
#68 0x00007f5704cd0005 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1fad9f0) at kernel/qguiapplication.cpp:1576
#69 0x00007f5704cb55b8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#70 0x00007f56e2065250 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#71 0x00007f56fa2acff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#72 0x00007f56fa2ad250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x00007f56fa2ad2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x00007f5704a0327f in QEventDispatcherGlib::processEvents (this=0x1caa850, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#75 0x00007f57049a975a in QEventLoop::exec (this=this@entry=0x7ffe89f39a00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#76 0x00007f57049b12cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#77 0x00007f5704cc600c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#78 0x00007f5705276025 in QApplication::exec () at kernel/qapplication.cpp:2956
#79 0x0000000000404260 in main (argc=1, argv=0x7ffe89f3a2c8) at ../../kmail/main.cpp:161


History:

* Had a signature file configured in my identities.
* Installed new Kubuntu 15.10
* Suddenly my Dictionary on creating EMails changed to American English
* ... but worked ok.
* Recently: wanted to set it to my German as before
* Failed to apply default dictionary since "Signature file not valid!"
* Checked signature: it is valid (no change since Kubuntu 15.04 and mails have been created with it in 15.10 already)
* Failed to apply new Identity settings
* Removed signature file but created an input field for my EMail signatures.
* Succeeded to apply my KMail EMail-Identities! (Why? ...)

* Since then KMail crashes instantly on creating new mails! Huh ... o.O

See backtrace above.

Reproducible: Always

Steps to Reproduce:
1. Change Signature Settings in EMail Identity
2. Signature file "not valid", though worked before and *is* valid
3. Set Signature to input field 
4. Instant crash on "New Message" click

Actual Results:  
Kmail (and Kontact) immediatley vanish from screen. Not even KCrash Dialog appears.

Expected Results:  
I should be able to write emails.