Summary: | KWrite crashed when opening a big file | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Shay G <govershay> |
Component: | kwrite | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | crash | Keywords: | drkonqi |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Shay G
2018-05-12 20:44:34 UTC
QString failed to allocate the number of bytes requested. It stores 2 bytes for each character, because it internally uses UTF-16 coding units. With more than 1,000,000,000 characters it needs more than 2 GB. QString doesn't handle this, and porting away from QString would require a complete rewrite of the code. |