Summary: | Kate crashes while spell-checking | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Oleksandr Senkovych <bjsenya> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | christiandehne, cr.anil, jtepper, michel.ludwig |
Priority: | VHI | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Problem document
Don't spell check an empty string. |
Description
Oleksandr Senkovych
2010-02-07 23:41:53 UTC
Created attachment 40597 [details]
Problem document
I can reproduce it at will. The CLI shows me: Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc I fear this is a Sonnet or even Qt bug, but I'm not sure... I've narrowed the test case down to $A'' \test$ and it only crashes if LaTeX highlighting is enabled. I think I know where the problem could be... Created attachment 40616 [details]
Don't spell check an empty string.
This patch fixes the problems for me.
Can someone please confirm? Thanks.
Fixed in revision 1088130. *** Bug 225361 has been marked as a duplicate of this bug. *** *** Bug 230055 has been marked as a duplicate of this bug. *** *** Bug 231453 has been marked as a duplicate of this bug. *** |