Bug 156635 - KTextEdit crashes when Sonnet can't find the spellchcker
Summary: KTextEdit crashes when Sonnet can't find the spellchcker
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 165884 170397 171649 171954 171974 172049 172314 172483 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-25 10:40 UTC by Giuseppe Calà
Modified: 2009-11-09 08:22 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Giuseppe Calà 2008-01-25 10:40:00 UTC
Version:            (using KDE 4.0.0)
Installed from:    Ubuntu Packages
Compiler:          gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) 
OS:                Linux

The problem seeems with multi line fields. Even entering the cursor in this box for entering the long description causes crash in konqueror, so I need to use firefox. I have the same problem when entering the gmail box for reply to a message.

Here is the backtrace of the crash:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 47862400075792 (LWP 6395)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#4  0x00002b87cd632765 in raise () from /lib/libc.so.6
#5  0x00002b87cd6341c0 in abort () from /lib/libc.so.6
#6  0x00002b87cde01ff8 in qt_message_output () from /usr/lib/libQtCore.so.4
#7  0x00002b87cde02119 in qFatal () from /usr/lib/libQtCore.so.4
#8  0x00002b87cde0226d in qt_assert () from /usr/lib/libQtCore.so.4
#9  0x00002b87ce2b77cc in Sonnet::Loader::createSpeller ()
   from /usr/lib/kde4/lib/libkdecore.so.5
#10 0x00002b87ce2b9a7a in ?? () from /usr/lib/kde4/lib/libkdecore.so.5
#11 0x00002b87ce7c3e4b in Sonnet::Highlighter::Highlighter ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#12 0x00002b87ce82be11 in KTextEdit::createHighlighter ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#13 0x00002b87ce82bdc3 in KTextEdit::focusInEvent ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#14 0x00002b87dafceab2 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5
#15 0x00002b87daf60334 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5
#16 0x00002b87daf20589 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5
#17 0x00002b87daf1f0d5 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5
#18 0x00002b87daf20379 in ?? () from /usr/lib/kde4/lib/libkhtml.so.5
#19 0x00002b87daf0b4bb in ?? () from /usr/lib/kde4/lib/libkhtml.so.5
#20 0x00002b87daea616a in KHTMLView::dispatchMouseEvent ()
   from /usr/lib/kde4/lib/libkhtml.so.5
#21 0x00002b87daeb0e68 in KHTMLView::mousePressEvent ()
   from /usr/lib/kde4/lib/libkhtml.so.5
#22 0x00002b87cfe255b1 in QWidget::event () from /usr/lib/libQtGui.so.4
#23 0x00002b87d01503ed in QFrame::event () from /usr/lib/libQtGui.so.4
#24 0x00002b87daeaa7eb in KHTMLView::widgetEvent ()
   from /usr/lib/kde4/lib/libkhtml.so.5
#25 0x00002b87daead1a0 in KHTMLView::eventFilter ()
   from /usr/lib/kde4/lib/libkhtml.so.5
#26 0x00002b87cfdd8cd3 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#27 0x00002b87cfdd9949 in QApplication::notify () from /usr/lib/libQtGui.so.4
#28 0x00002b87ce77bfa1 in KApplication::notify ()
   from /usr/lib/kde4/lib/libkdeui.so.5
#29 0x00002b87cdeb9846 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#30 0x00002b87cfde3e73 in ?? () from /usr/lib/libQtGui.so.4
#31 0x00002b87cfe3e742 in ?? () from /usr/lib/libQtGui.so.4
#32 0x00002b87cfe3c239 in QApplication::x11ProcessEvent ()
   from /usr/lib/libQtGui.so.4
#33 0x00002b87cfe6a599 in ?? () from /usr/lib/libQtGui.so.4
#34 0x00002b87d1575fd3 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#35 0x00002b87d15792dd in ?? () from /usr/lib/libglib-2.0.so.0
#36 0x00002b87d157980e in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#37 0x00002b87cdee0f4e in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#38 0x00002b87cfe69e07 in ?? () from /usr/lib/libQtGui.so.4
#39 0x00002b87cdeb6b31 in QEventLoop::processEvents ()
   from /usr/lib/libQtCore.so.4
#40 0x00002b87cdeb6c86 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#41 0x00002b87cdeb9ffc in QCoreApplication::exec ()
   from /usr/lib/libQtCore.so.4
#42 0x00002b87cfdd8928 in QApplication::exec () from /usr/lib/libQtGui.so.4
#43 0x00002b87cd3b2697 in kdemain ()
   from /usr/lib/kde4/lib/libkdeinit4_konqueror.so
