Summary: | Kate crashed on undo | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Bernhard Beschow <shentey> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | aa.pp.ii+kde, andresbajotierra, christoph, darkplexus, giecrilj |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The file contains one line of HTML encoded for JavaScript |
Description
Bernhard Beschow
2010-05-08 20:37:20 UTC
*** Bug 208056 has been marked as a duplicate of this bug. *** Need way to reproduce Bug 247331 indicates that the crash may happen because of very long lines. I am reopening it so that duplicates can add more information if this is reproducible. *** Bug 247331 has been marked as a duplicate of this bug. *** *** Bug 253962 has been marked as a duplicate of this bug. *** Bug 263686 has a related backtrace, but with another situation: I pasted the results of an svn st, such as the following: ? devel.drush.inc ! ui.mouse.js ! devel_themer.module ! devel_themer.css ! generate/generate-og2list-mail.php ! generate/generate-og-users.php ? krumo/skins/CVS/Entries.Log ! devel_themer.info ! ui.draggable.js ? performance/CVS/Entries.Log ! loader-little.gif ! devel_themer.install ! themer-bar.png ! devel_themer_ie_fix.css ! devel_themer.js Then I did a search and replace to replace all line feeds + ! with a space. It crashed 2 times consecutively before succeeding the third. Created attachment 56957 [details]
The file contains one line of HTML encoded for JavaScript
Kwrite does not crash but it is very unresponsive (takes 80% CPU and does not even refresh).
Small file works now, but only with the new threshold for line length :/ Yeah, know that sucks, but Qt won't allow such long lines in any sane way. Tested with Kate git master, opens domains.html in under a second + hl. I think KWrite should refuse to open text files that exceed the line length threshold (just as it should refuse to open files that are too big), or open them in read-only mode to use less resources (if there is such a mode). At least, that is what Norton Commander used to do :-) |