https://bugs.kde.org/show_bug.cgi?id=491469

            Bug ID: 491469
           Summary: Overflow when opening a compressed tar with an
                    interior size of 15.6 GB
    Classification: Applications
           Product: kate
           Version: unspecified
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: ejecb...@sharklasers.com
  Target Milestone: ---

***
If you're not sure this is actually a bug, instead post about it at
https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I stumbled upon this one, cackled when I saw it:
Making a file huge enough with `yes` command in bash, then compressing it with
tar, opening it with kate. I have 32 gigabyes of ram. I don't know what tmpfs
allocates by default.

STEPS TO REPRODUCE
1. cd /tmpfs
2. yes meow > cat.md
3. # Runs out of space
4. tar czf ~/cat.tar cat.md
5. Go to Dolphin File manager, right click, open with kate.
6. See as the memory surpasses 15 GB in the tar, and instead fills up all the
memory, and if the system does not have pages, it hangs. Maybe it "thrashes"
but eh.

OBSERVED RESULT
Saw it hang

EXPECTED RESULT
Wanted to see some tar binary magic from the output... Maybe I should use the
'cat' command instead...

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.1.103-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2

ADDITIONAL INFORMATION
Overall, this is a special kinda test, I guess It might be useful as a use
case.
I'm deleting this account after I make this bug report, or maybe keeping the
email for now.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to