gnome-gnuchess spawns separate process for each new game - processes do not terminate normally

Bug #353114 reported by scrollo
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-games (Debian)
New
Undecided
Unassigned
gnome-games (Ubuntu)
New
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-games

Ubuntu 8.10, gnome-games 1:2.24.1.1-0ubuntu1

Running Applications->Games->Chess

Each time a new game is started from the interface gnome-gnuchess spawns a separate process, over the course of several games these processes build up and none of them terminate normally, necessitating the minor inconvenience of a killall.

I recently configured prelink and readahead as well as setting CONCURRENCY=shell in /etc/init.d/rc for faster boot, not sure if any of these are causing the issue, but I only noticed the extra processes after the changes, but as there is no visible impact of the extra processes outside of the process list the problem may have been occurring for some time.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: fglrx
Package: gnome-games 1:2.24.1.1-0ubuntu1 [modified: usr/games/blackjack usr/games/glines usr/games/gnect usr/games/gnibbles usr/games/gnobots2 usr/games/gnome-gnuchess usr/games/gnometris usr/games/gnomine usr/games/gnotravex usr/games/gnotski usr/games/gtali usr/games/iagno usr/games/mahjongg usr/games/same-gnome usr/games/sol usr/lib/gnome-games/gnome-games-render-cards]
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-games
Uname: Linux 2.6.27-11-generic i686

Tags: apport-bug
Revision history for this message
scrollo (invisibleaxeman) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, scrollo, gnome-gnuchess indeed create a new process if you do Game->New but if you quit the game through the Game->Quit they all quit in the right way, there's no zombie process left or anything, could you confirm that behavior?

Changed in gnome-games (Ubuntu):
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
scrollo (invisibleaxeman) wrote :

Hi Pedro

Yes I thought the extra process was normal but in my case, these additional processes hang around, and each time I do Game->New a new process starts but any previous processes are still running, see attached process list after starting 3 new games, the highlighted process is the starting one.

Starting Chess and immediately quitting without starting a game works as expected.
Starting Chess, playing a single game then quitting works but leaves the gnome-gnuchess process running.
Playing more than one game, resulting in 3 or more gnome-gnuchess processes hangs upon quitting.

These occur whether closing through the app menu or through the window control.

As mentioned in my initial post I'd tweaked a few settings prior to noticing this, so I tried undoing some of the changes, settings CONCURRENCY in /etc/init.d/rc from 'shell' back to 'none'. After this the behaviour changed, with the processes all hanging around as before but quitting now correctly shuts them all down, so this setting seems to be having an effect. Not sure why or how, hopefully I'm not leading you on a phantom bug chase because of my over-tinkering!

Revision history for this message
Vish (vish) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Changed in gnome-games (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in gnome-games (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
donatello (aditya.mmy) wrote :

I am seeing this bug in Lucid, with all updates applied.

It spawns a new gnome-gnuchess process every time Game -> New is clicked. If happens, when I start a new game, without ending (resign, claiming draw, etc) the current game. After doing this a few times, I have one gnome-gnuchess process for every game played all running together keeping all my cores 100% busy.

Please let me know if any new information is required.

Changed in gnome-games (Ubuntu):
status: Invalid → New
Revision history for this message
bereshit (vendetta7) wrote :

i confirm this bug in lucid

every new game open a new process occupying cpu

Revision history for this message
smk72de (sascha-koehler) wrote :

I also confirm this bug in lucid!

The processes that remain after quitting Gnome Chess crunch a substantial amount of CPU!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.