[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#867119: marked as done (jessie-pu: package 3dchess/0.8.1-18)



Your message dated Sat, 22 Jul 2017 13:18:56 +0100
with message-id <1500725936.14212.4.camel@adam-barratt.org.uk>
and subject line Closing bugs for 8.9 fixes
has caused the Debian Bug report #867119,
regarding jessie-pu: package 3dchess/0.8.1-18
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
867119: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867119
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian.org@packages.debian.org
Usertags: pu

Hi

I would like to fix the 100 % CPU consumption bug in 3dchess. [1]
Please find attached the debdiff for Jessie.

Regards,

Markus

[1] https://bugs.debian.org/866378
diff -Nru 3dchess-0.8.1/debian/changelog 3dchess-0.8.1/debian/changelog
--- 3dchess-0.8.1/debian/changelog	2014-04-25 21:51:58.000000000 +0200
+++ 3dchess-0.8.1/debian/changelog	2017-07-04 00:28:18.000000000 +0200
@@ -1,3 +1,11 @@
+3dchess (0.8.1-18+deb8u1) jessie; urgency=medium
+
+  * Team upload.
+  * Add wasteful-CPU-consumption.patch. The game always consumed 100 % CPU
+    resources due to a missing sleep call in its main loop. (Closes: #866378)
+
+ -- Markus Koschany <apo@debian.org>  Tue, 04 Jul 2017 00:28:18 +0200
+
 3dchess (0.8.1-18) unstable; urgency=medium
 
   * Team upload.
diff -Nru 3dchess-0.8.1/debian/patches/series 3dchess-0.8.1/debian/patches/series
--- 3dchess-0.8.1/debian/patches/series	2014-04-25 21:51:58.000000000 +0200
+++ 3dchess-0.8.1/debian/patches/series	2017-07-04 00:28:18.000000000 +0200
@@ -3,3 +3,4 @@
 12_3Dc-rules.html.patch
 13_machine.h.patch
 hardening.patch
+wasteful-CPU-consumption.patch
diff -Nru 3dchess-0.8.1/debian/patches/wasteful-CPU-consumption.patch 3dchess-0.8.1/debian/patches/wasteful-CPU-consumption.patch
--- 3dchess-0.8.1/debian/patches/wasteful-CPU-consumption.patch	1970-01-01 01:00:00.000000000 +0100
+++ 3dchess-0.8.1/debian/patches/wasteful-CPU-consumption.patch	2017-07-04 00:28:18.000000000 +0200
@@ -0,0 +1,26 @@
+From: Fabian Greffrath <fabian@debian.org>
+Date: Fri, 30 Jun 2017 01:04:52 +0200
+Subject: wasteful CPU consumption
+
+The game always consumed 100 % CPU resources due to a missing sleep call in its
+main loop.
+
+Bug-Debian: https://bugs.debian.org/866378
+Forwarded: no
+---
+ src/main.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main.c b/src/main.c
+index 84979ca..d1db23a 100644
+--- a/src/main.c
++++ b/src/main.c
+@@ -200,7 +200,7 @@ DoMain3DcLoop(void)
+                          &event);
+           XtDispatchEvent(&event);
+         }
+-
++    usleep(10);
+     } /* End game loop */
+ 
+   return;

--- End Message ---
--- Begin Message ---
Version: 8.9

Hi,

These bugs all relate for updates which were included in today's jessie
point release.

Regards,

Adam

--- End Message ---

Reply to: