[Bug 169986] spell check causes kmail composer to crash

Lamarque Vieira Souza lamarque at gmail.com
Wed Sep 10 04:30:30 BST 2008


http://bugs.kde.org/show_bug.cgi?id=169986


Lamarque Vieira Souza lamarque gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lamarque at gmail.com




--- Comment #2 from Lamarque Vieira Souza <lamarque gmail com>  2008-09-10 05:30:28 ---
Hi, Konqueror from KDE 4.1.1 also has this same problem. Running it from
konsole gives this log messages:

konqueror(4250) Sonnet::Loader::loadPlugin: Successfully loaded plugin:
"kspell_enchant.desktop"
konqueror(4250) Sonnet::Loader::loadPlugin: Successfully loaded plugin:
"kspell_aspell.desktop"
Couldn't create speller for "pt_BR" :  The file
"/usr/lib64/aspell-0.60/br-abnt2.kbd" can not be opened for reading.
ASSERT: "dict" in file
/var/tmp/portage/kde-base/kdelibs-4.1.1/work/kdelibs-4.1.1/kdecore/sonnet/loader.cpp,
line 116
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = <unknown> pid = 4250

At line 116 of loader.cpp there is an ASSERT that I think it should not be
there:

    QListIterator<Client*> itr(lClients);
    while (itr.hasNext()) {
        Client* item = itr.next();
        if (!pclient.isEmpty()) {
            if (pclient == item->name()) {
                SpellerPlugin *dict = item->createSpeller(plang);
                return dict;
            }
        } else {
            //the first one is the one with the highest
            //reliability
            SpellerPlugin *dict = item->createSpeller(plang);
            Q_ASSERT(dict); <= HERE
            return dict;
        }
    }

As a workaround I created this symbolic link in my system:

ln -s standard.kbd /usr/lib64/aspell-0.60/br-abnt2.kbd

and Konqueror does not crash anymore.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list