Version: (using KDE 4.1.2) OS: Linux Installed from: Ubuntu Packages Easy to reproduce at my end. - Start Kontact (from konsole cmd line for this, but same from menu) - Click New Message button - Compose new Message Windows appears - Click in body editor - Kontact crashes. The console output shows a problem opening /usr/lib/aspell/bg.multi. /usr/lib/aspell/bg.multi is a link to /etc/alternatives/bulgarian-aspell-dictionary /etc/alternatives/bulgarian-aspell-dictionary is a link to /usr/lib/aspell/bg-w_english.multi /usr/lib/aspell/bg-w_english.multi does not exist! Also my language is english (Australian). I have no idea why its trying to load a bulgerian dictionary. Console Output: ========== lindsay@lindsay-office:~$ kontact(7037)/kmail KMail::TemplateParser::findTemplate: Folder found: KMFolder(0x86019f0) kontact(7037)/kmail KMail::TemplateParser::findTemplate: Identity found: 1166129224 kontact(7037)/kmail KMail::TemplateParser::processWithTemplate: Command: REM= kontact(7037)/kmail KMail::TemplateParser::processWithTemplate: Command: - kontact(7037)/kmail KMail::TemplateParser::processWithTemplate: Command: BLANK kontact(7037)/kmail KMMessage::setBodyAndGuessCte: CharFreq returned 4 / 0 and I chose 7bit kontact(7037) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop" kontact(7037) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop" Enchant dict for "en_US" 0x8ca68e8 kontact(7037)/kmail KMComposeWin::slotUpdateFont: kontact(7037)/kmail KMComposeWin::readConfig: "Default" kontact(7037)/kmail KMComposeWin::slotUpdateFont: kontact(7037)/kmail KMComposeWin::rethinkFields: kontact(7037)/kmail KMComposeWin::initAutoSave: kontact(7037)/kmail KMComposeWin::rethinkFields: kontact(7037)/kmail partNode::dump: "" + "Text" / "Plain" kontact(7037)/kmail KMail::ObjectTreeParser::parseObjectTree: node OK, showOnlyOneMimePart: FALSE kontact(7037)/kmail partNode::findType: Is looking at Text / Plain Enchant dict for "en_US" 0x8ca68e8 Enchant dict for "en_US" 0x8ca68e8 Couldn't create speller for "bg" : The file "/usr/lib/aspell/bg.multi" can not be opened for reading. ASSERT: "dict" in file /build/buildd/kde4libs-4.1.2/kdecore/sonnet/loader.cpp, line 116 *** KMail got signal 6 (Crashing) kontact(7037)/kmail KMComposeWin::autoSaveMessage: kontact(7037)/kmail KMComposeWin::autoSaveMessage: autosaving message kontact(7037)/kmail KMComposeWin::applyChanges: Entering kontact(7037)/kmail MessageComposer::applyChanges: KMAIL_DEBUG_COMPOSER_CRYPTO = FALSE kontact(7037)/kmail MessageComposer::breakLinesAndApplyCodec: Added an <LF> on the last line KCrash: crashing... crashRecursionCounter = 2 KCrash: Application Name = kontact path = <unknown> pid = 7037 sock_file=/home/lindsay/.kde4/socket-lindsay-office/kdeinit4__0 Backtrace ====== Application: Kontact (kontact), signal SIGABRT (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb4e5b720 (LWP 7037)] [KCrash handler] #6 0xb7fbf410 in __kernel_vsyscall () #7 0xb6be8085 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb6be9a01 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb777f367 in qt_message_output (msgType=QtFatalMsg, buf=0xbf8f87bc "ASSERT: \"dict\" in file /build/buildd/kde4libs-4.1.2/kdecore/sonnet/loader.cpp, line 116") at global/qglobal.cpp:2061 #10 0xb777f458 in qFatal (msg=0xb78c6498 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2263 #11 0xb777f505 in qt_assert (assertion=0xb7b3ff35 "dict", file=0xb7b3fd40 "/build/buildd/kde4libs-4.1.2/kdecore/sonnet/loader.cpp", line=116) at global/qglobal.cpp:1831 #12 0xb7aa49c2 in Sonnet::Loader::createSpeller (this=0x8308e78, language=@0x8db4ba0, clientName=@0xbf8fa878) at /build/buildd/kde4libs-4.1.2/kdecore/sonnet/loader.cpp:116 #13 0xb7aa6e9e in Sonnet::Speller::Private::recreateDict (this=0x8db4b98) at /build/buildd/kde4libs-4.1.2/kdecore/sonnet/speller.cpp:63 #14 0xb7d63b4f in Sonnet::Highlighter::setCurrentLanguage (this=0x8db3230, lang=@0x8cda79c) at /build/buildd/kde4libs-4.1.2/kdeui/sonnet/highlighter.cpp:300 #15 0xb7f5ae10 in KPIM::KMeditor::setSpellCheckLanguage () from /usr/lib/kde4/lib/libkdepim.so.4 #16 0xb7f5ce16 in KPIM::KMeditor::createHighlighter () from /usr/lib/kde4/lib/libkdepim.so.4 #17 0xb7de9f31 in KTextEdit::focusInEvent (this=0x8cd7f10, event=0xbf8faf28) at /build/buildd/kde4libs-4.1.2/kdeui/widgets/ktextedit.cpp:463 #18 0xb6f91b34 in QWidget::event (this=0x8cd7f10, event=0xbf8faf28) at kernel/qwidget.cpp:7119 #19 0xb72cc2a3 in QFrame::event (this=0x8cd7f10, e=0xbf8faf28) at widgets/qframe.cpp:657 #20 0xb7360815 in QAbstractScrollArea::event (this=0x8cd7f10, e=0xbf8faf28) at widgets/qabstractscrollarea.cpp:903 #21 0xb7349c72 in QTextEdit::event (this=0x8cd7f10, e=0xbf8faf28) at widgets/qtextedit.cpp:1055 #22 0xb7deaff9 in KTextEdit::event (this=0x8cd7f10, ev=0xbf8faf28) at /build/buildd/kde4libs-4.1.2/kdeui/widgets/ktextedit.cpp:241 #23 0xb6f39f9c in QApplicationPrivate::notify_helper (this=0x8064788, receiver=0x8cd7f10, e=0xbf8faf28) at kernel/qapplication.cpp:3800 #24 0xb6f3ece8 in QApplication::notify (this=0xbf8fbb58, receiver=0x8cd7f10, e=0xbf8faf28) at kernel/qapplication.cpp:3765 #25 0xb7d09483 in KApplication::notify (this=0xbf8fbb58, receiver=0x8cd7f10, event=0xbf8faf28) at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311 #26 0xb78730b9 in QCoreApplication::notifyInternal (this=0xbf8fbb58, receiver=0x8cd7f10, event=0xbf8faf28) at kernel/qcoreapplication.cpp:591 #27 0xb6f3cc0c in QApplicationPrivate::setFocusWidget (focus=0x8cd7f10, reason=Qt::MouseFocusReason) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #28 0xb6f8815e in QWidget::setFocus (this=0x8cd7f10, reason=Qt::MouseFocusReason) at kernel/qwidget.cpp:5241 #29 0xb6f3ff87 in QApplication::notify (this=0xbf8fbb58, receiver=0x8cd7638, e=0xbf8fb38c) at kernel/qapplication.cpp:3485 #30 0xb7d09483 in KApplication::notify (this=0xbf8fbb58, receiver=0x8cd7638, event=0xbf8fb38c) at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311 #31 0xb78730b9 in QCoreApplication::notifyInternal (this=0xbf8fbb58, receiver=0x8cd7638, event=0xbf8fb38c) at kernel/qcoreapplication.cpp:591 #32 0xb6f3c661 in QApplicationPrivate::sendMouseEvent (receiver=0x8cd7638, event=0xbf8fb38c, alienWidget=0x8cd7638, nativeWidget=0x88135a0, buttonDown=0xb772fa10, lastMouseReceiver=@0xb772fa14) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #33 0xb6fa652d in QETWidget::translateMouseEvent (this=0x88135a0, event=0xbf8fb8a8) at kernel/qapplication_x11.cpp:4048 #34 0xb6fa4ee1 in QApplication::x11ProcessEvent (this=0xbf8fbb58, event=0xbf8fb8a8) at kernel/qapplication_x11.cpp:3166 #35 0xb6fcdc2a in x11EventSourceDispatch (s=0x80673e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #36 0xb5711dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0xb5715193 in ?? () from /usr/lib/libglib-2.0.so.0 #38 0xb571574e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #39 0xb789e9f8 in QEventDispatcherGlib::processEvents (this=0x8064840, flags=@0xbf8fba48) at kernel/qeventdispatcher_glib.cpp:325 #40 0xb6fcda25 in QGuiEventDispatcherGlib::processEvents (this=0x8064840, flags=@0xbf8fba78) at kernel/qguieventdispatcher_glib.cpp:204 #41 0xb787233d in QEventLoop::processEvents (this=0xbf8fbaf0, flags=@0xbf8fbab4) at kernel/qeventloop.cpp:149 #42 0xb78724cd in QEventLoop::exec (this=0xbf8fbaf0, flags=@0xbf8fbaf8) at kernel/qeventloop.cpp:200 #43 0xb787474d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849 #44 0xb6f39897 in QApplication::exec () at kernel/qapplication.cpp:3330 #45 0x0804b326 in _start () #0 0xb7fbf410 in __kernel_vsyscall ()
Ok, have tracked down the cause - The Dictionary for my "Identity" was set to Bulgarian, setting it to Australian solved the problem. No idea how it got to Bulgarian but I did recreate my .KDE/.KDE4 from scratch so that might have done it. Should I leave this open? a wrong/non-existent spell dictionary shouldn't crash Kmail.
This seems to be a duplicate of bug 156635 . (There are another bug reports for KMail, and sonnet crashing it, already marked as duplicate of bug 156635)
*** This bug has been marked as a duplicate of bug 156635 ***