Bug 486762 - Attempts to open a certain file results in a memory leak
Summary: Attempts to open a certain file results in a memory leak
Status: RESOLVED DUPLICATE of bug 486134
Alias: None
Product: kate
Classification: Applications
Component: kwrite (other bugs)
Version First Reported In: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-08 03:49 UTC by unwxcyciqqqlosshuo
Modified: 2024-05-08 11:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Trigger file for the memory leak (8.00 KB, application/octet-stream)
2024-05-08 03:49 UTC, unwxcyciqqqlosshuo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description unwxcyciqqqlosshuo 2024-05-08 03:49:19 UTC
Created attachment 169290 [details]
Trigger file for the memory leak

SUMMARY
I noticed that opening a certain file in my library guarantees that Kate will gobble up memory while trying to open it.

STEPS TO REPRODUCE
Open the attached "crash" file through Kate or Kwrite

OBSERVED RESULT
Memory usage rises far past any sane levels.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
I trimmed the original file down to 8KB. This small portion is what causes the problem on my system.
Comment 1 Christoph Cullmann 2024-05-08 11:39:03 UTC
Sorry for that, fixed in next frameworks release.

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