xshogi leaves gnushogi running after exit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnushogi (Ubuntu) |
Fix Released
|
Undecided
|
Adrian Petrescu |
Bug Description
Binary package hint: gnushogi
I am using gnushogi and xshogi 1.3-9 from the Feisty repositories.
STEPS TO REPRODUCE:
1. Start xshogi
2. Play a move or two against the computer in order to get it to launch the gnushogi subprocess
3. Exit xshogi using the window manager's "X" button instead of xshogi's "Exit" button.
4. Do a "ps aux | grep gnushogi"
You will see that gnushogi continues running even though xshogi has been stopped, with no way of stopping it short of killing the process by hand.
This is a very big deal because the longer gnushogi is running, the deeper it will inspect the game tree. After about an hour after doing this, gnushogi will be in the 90+% range of CPU usage and will cause a VERY visible slowdown in the system.
This bug is reproducible on every Ubuntu installation I've ever encountered.
I am not a gnushogi developer, but I don't think this would be a very hard bug to fix, but its consequences are quite severe.
Changed in gnushogi: | |
assignee: | nobody → apetrescu |
status: | New → Fix Released |
status: | Fix Released → In Progress |
Changed in gnushogi: | |
status: | Fix Committed → In Progress |
Changed in gnushogi (Ubuntu): | |
status: | In Progress → Fix Released |
I just went and built the upstream source from http:// directory. fsf.org/ gnushogi. html and tried to reproduce the bug.
The bug exists there too. So it is not a problem with Ubuntu's package but a problem with gnushogi itself.