[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Spell checking
From:       Laurent Montel <lmontel () mandrakesoft ! com>
Date:       2001-06-25 8:42:54
[Download RAW message or body]

Le Lundi 25 Juin 2001 10:18, Chris Howells a écrit :

Oops I found this bug.
Sorry :(

m_doc->getKSpellConfig() can be equals to 0L
so  m_doc->getKSpellConfig()->setIgnoreList(m_ignoreWord); => crash

I fix it

thanks
bye


> I am experiencing a crash when spell checking a kword document.
>
> Originally, I was trying to spell check a document with two killustartor
> objects, and quite a few KFormula (mostly inline) obects embedded.
>
> However, I've just opened up a fresh KWord, and see this crash on any
> document -- even with only a few lines of text.
>
> I'm fairly sure this was working until recently...
>
> The backtrace looks like this:
>
> (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)...0x40f50d29 in wait4 () from /lib/libc.so.6
> #0  0x40f50d29 in wait4 () from /lib/libc.so.6
> #1  0x40fabcd8 in __check_rhosts_file () from /lib/libc.so.6
> #2  0x405a8f35 in KCrash::defaultCrashHandler () from
> /usr/lib/libkdecore.so.3
>
> #3  0x40ef2868 in sigaction () from /lib/libc.so.6
> #4  0x413c5911 in KSpellConfig::setIgnoreList () from
> /usr/lib/libkspell.so.3
> #5  0x41198567 in KWView::startKSpell () from /usr/lib/kde2/libkwordpart.so
> #6  0x41194796 in KWView::extraSpelling () from
> /usr/lib/kde2/libkwordpart.so
> #7  0x408dc3ed in QObject::activate_signal () from
> /usr/lib/qt/lib/libqt.so.2
> #8  0x403d6701 in KAction::activated () from /usr/lib/libkdeui.so.3
> #9  0x403c8dde in KAction::slotActivated () from /usr/lib/libkdeui.so.3
> #10 0x408dc3ed in QObject::activate_signal () from
> /usr/lib/qt/lib/libqt.so.2
> #11 0x40a2fd8d in QButton::clicked () from /usr/lib/qt/lib/libqt.so.2
>
> #12 0x4095b3bd in QButton::mouseReleaseEvent () from
> /usr/lib/qt/lib/libqt.so.2
>
> #13 0x4093de4e in QWidget::event () from /usr/lib/qt/lib/libqt.so.2
> #14 0x4086a6e9 in QApplication::notify () from /usr/lib/qt/lib/libqt.so.2
> #15 0x40514b64 in KApplication::notify () from /usr/lib/libkdecore.so.3
> #16 0x40831f30 in QETWidget::translateMouseEvent ()
>     from /usr/lib/qt/lib/libqt.so.2
> #17 0x4082f45f in QApplication::x11ProcessEvent ()
>     from /usr/lib/qt/lib/libqt.so.2
> #18 0x4082e2ba in QApplication::processNextEvent ()
>     from /usr/lib/qt/lib/libqt.so.2
> #19 0x4086ca64 in QApplication::enter_loop () from
> /usr/lib/qt/lib/libqt.so.2
> #20 0x4082e237 in QApplication::exec () from /usr/lib/qt/lib/libqt.so.2
> #21 0x40644492 in main () from /usr/lib/kword.so
> #22 0x804d076 in launch ()
> #23 0x804dd42 in handle_launcher_request ()
> #24 0x804e27b in handle_requests ()
> #25 0x804f1d0 in main ()
> #26 0x40eeca52 in __libc_start_main () from /lib/libc.so.6

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic