Bug 450432

Summary: Large file edit crash
Product: [Applications] kate Reporter: Ladislav Zitka <archenroot>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: critical CC: christoph
Priority: NOR    
Version First Reported In: 21.12.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash-report

Description Ladislav Zitka 2022-02-17 08:55:37 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  I open CSV file which has 1,5GB size
2.  I select from 3rd line via shift + down arrow almost whole file content
3.  I click delete to delete most of the file content


OBSERVED RESULT
kate crashes, when i try to delete line by line it won't crashes, only when almost all of 1,5GB content is selected (3rd line to end of file)

EXPECTED RESULT
kate won't crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ladislav Zitka 2022-02-17 08:56:08 UTC
Created attachment 146852 [details]
crash-report
Comment 2 Christoph Cullmann 2022-02-17 19:54:25 UTC
Hi, the problem is that this will just out-of-memory you, like the crash report shows.
Unfortunately there is no easy fix for this.
Comment 3 Christoph Cullmann 2022-03-05 19:19:40 UTC

*** This bug has been marked as a duplicate of bug 430269 ***