OS X SDL/SDL_mixer crashes and system freeze up

First off – using the latest stable SDL, SDL_mixer, and SDL_image
(the universal binaries).

Total System Freeze

This only occurs with sound enabled, so I believe it is a SDL_mixer
issue and not a SDL one.

Steps to reproduce:

  1. Download [0.2.8.2.macosx-universal](http://sourceforge.net/project/
    showfiles.php?group_id=110997)
  2. Startup, and enable sound: System Setup -> Sound Settings
  3. Start a local game: Game -> Local Game
  4. Quit (Command-Q)
  5. If the game quit cleanly start it up again, enter a local game and
    quit again.
  6. Your system should freeze up. You can still move your mouse,
    though. You will have to reboot.

console.log has this informative entry after reboot (queue is my
hostname):

Jun 9 19:03:01 queue diskarbitrationd[42]: SystemUIServer [210]:
17411 not responding.

Crash in SDL_mixer -> Timidity

This one just happens randomly on my G4. It seems to occur
consistently on an i386 machine and a G5. Enable sound and it will
happen when starting up the game.

Steps to reproduce:

  1. Download [0.2.8.2.macosx-universal](http://sourceforge.net/project/
    showfiles.php?group_id=110997)
  2. Enable sound
  3. Crash should occur on startup.

crashlog:

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x6c70636c

Thread 0 Crashed:
0 libSystem.B.dylib 0x90002f48 strlen + 8
1 SDL_mixer 0x3201df64 open_file + 396
2 SDL_mixer 0x32029970 read_config_file + 112
3 SDL_mixer 0x3202a120 Timidity_Init + 52
4 SDL_mixer 0x3201c63c open_music + 544
5 SDL_mixer 0x320198f8 Mix_OpenAudio + 208
6 …rceforge.ArmagetronAdvanced 0x0003ef88 se_SoundInit() +
616 (crt.c:355)
7 …rceforge.ArmagetronAdvanced 0x000c4844 SDL_main + 2820
(crt.c:355)
8 …rceforge.ArmagetronAdvanced 0x00003218 -[SDLMain
applicationDidFinishLaunching:] + 136 (crt.c:355)

I remember seeing a Timidity bug entry related to this that stated it
was fixed.

– Daniel