Your message dated Sun, 04 Nov 2007 17:17:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#445806: fixed in torcs 1.3.0-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: torcs
Version: 1.3.0-1
Tags: patch
Severity: wishlist

    If torcs attempts to start a race with the OpenAL audio backend
enabled, and OpenAL is unable to open an audio device, torcs
segfaults.  The Plib audio backend just prints an error message when
it cannot open a device, and allows play to continue.  When sound is
disabled, torcs doesn't even try to open a device.  This is admittedly
a bug in OpenAL, but the attached patch to torcs provides a workaround
to allow torcs to work smoothly until the OpenAL issue is addressed.
Please consider this for application.

    To verify the issue and solution, temporarily remove or displace
/etc/openalrc and (if it exists) $HOME/.openalrc; disable OSS (rmmod),
and start torcs.

-- 
Emmet HIKORY
diff -urN torcs-1.3.0/src/modules/graphic/ssggraph/grsound.cpp torcs-1.3.0.new/src/modules/graphic/ssggraph/grsound.cpp
--- src/modules/graphic/ssggraph/grsound.cpp	2006-11-05 10:42:26.000000000 +0900
+++ src/modules/graphic/ssggraph/grsound.cpp	2007-10-08 18:15:29.000000000 +0900
@@ -72,7 +72,14 @@
 	
 	switch (sound_mode) {
 	case OPENAL_MODE:
-		sound_interface = new OpenalSoundInterface (44100, 32);
+		try {
+			sound_interface = new OpenalSoundInterface (44100, 32);
+		}
+		catch (const char *err) {
+			fprintf (stderr, "Disabling Sound: OpenAL initialisation failed: %s\n", err ? err : "");
+			sound_mode = DISABLED;
+			return;
+		}
 		break;
 	case PLIB_MODE:
 		sound_interface = new PlibSoundInterface(44100, 32);

--- End Message ---
--- Begin Message ---
Source: torcs
Source-Version: 1.3.0-3

We believe that the bug you reported is fixed in the latest version of
torcs, which is due to be installed in the Debian FTP archive:

torcs_1.3.0-3.diff.gz
  to pool/main/t/torcs/torcs_1.3.0-3.diff.gz
torcs_1.3.0-3.dsc
  to pool/main/t/torcs/torcs_1.3.0-3.dsc
torcs_1.3.0-3_i386.deb
  to pool/main/t/torcs/torcs_1.3.0-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rudy Godoy <[EMAIL PROTECTED]> (supplier of updated torcs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 28 Oct 2007 15:25:12 -0500
Source: torcs
Binary: torcs
Architecture: source i386
Version: 1.3.0-3
Distribution: unstable
Urgency: low
Maintainer: Rudy Godoy <[EMAIL PROTECTED]>
Changed-By: Rudy Godoy <[EMAIL PROTECTED]>
Description: 
 torcs      - 3D racing cars simulator game using OpenGL
Closes: 445806
Changes: 
 torcs (1.3.0-3) unstable; urgency=low
 .
   * Reworked dependencies, now using libgl1-mesa-dev. mesa GLX libs are not
     actually used.
   * Not running autoconf and automake before compiling, this causes configure
     to ran again and loses arguments.
   * Exclude xrandr from configure to workaround OpenAL bug when it can't open
     a sound device (Closes: #445806)
Files: 
 0b91987329ce540378118363bacc7732 899 games optional torcs_1.3.0-3.dsc
 049f44fdc504adfd5123541ece66ff75 7583 games optional torcs_1.3.0-3.diff.gz
 102a940a7108d2bd1e862db847cce4c5 2376394 games optional torcs_1.3.0-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHLfo+VQ8aADQzvSERAqWGAJ9boSbn+EU9TQ0WNeEFOt0wxNTQZQCgpfrO
v8LGmz4nUEiMZFI2JitQJLQ=
=NvyY
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to