kpat stuffs hard drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kpat |
Fix Released
|
Medium
|
|||
kpat (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Playing kpat after having finished/won a game the .xsession_errors in the home folder on KDE or the syslog in /var/log folder on other DEs become huge (about 5 GB per game).
I realised that when suddenly I got the message that my disk was full and syslog was about 35 GB.
I have managed to reproduce the error on live CD on Ubuntu, Kubuntu, Xubuntu, several times.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: kpat (not installed)
ProcVersionSign
Uname: Linux 5.3.0-21-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Nov 9 01:55:34 2019
InstallationDate: Installed on 2019-10-18 (21 days ago)
InstallationMedia: It
SourcePackage: kpat
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in kpat (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in kpat: | |
importance: | Unknown → Medium |
Changed in kpat: | |
status: | Unknown → Fix Released |
Changed in kpat (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in kpat (Ubuntu Groovy): | |
status: | Confirmed → Fix Committed |
Changed in kpat (Ubuntu Groovy): | |
status: | Fix Committed → Fix Released |
SUMMARY
In the newer version of kpat (starting with Kubuntu 19.04), solver is much slower, hogs CPU, and logs a_lot to .xsession-errors (as much as 500K per second)
STEPS TO REPRODUCE
1. Start kpat.
2. Start a monitor for CPU and ~/.xsession-errors
3. Start a new game that stress the solver, like Mod3 or Spider
OBSERVED RESULT
Observe the too much logging, CPU hogging, and slow solver
EXPECTED RESULT
Solver should not log (so much?) calculations to ~/.xsession-errors (for non-debug?). Solver should be faster (like in older versions of Kubuntu) and not spend so much time Calculating...
SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: Kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
ADDITIONAL INFORMATION
You can reproduce this from a Kubuntu 19.04 Live CD
Bug doesn't happen in Freecell and maybe some other games, so probably is different than these two bugs: https:/ /bugs.kde. org/show_ bug.cgi? id=405187 and https:/ /bugs.kde. org/show_ bug.cgi? id=406094