Summary: | Very high memory usage and lockup of entire system | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Henning <boredsquirrel> |
Component: | PDF backend | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED MOVED | ||
Severity: | major | CC: | fanzhuyifan, kde |
Priority: | NOR | ||
Version First Reported In: | 24.12.2 | ||
Target Milestone: | --- | ||
Platform: | Flatpak | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
weird embedded text files, there are about 40 of those in the one doc that crashed
reversed, to get the latest |
Description
Henning
2025-02-26 12:14:26 UTC
Created attachment 178891 [details]
weird embedded text files, there are about 40 of those in the one doc that crashed
Okular uses 6,8GB RAM with these 2 documents loaded
Also, the lockup of the desktop happened before the Okular window appeared, I only saw a bouncing Okular icon
One of the PDFs has a bunch of embedded files called "folder.joboptions". Opening them, they seem to just be text files with random content in them.
I can attach one of them.
This might be document specific, but without the documents I'm not sure we can do anything about it. Though it shouldn't be able to crash the computer. If you can't share the document publically, you can try throw it at my email at sune@kde.org Created attachment 178894 [details]
reversed, to get the latest
(In reply to Henning from comment #0) > But I checked and Okular uses 6GB RAM, and took pretty long to settle down > from 12% CPU or more. > > One of the PDFs: https://doi.org/10.1007/978-0-387-34445-4 Cannot reproduce memory leak when only opening this pdf -- residual mem of okular < 600M. okular 24.12.2 Operating System: Arch Linux KDE Plasma Version: 6.3.80 KDE Frameworks Version: 6.12.0 Qt Version: 6.9.0 Kernel Version: 6.13.4-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 20 × 13th Gen Intel® Core™ i9-13900H Memory: 15.2 GiB of RAM Graphics Processor 1: Mesa Intel® Graphics Graphics Processor 2: llvmpipe Manufacturer: ASUSTeK COMPUTER INC. Product Name: ROG Zephyrus G16 GU603VV_GU603VV System Version: 1.0 When can you reproduce the memory leak? Do you have to open both PDFs? Can you reproduce the memory leak with a new user account? I am trying to debug the app, but get a weird gdb issue https://docs.flatpak.org/en/latest/debugging.html followed the docs, entered the container and ran gdb /app/bin/okular (gdb) run "/app/bin/okular": not in executable format: file format not recognized when passing the file I want to open, it tries to execute that file instead, as it does not want to see Okular as an executable program ------- when launching okular flatpak now, and opening that file with ctrl+o, it just hangs and does not do anything other apps start crashing too, I cannot open systemmonitor Update... now Gwenview crashed too, when opening a gif. Reboot, Celluloid flatpak crashed too. Weirdly, GNOME Papers (PDF Viewer) worked well. I think this IS a kernel 6.13 issue, I will open an issue with Fedora. On 6.12 is works normally |