Version: (using KDE 4.1.1) OS: Linux Installed from: Ubuntu Packages The crash occurs when I launch Kontact and click on the inbox of an imap account, then click on "New Message", and then click on the text field for the body. It doesn't crash when I compose a message without first clicking on an inbox. Here is the 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 0xb4e0e940 (LWP 23026)] [KCrash handler] #6 0xb7f68410 in __kernel_vsyscall () #7 0xb6b93085 in raise () from /lib/tls/i686/cmov/libc.so.6 #8 0xb6b94a01 in abort () from /lib/tls/i686/cmov/libc.so.6 #9 0xb772a367 in qt_message_output (msgType=QtFatalMsg, buf=0xbfa842ac "ASSERT: \"dict\" in file /build/buildd/kde4libs-4.1.1+really4.1.1/kdecore/sonnet/loader.cpp, line 116") at global/qglobal.cpp:2061 #10 0xb772a458 in qFatal (msg=0xb7871498 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2263 #11 0xb772a505 in qt_assert (assertion=0xb7ae8041 "dict", file=0xb7ae7e40 "/build/buildd/kde4libs-4.1.1+really4.1.1/kdecore/sonnet/loader.cpp", line=116) at global/qglobal.cpp:1831 #12 0xb7a4c8d2 in Sonnet::Loader::createSpeller (this=0x87d2fc8, language=@0x8e27a58, clientName=@0xbfa86368) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdecore/sonnet/loader.cpp:116 #13 0xb7a4edae in Sonnet::Speller::Private::recreateDict (this=0x8e27a50) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdecore/sonnet/speller.cpp:63 #14 0xb7d0b81f in Sonnet::Highlighter::setCurrentLanguage (this=0x87cfff8, lang=@0x8e3efcc) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/sonnet/highlighter.cpp:296 #15 0xb7f03990 in KPIM::KMeditor::setSpellCheckLanguage () from /usr/lib/kde4/lib/libkdepim.so.4 #16 0xb7f05996 in KPIM::KMeditor::createHighlighter () from /usr/lib/kde4/lib/libkdepim.so.4 #17 0xb7d91881 in KTextEdit::focusInEvent (this=0x8e433a0, event=0xbfa86a18) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/widgets/ktextedit.cpp:463 #18 0xb6f3cb34 in QWidget::event (this=0x8e433a0, event=0xbfa86a18) at kernel/qwidget.cpp:7119 #19 0xb72772a3 in QFrame::event (this=0x8e433a0, e=0xbfa86a18) at widgets/qframe.cpp:657 #20 0xb730b815 in QAbstractScrollArea::event (this=0x8e433a0, e=0xbfa86a18) at widgets/qabstractscrollarea.cpp:903 #21 0xb72f4c72 in QTextEdit::event (this=0x8e433a0, e=0xbfa86a18) at widgets/qtextedit.cpp:1055 #22 0xb7d92949 in KTextEdit::event (this=0x8e433a0, ev=0xbfa86a18) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/widgets/ktextedit.cpp:241 #23 0xb6ee4f9c in QApplicationPrivate::notify_helper (this=0x8064610, receiver=0x8e433a0, e=0xbfa86a18) at kernel/qapplication.cpp:3800 #24 0xb6ee9ce8 in QApplication::notify (this=0xbfa879e8, receiver=0x8e433a0, e=0xbfa86a18) at kernel/qapplication.cpp:3765 #25 0xb7cb11c3 in KApplication::notify (this=0xbfa879e8, receiver=0x8e433a0, event=0xbfa86a18) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/kernel/kapplication.cpp:311 #26 0xb781e0b9 in QCoreApplication::notifyInternal (this=0xbfa879e8, receiver=0x8e433a0, event=0xbfa86a18) at kernel/qcoreapplication.cpp:591 #27 0xb6ee7c0c in QApplicationPrivate::setFocusWidget (focus=0x8e433a0, reason=Qt::TabFocusReason) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #28 0xb6f3315e in QWidget::setFocus (this=0x8e433a0, reason=Qt::TabFocusReason) at kernel/qwidget.cpp:5241 #29 0xb6f33473 in QWidget::focusNextPrevChild (this=0x89ba5d8, next=true) at kernel/qwidget.cpp:5380 #30 0xb6f3343f in QWidget::focusNextPrevChild (this=0x8bd2a40, next=6) at kernel/qwidget.cpp:5375 #31 0xb6f3343f in QWidget::focusNextPrevChild (this=0x8ac2730, next=6) at kernel/qwidget.cpp:5375 #32 0xb6f3343f in QWidget::focusNextPrevChild (this=0x8bf1960, next=6) at kernel/qwidget.cpp:5375 #33 0xb6f3343f in QWidget::focusNextPrevChild (this=0x8e41db8, next=6) at kernel/qwidget.cpp:5375 #34 0xb6f3d2d5 in QWidget::event (this=0x8e41db8, event=0xbfa87064) at kernel/qwidget.cpp:7052 #35 0xb728d34f in QLineEdit::event (this=0x8e41db8, e=0xbfa87064) at widgets/qlineedit.cpp:1602 #36 0xb7d6094a in KLineEdit::event (this=0x8e41db8, ev=0xbfa87064) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/widgets/klineedit.cpp:1296 #37 0xb6ee4f9c in QApplicationPrivate::notify_helper (this=0x8064610, receiver=0x8e41db8, e=0xbfa87064) at kernel/qapplication.cpp:3800 #38 0xb6ee9f3c in QApplication::notify (this=0xbfa879e8, receiver=0x8e41db8, e=0xbfa87064) at kernel/qapplication.cpp:3446 #39 0xb7cb11c3 in KApplication::notify (this=0xbfa879e8, receiver=0x8e41db8, event=0xbfa87064) at /build/buildd/kde4libs-4.1.1+really4.1.1/kdeui/kernel/kapplication.cpp:311 #40 0xb781e0b9 in QCoreApplication::notifyInternal (this=0xbfa879e8, receiver=0x8e41db8, event=0xbfa87064) at kernel/qcoreapplication.cpp:591 #41 0xb6f40a5e in qt_sendSpontaneousEvent (receiver=0x8e41db8, event=0xbfa87064) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218 #42 0xb6f7575b in QKeyMapper::sendKeyEvent (keyWidget=0x8e41db8, grab=false, type=QEvent::KeyPress, code=16777217, modifiers=@0xbfa871d0, text=@0xbfa87204, autorepeat=<value optimized out>, count=1, nativeScanCode=23, nativeVirtualKey=65289, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1658 #43 0xb6f7783e in QKeyMapperPrivate::translateKeyEvent (this=0x80887f8, keyWidget=0x8e41db8, event=0xbfa87738, grab=<value optimized out>) at kernel/qkeymapper_x11.cpp:1629 #44 0xb6f4fd15 in QApplication::x11ProcessEvent (this=0xbfa879e8, event=0xbfa87738) at kernel/qapplication_x11.cpp:3059 #45 0xb6f78c2a in x11EventSourceDispatch (s=0x80674a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148 #46 0xb56c5dd6 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #47 0xb56c9193 in ?? () from /usr/lib/libglib-2.0.so.0 #48 0xb56c974e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #49 0xb78499f8 in QEventDispatcherGlib::processEvents (this=0x80646c8, flags=@0xbfa878d8) at kernel/qeventdispatcher_glib.cpp:325 #50 0xb6f78a25 in QGuiEventDispatcherGlib::processEvents (this=0x80646c8, flags=@0xbfa87908) at kernel/qguieventdispatcher_glib.cpp:204 #51 0xb781d33d in QEventLoop::processEvents (this=0xbfa87980, flags=@0xbfa87944) at kernel/qeventloop.cpp:149 #52 0xb781d4cd in QEventLoop::exec (this=0xbfa87980, flags=@0xbfa87988) at kernel/qeventloop.cpp:200 #53 0xb781f74d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849 #54 0xb6ee4897 in QApplication::exec () at kernel/qapplication.cpp:3330 #55 0x0804b326 in _start () #0 0xb7f68410 in __kernel_vsyscall ()
Seems like the spellcheck dictionary can't be found or something like that. You might want to change your dictionary in the identity settings of KMail.
Thanks for the suggestion Thomas. I ram kmail with --nofork and saw this. "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.1+really4.1.1/kdecore/sonnet/loader.cpp, line 116 *** KMail got signal 6 (Crashing)" /usr/lib/aspell/bg.multi -> /etc/alternatives/bulgarian-aspell-dictionary was a broken link so I removed the file. All is well now. Thanks for your help.
*** This bug has been marked as a duplicate of bug 156635 ***