Bug#866378: 3dchess: 100 % CPU consumption

James Cowgill jcowgill at debian.org
Thu Jun 29 11:04:21 UTC 2017


Hi,

On 29/06/17 11:49, Markus Koschany wrote:
> Package: 3dchess
> Version: 0.8.1-19
> Severity: serious
> 
> While I was working on an update for 3dchess, I discovered that the
> game is very wasteful with CPU resources and consumes 100 % of a
> single CPU core. I haven't noticed this behavior before but it also
> appears that it was not caused by the recent hardening change which
> added the pie flag by default.

I can reproduce this bug with 0.8.1-17 from wheezy.

Looking at the code here:
https://sources.debian.net/src/3dchess/0.8.1-19/src/main.c/#L127

It looks to me like the game loop has no sleeps or other waiting in it.
It has probably always consumed 100% CPU.

> I think this bug makes the game unsuitable for another release.

Note that you filed the bug against a version in stretch. If you want it
to only apply to the next release you have to tag it "sid buster".

Having said that, I don't see how this bug is RC. The game is still
playable, even if the 100% CPU usage is annoying.

Jame

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20170629/763be398/attachment.sig>


More information about the Pkg-games-devel mailing list