Your message dated Sat, 22 Jul 2017 13:17:18 +0100
with message-id <[email protected]>
and subject line Closing bugs for 9.1 p-u fixes
has caused the Debian Bug report #867118,
regarding stretch-pu: package 3dchess/0.8.1-19+b1
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 [email protected]
immediately.)
--
867118: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867118
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: [email protected]
Usertags: pu
Hi,
I would like to fix the 100 % CPU consumption bug in 3dchess. [1]
Please find attached the debdiff for Stretch.
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 2015-11-01 01:09:14.000000000 +0100
+++ 3dchess-0.8.1/debian/changelog 2017-07-04 00:28:18.000000000 +0200
@@ -1,3 +1,11 @@
+3dchess (0.8.1-19+deb9u1) stretch; 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 <[email protected]> Tue, 04 Jul 2017 00:28:18 +0200
+
3dchess (0.8.1-19) 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 2015-11-01 01:09:14.000000000 +0100
+++ 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 <[email protected]>
+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: 9.1
Hi,
These bugs all relate to updates which were included in today's stretch
point release.
Regards,
Adam
--- End Message ---