The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: Marcus on December 01, 2002, 11:12:26 pm



Title: constantly crashing on FreeBSD
Post by: Marcus on December 01, 2002, 11:12:26 pm
Hello,

running sc2 on FreeBSD 4.7 I encountered a heavy bug ehich causes the game to hangup: Whenever you are getting in the selection dialogue of your ships for fighting (e.g. the spider alien after getting the moon base near earth), the game freezes.

The last message on the console is
Code:

'ilwrath/ilwsound.snd' -- 34 bytes
       'ilwrath/ilwditty.mod' -- 9908 bytes
_GetMusicData(): loading ilwrath/ilwditty.mod
       'lbm/pickship.ani' -- 57 bytes


Then the process munches as much CPU-time as it can and only a kill -9 stops it from doing that forever.
This happens on both, the 0.1-release and the cvs-branch.

Any solutions?

Regards
Marcus


Title: Re: constantly crashing on FreeBSD
Post by: cid on December 02, 2002, 12:57:39 am
I am also having the same crashing problem.
It appears that when ever you enter combat, it locks up at
the ship selection screen. This also happens at pluto, if you engage
in combat there. I have tried the static and dynamic binaries.


Title: Re: constantly crashing on FreeBSD
Post by: `cid on December 02, 2002, 11:01:30 am
Ugly brutal hack that gets it working FreeBSD,
Also major wackynesss with the SDL stuff from ports
so install all sdl stuff by hand including smpeg

Index: src/sc2code/pickship.c
===================================================================
RCS file: /cvsroot/sc2/sc2/src/sc2code/pickship.c,v
retrieving revision 1.2
diff -r1.2 pickship.c
2d1
<
259,260d257
<               while (ChannelPlaying (0))
<                       ;


Title: Re: constantly crashing on FreeBSD and on OpenBSD
Post by: ibssj on December 02, 2002, 01:40:35 pm
The same bug exists on OpenBSD as well. I have already reported this to the developers.

Removing the While(ChannelPlaying(0)); works also on OpenBSD.

I'm now trying to get the OpenAL to work on OpenBSD.
In FreeBSD, OpenAL seems to be in the ports -tree, so using it might solve the problem.