I was trying to fill out a PDF form on Okular and my system started crawling to halt on text fields until it locked up completely. SSD stayed solid on (so God knows how many write cycles it gluttoned), fan went into overdrive trying to keep thecircuitry from frying, and the computer completely froze. I couldn't even SSH in to shut down programs because my frozen computer couldn't spare any resources to authenticate remote access. The only log entries indicating that something was amiss was:
boinc[1409]: 10-Feb-2023 00:22:44 [---] Suspending computation - CPU is busy boinc[1409]: 10-Feb-2023 00:22:57 [---] Resuming computationwhatsoever of what went wrong. And until it leaves evidence, there's no way to identify the bugs. Just frustrated users and lost data when you can't save what you're working on.
Followed by a 10-minute gap in all logs until I hard-rebooted the system.
So unless I missed something in one of the logs, there's nothing anyone can do about this other than note for posterity that KDE and Linux still have systemic design flaws. Rogue apps can still cripple the system without leaving any evidence
Maybe a doctoral student is working on these design issues so this doesn't happen. If not, there should be.
Vent over. Thank you for reading.
There's a grave problem with how Okular processes PDF forms. Simple, short-answer text entry has ballooned a simple 1 MB file into a 1.2 GB file. This would explain (but not excuse) the excessive CPU and hard-drive usage. It probably also maxed out theRAM and caused the system to freeze.
Workaround: avoid using Okular to complete PDF forms at all costs!!!
which may be more productive.
On Friday, 10 February 2023 07:46:36 CET Borden wrote:
which may be more productive.
What would be even more productive is the following:
- log in remotely before doing another test and open a screen/tmux session (or
open several distinct remote logins) and start:
- htop
- tail -f ~/.xsession-errors
- journalctl --user -b -f
- any other program which may be useful IYO
Then start okular from Konsole, but give it a lower priority with `nice` (and
`ionice`). Possibly useful to `tee` the Konsole output to a file too.
If it behaves so bad again, you should be able to kill okular (f.e.).
And then file a bug report with a sample PDF as Alex suggested and provide any
info you obtained which may help to solve this issue.
You didn't specify which Debian and Okular version you had this issue with. In case of Testing or Sid, the "/topic" from #debian-next comes to mind: "testing → bookworm | you may need to debug sometimes | ..."
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 422 |
Nodes: | 16 (2 / 14) |
Uptime: | 183:55:23 |
Calls: | 8,947 |
Calls today: | 14 |
Files: | 13,352 |
Messages: | 5,991,292 |