Bug #1390

[OpenAL] Game crash on missing sound file

Added by keMoN 2 months ago. Updated 2 months ago.

Status:New% Done:

0%

Priority:Normal
Assignee:-
Category:Client
Target version:2.77
OS: Arch:

Description

When OpenAL is selected, the game crashes without error when coming across a missing sound file.
This does not happen with SDL2. Find the console log output below:

13450 [skipnotify]^7kemon^7 entered the game
   13450 Connected to a pure server.
   13450 [skipnotify]^1FIGHT!
   14100 [skipnotify]noclip ON
   16650 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid operation
   16650 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid operation
   16650 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid operation
   17750 [skipnotify]noclip OFF
   18650 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid operation
   18650 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid operation
   18650 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid operation
   21400 ^5The Tank has been repaired!
   21400 Can't read sound file sound/vo/dk/1_tankrep.wav
   21400 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid value
   21400 ----- Client Shutdown ----------
   21400 ^3WARNING S_AL_ClearError: unhandled AL error: Invalid value
   21400 RE_Shutdown( 1 )
   21400 SDL input devices shut down.
   21400 --------------------------------
   21400 ----- Server Shutdown ----------
   21400 ==== ShutdownGame (0 - dingenskirchen) ====

Associated revisions

Revision d3cf23a8
Added by Jacker 12 days ago

client: fixed openal causing a crash when the file is missing, refs #1390. Also fixed an issue with invalid sound files getting into an infinite restart loop.

History

#1 Updated by Spyhawk 2 months ago

  • Category changed from Mod generic to Client
  • Target version changed from 2.78 to 2.77

Also available in: Atom PDF