[Freeciv-Dev] Re: (PR#11825) os x building
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<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?
- [Freeciv-Dev] Re: (PR#11825) os x building, Jason Short, 2005/01/06
- [Freeciv-Dev] Re: (PR#11825) os x building, Ruben Zilibowitz, 2005/01/06
- [Freeciv-Dev] Re: (PR#11825) os x building, Jason Short, 2005/01/06
- [Freeciv-Dev] Re: (PR#11825) os x building, Ruben Zilibowitz, 2005/01/06
- [Freeciv-Dev] Re: (PR#11825) os x building, Per I. Mathisen, 2005/01/07
- [Freeciv-Dev] Re: (PR#11825) os x building, Ruben Zilibowitz, 2005/01/07
- [Freeciv-Dev] Re: (PR#11825) os x building, Jason Short, 2005/01/07
- [Freeciv-Dev] Re: (PR#11825) os x building, Ruben Zilibowitz, 2005/01/08
- [Freeciv-Dev] Re: (PR#11825) os x building,
Ruben Zilibowitz <=
|
|