Bug#742295: sopwith: segmentation fault in single player mode (S)
On 22.03.2014 18:42, Kenneth Pronovici wrote: Ok, I uploaded a new package. It seems to be working for me inside my chroot environment. Markus, when the new package hits the archive, please test and let me know if it resolves your problems. Hi KEN, the latest version works for me and the crashes are gone. Thank you. Unfortunately now I discovered another issue, maybe somebody of you can shed some light on it. I can't control the plane with the arrow keys as described in sopwith's man page. However the comma and slash keys do work. I tested the new version on two computers but the result is the same. When I install version 1.7.4 from wheezy, the arrow keys work as intended and I can control the plane. Please let me know what I can do to help you with debugging or resolving this bug. Markus signature.asc Description: OpenPGP digital signature
Bug#742295: sopwith: segmentation fault in single player mode (S)
On 14-03-23 07:27 AM, Markus Koschany wrote: On 22.03.2014 18:42, Kenneth Pronovici wrote: Ok, I uploaded a new package. It seems to be working for me inside my chroot environment. Markus, when the new package hits the archive, please test and let me know if it resolves your problems. Hi KEN, the latest version works for me and the crashes are gone. Thank you. Unfortunately now I discovered another issue, maybe somebody of you can shed some light on it. I can't control the plane with the arrow keys as described in sopwith's man page. However the comma and slash keys do work. I tested the new version on two computers but the result is the same. When I install version 1.7.4 from wheezy, the arrow keys work as intended and I can control the plane. Please let me know what I can do to help you with debugging or resolving this bug. Markus This is a case of the documentation being out of date. The keys Sopwith uses for controlling the aeroplane are contained in the file ~/.sopwith/keys Each line in the file includes a command and the key to issue that command. I will make a note to update the man page in the future. Jesse -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#742295: sopwith: segmentation fault in single player mode (S)
On 23.03.2014 15:06, Jesse Smith wrote: [...] When I install version 1.7.4 from wheezy, the arrow keys work as intended and I can control the plane. Please let me know what I can do to help you with debugging or resolving this bug. Markus This is a case of the documentation being out of date. The keys Sopwith uses for controlling the aeroplane are contained in the file ~/.sopwith/keys Each line in the file includes a command and the key to issue that command. I will make a note to update the man page in the future. Ah, I see. Thanks. I really enjoyed the old default settings and controlling the plane with the arrow keys because comma and slash are hard to reach on a German QWERTZ keyboard. However it makes sense with QWERTY keyboards. Markus signature.asc Description: OpenPGP digital signature
Bug#742295: sopwith: segmentation fault in single player mode (S)
Ok, I uploaded a new package. It seems to be working for me inside my chroot environment. Markus, when the new package hits the archive, please test and let me know if it resolves your problems. Jesse, just for future reference, I did need to make Debian-specific package changes (as suggested by Markus) because the standard Debian build process overrides the optimization compiler flags. Thanks, KEN -- Kenneth J. Pronovici prono...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#742295: sopwith: segmentation fault in single player mode (S)
On 14-03-22 02:42 PM, Kenneth Pronovici wrote: Ok, I uploaded a new package. It seems to be working for me inside my chroot environment. Markus, when the new package hits the archive, please test and let me know if it resolves your problems. Jesse, just for future reference, I did need to make Debian-specific package changes (as suggested by Markus) because the standard Debian build process overrides the optimization compiler flags. Thanks, KEN Ken, Thank you for jumping on this one so quickly. I appreciate it. Jesse -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#742295: sopwith: segmentation fault in single player mode (S)
Package: sopwith Version: 1.8.1-4 Severity: normal Dear maintainer, when I try to play in single player mode (S key), the game crashes with a segmentation fault. This behaviour is reproducible by pressing the key combination S N or S E. I can reproduce it on amd64 and i386. However single player against the computer (C) appears to work as intended. Regards, Markus -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.13-1-686-pae (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages sopwith depends on: ii libc62.18-4 ii libsdl1.2debian 1.2.15-9 sopwith recommends no packages. sopwith suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#742295: sopwith: segmentation fault in single player mode (S)
Control: tags -1 patch On 21.03.2014 22:26, Jesse Smith wrote: So far I have not been able to reproduce the bug, however I suspect I know what the problem is. The Sopwith makefile includes a flag for optimization (-O2). Recent versions of the GCC compiler (version 4.7, 4.8) have changed the way code gets optimized and I have seen it cause a couple of games to crash at start-up. Thank you very much for your quick response. You are right, the optimization is causing this problem. On Debian -O2 is the default optimization flag and gcc 4.8 still the default compiler. With your Makefile and without any additional compiler flags, I can't reproduce a crash either. The solution for Debian is to add this line to debian/rules: export DEB_BUILD_OPTIONS=noopt and sopwith will be built with -O0 optimization. I can confirm that this solves the issue. Regards, Markus From 4cbe01514c2f23d790a99c5bf93af12c4df9b9af Mon Sep 17 00:00:00 2001 From: Markus Koschany a...@gambaru.de Date: Fri, 21 Mar 2014 23:11:40 +0100 Subject: [PATCH] noopt --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 58070e9..862987c 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,7 @@ # Set to enable verbose output from debhelper #export DH_VERBOSE=1 +export DEB_BUILD_OPTIONS=noopt install_dir = $(CURDIR)/debian/tmp -- 1.9.1 signature.asc Description: OpenPGP digital signature
Bug#742295: sopwith: segmentation fault in single player mode (S)
Thank you very much for your quick response. You are right, the optimization is causing this problem. On Debian -O2 is the default optimization flag and gcc 4.8 still the default compiler. With your Makefile and without any additional compiler flags, I can't reproduce a crash either. The solution for Debian is to add this line to debian/rules: export DEB_BUILD_OPTIONS=noopt and sopwith will be built with -O0 optimization. I can confirm that this solves the issue. That is great, thank you for testing. Since this bug will likely affect other distributions with recent versions of GCC I will release an update this weekend that removes the optimizations. We don't really need to optimize a 30 year old game anyway, everyone's hardware is up to the task. Jesse -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#742295: sopwith: segmentation fault in single player mode (S)
On Fri, Mar 21, 2014 at 5:15 PM, Markus Koschany a...@gambaru.de wrote: On 21.03.2014 22:26, Jesse Smith wrote: So far I have not been able to reproduce the bug, however I suspect I know what the problem is. The Sopwith makefile includes a flag for optimization (-O2). Recent versions of the GCC compiler (version 4.7, 4.8) have changed the way code gets optimized and I have seen it cause a couple of games to crash at start-up. Thank you very much for your quick response. You are right, the optimization is causing this problem. On Debian -O2 is the default optimization flag and gcc 4.8 still the default compiler. With your Makefile and without any additional compiler flags, I can't reproduce a crash either. The solution for Debian is to add this line to debian/rules: export DEB_BUILD_OPTIONS=noopt and sopwith will be built with -O0 optimization. I can confirm that this solves the issue. I'll put together a new package this weekend. KEN -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org