Created attachment 169211 [details] File that causes the leak SUMMARY The attached file is a config file from the game Colin McRae Rally 2005. I thought it would just be a text file so I tried opening it in Kate, it turned out to be a binary file, but instead of simply showing garbled text, Kate locks up, starts leaking memory and eventually gets killed by OOM (or crashes the whole system if you don't have OOM). STEPS TO REPRODUCE 1. Open Kate (or KWrite or any application like Ark that previews unknown files as text) 2. Drag the attached file into it 3. Watch RAM usage OBSERVED RESULT Kate freezes and fills up the entire memory EXPECTED RESULT Garbled text SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (Kernel 6.8.9-arch1-1) (available in About System) KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 ADDITIONAL INFORMATION
Sorry for that, there was as regression in the file loading. *** This bug has been marked as a duplicate of bug 486134 ***