Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] Re: (PR#11825) os x building
Home

[Freeciv-Dev] Re: (PR#11825) os x building

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#11825) os x building
From: "Ruben Zilibowitz" <rzilibow@xxxxxxxxxxxxxx>
Date: Sat, 8 Jan 2005 15:41:11 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11825 >

Ok, I posted the stack backtrace the other night... Played around a 
little bit with the source code last night and fixed it.
Never used SDL_mixer before really so just on a hunch I did this:

In the function my_shutdown in the file audio_sdl.c,

I inserted the line:
   Mix_HaltMusic();
immediately before the line:
   Mix_FreeMusic(mus);

It works now. Quits and no freeze up. Don't actually know if that was a 
bug or if it just fixes another problem that was there - I noticed that 
the music is supposed to fade out according to the source. Is that 
correct? Because it doesn't on my system. and perhaps that has 
something to do with why it was crashing on my system at 
Mix_FreeMusic(mus);

Ruben



On 08/01/2005, at 2:08 PM, Jason Short wrote:

>> Now it builds, and sounds are working! But, bizzarely, a new bug: It
>> doesn't quit. I press on the "Quit" button, and the music loop stops
>> playing, but the game doesn't quit, it just sits there frozen with the
>> "Quit" button pressed in. Anyone got an idea about this?
>
> Can you give it a SEGV (killall -SEGV civclient) and get a backtrace
> with gdb?





[Prev in Thread] Current Thread [Next in Thread]