Package: openttd
Version: 1.0.0~rc1-1

Hi,

due to some conflict within ALSA library caused by process forking
after ALSA initialization, current version of openttd in unstable
leaves a stale timidity process after the game is shut down. This
stale process blocks all audio output until it's forcibly killed with
kill -9. The attached patch modifies two things:

1) It adds a more thorough timidity shutdown code to the extmidi
driver, which now tries standard termination with SIGTERM, and after a
short timeout it sends SIGKILL. It also properly waits for the child
process to avoid its zombification.

2) It changes the order of drivers from SOUND, MUSIC, VIDEO to MUSIC,
SOUND, VIDEO. This reverses the sound/music shutdown sequence on exit,
avoiding the lockup of timidity process. There should be no other side
effects of this change.

Regards,
-- 
Jindrich Makovicka



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to