#44 0x00002b87cd61eb44 in __libc_start_main () from /lib/libc.so.6
#45 0x0000000000400649 in _start ()
#0  0x00002b87cd69ac3f in waitpid () from /lib/libc.so.6
Comment 1 Maksim Orlovich 2008-01-25 18:28:14 UTC
Please run it from command-line and paste the message before crash.. The spellchecker library is aborting somehow
Comment 2 Giuseppe Calà 2008-01-26 11:26:04 UTC
Here the output from command-line. Maybe you a re right telling tah the spellcheker is the problem. Has it a problem with accented characters? I have installed kde-l10n-it and aspell-it and italian is set correctly in systemsettings. But I have noticed that even dolphin shows accented words in wrong way (for example università instead of università).

Thanks.

gius@kubuntu-home:~$ konqueror-kde4
fillBookmarkBar ""
...
konqueror(8017) LocalDomainUriFilter::filterUri: KUrl("http://forum.ubuntu-it.org/index.php/topic,137914.700.html")
konqueror(8017) FixHostUriFilter::filterUri: FixHostUriFilter::filterUri:  KUrl("http://forum.ubuntu-it.org/index.php/topic,137914.700.html")
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::begin: Widget painting can only begin as a result of a paintEvent
konqueror(8017) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_hspell.desktop"
konqueror(8017) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_enchant.desktop"
konqueror(8017) Sonnet::Loader::loadPlugin: Successfully loaded plugin: "kspell_aspell.desktop"
Couldn't create speller for "it" :  /home/gius/.aspell.it.pws: The word "rigiocabilità " is invalid. The character ' ' (U+A0) may not appear at the end of a word.
ASSERT: "dict" in file /build/buildd/kde4libs-4.0.0/kdecore/sonnet/loader.cpp, line 116
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 8017
sock_file=/home/gius/.kde4/socket-kubuntu-home/kdeinit4__0
Comment 3 Dario Andres 2008-08-16 15:43:12 UTC
Can you still reproduce this with a recent KDE version? (4.1 or 4.0.5) 
Comment 4 Giuseppe Calà 2008-08-16 23:44:38 UTC
I'm using kde 4.1 and the problem is gone.

Regards
Comment 5 Dario Andres 2008-08-17 01:05:28 UTC
Now, you can mark this bug as RESOLVED (resolution WORKSFORME)
Comment 6 Thomas McGuire 2008-10-02 19:28:42 UTC
*** Bug 170397 has been marked as a duplicate of this bug. ***
Comment 7 Thomas McGuire 2008-10-02 19:28:49 UTC
*** Bug 171649 has been marked as a duplicate of this bug. ***
Comment 8 Thomas McGuire 2008-10-02 19:28:56 UTC
*** Bug 171954 has been marked as a duplicate of this bug. ***
Comment 9 Thomas McGuire 2008-10-02 19:29:04 UTC
*** Bug 171974 has been marked as a duplicate of this bug. ***
Comment 10 Thomas McGuire 2008-10-02 19:47:11 UTC
*** Bug 171974 has been marked as a duplicate of this bug. ***
Comment 11 Thomas McGuire 2008-10-02 19:55:36 UTC
*** Bug 172049 has been marked as a duplicate of this bug. ***
Comment 12 Thomas McGuire 2008-10-03 19:57:17 UTC
*** Bug 172049 has been marked as a duplicate of this bug. ***
Comment 13 Thomas McGuire 2008-10-03 19:57:59 UTC
*** Bug 171974 has been marked as a duplicate of this bug. ***
Comment 14 Thomas McGuire 2008-10-03 20:00:04 UTC
Reopening, as this bug is still in KDE 4.1.2.
Apparently, installing some spellcheck-related packages solves the problem, but KDE should not crash if those packages are not installed.
Comment 15 Pino Toscano 2008-10-05 15:41:01 UTC
*** Bug 172049 has been marked as a duplicate of this bug. ***
Comment 16 Thomas McGuire 2008-10-07 12:58:57 UTC
*** Bug 172314 has been marked as a duplicate of this bug. ***
Comment 17 Thomas McGuire 2008-10-12 17:54:28 UTC
Could also be related to bug 169986.
Comment 18 Jordi Polo 2008-11-14 13:05:50 UTC
This should be solved in current trunk (kde4.2beta will have the fix)
If someone can check it...
Comment 19 Dario Andres 2008-12-05 00:59:14 UTC
*** Bug 172483 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2008-12-25 16:59:13 UTC
*** Bug 165884 has been marked as a duplicate of this bug. ***
Comment 21 Christoph Feck 2009-04-11 14:32:23 UTC
Fixed since r884139.