Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Rise of the Triad (1995) Source Code
Blogs FAQ Members List Social Groups Calendar Mark Forums Read

Notices

 
 
Thread Tools
Old 06-23-2003, 09:54 AM   #1
DrLex
Music crashes under OS X: testers wanted!
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.
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..."
DrLex is offline  
Old 07-14-2003, 06:13 PM   #2
DrLex
Re: Music crashes under OS X: testers wanted!
I still haven't found out why the crash occurs, only that it occurs deep within a standard QuickTime routine. Because I don't feel like going the MallocDebug way, I created a workaround: music is now played directly through QuickTime instead of through SDL_mixer. This also improves the quality! I linked this 'new feature' to the 'General Midi' setting in the sound config, so you can still choose to use SDL_mixer if you want.
See the "Some issues under OS X" thread for the latest OS X build.
DrLex is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 09:38 AM.

Page generated in 0.14956808 seconds (100.00% PHP - 0% MySQL) with 16 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.

Website is 1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.