Summary: | calligrawords crash when change spellchecker from english to french | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | desaparecido <luis.davila.pc> |
Component: | general | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cbo, franz.trischberger, i.anastasini |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | initialize m_document with 0 and check for m_document in setDefaultLanguage() |
Description
desaparecido
2012-03-21 15:09:00 UTC
Created attachment 69982 [details]
initialize m_document with 0 and check for m_document in setDefaultLanguage()
Attached patch fixes the crash.
To reproduce the crash, you have to change the language of the spell checker immediately after opening a new empty document.
Ah thanks, yes can confirm now, will test and commit your patch right away Git commit 1a347ab311eeb4d7db00c2bedede3921d5fe2ce9 by C. Boemann. Committed on 29/03/2012 at 08:01. Pushed by boemann into branch 'calligra/2.4'. initialize value so we don't crash when changing language before typing Thanks goes to: Franz Fellner M +2 -1 plugins/textediting/spellcheck/SpellCheck.cpp http://commits.kde.org/calligra/1a347ab311eeb4d7db00c2bedede3921d5fe2ce9 Git commit 67992d6f1df9236530385bde08035da6fe1e8659 by C. Boemann. Committed on 29/03/2012 at 08:01. Pushed by boemann into branch 'master'. initialize value so we don't crash when changing language before typing Thanks goes to: Franz Fellner M +2 -1 plugins/textediting/spellcheck/SpellCheck.cpp http://commits.kde.org/calligra/67992d6f1df9236530385bde08035da6fe1e8659 Only part of the fix landed in the 2.4-branch, making current stable release crash again. Only trunk got the check for m_document in SpellCheck.cpp:146, 2.4-branch did not. *** Bug 297962 has been marked as a duplicate of this bug. *** I've just backported that bit too. sorry for that. Fix should be available with 2.4.1 |