DrLex
06-23-2003, 10:54 AM
I tracked down the crashes when switching songs under OS X to an SDL_mixer library function which frees a music chunk. After a few songs, malloc warnings start to show up, and after a few more songs a segfault occurs. I created a simple application which just loads and plays some songs using the same functions, and it shows the same behavior. The weird thing is that the guys working on SDL can't reproduce the problem.
So I wonder whether for some reason this error only happens on my machine. Are there other Mac OS X users who can play the game with music turned on, without crashing? If so, it would be interesting to know what version of the OS and what version of QuickTime they are using (because in the end, MIDI playback is done through QuickTime).
You can download the current OSX ROTT build here (http://www.student.kuleuven.ac.be/~m9608615/ROTT-OSX-X0.1.sit).
You can switch songs deliberately by typing "dipstick" and then "maestro". After playing, look in the Console for lines like "*** malloc[9544]: Deallocation of a pointer..."
So I wonder whether for some reason this error only happens on my machine. Are there other Mac OS X users who can play the game with music turned on, without crashing? If so, it would be interesting to know what version of the OS and what version of QuickTime they are using (because in the end, MIDI playback is done through QuickTime).
You can download the current OSX ROTT build here (http://www.student.kuleuven.ac.be/~m9608615/ROTT-OSX-X0.1.sit).
You can switch songs deliberately by typing "dipstick" and then "maestro". After playing, look in the Console for lines like "*** malloc[9544]: Deallocation of a pointer..."