MegaGlest Forum
MegaGlest => Bug reports => Closed bug reports => Topic started by: MJR on 2 May 2010, 10:31:40
-
On MegaGlest 3.3.5 dev I get a unknown error and the game stops in the middle of a game. I am on XP 64 Bit.
-
Are you able to give any more details than that? Can you trun on debuggin an reproduce the issue and tell us the last things in the logfile? How long were you playing the game etc?
-
We had the same issue now (in linux). Crash after about 5 minutes normal single player game.
Will try to produce a corefile.
-
Playing a single player game about 5 to 10 minutes into the game it crashes and a message says unknown error.
-
I have a core file now. Which took very very long! Obviously its a timing problem too and it doesn't happen very often when you use a binary with debug info, but now i got it. Looks like it has something to do with soundplayback. Thats something what softcoder changed lately. I will talk to him about it.
Here is the stack of the crash:
#0 0x0818ff2e in Shared::Sound::SoundInfo::getSamplesPerSecond (this=0x8) at shared_lib/sources/../include/sound/sound.h:39
#1 0x081918ff in Shared::Sound::OpenAL::StreamSoundSource::fillBufferAndQueue (this=0xfdf95a8, buffer=32778) at shared_lib/sources/sound/openal/sound_player_openal.cpp:274
#2 0x08192b96 in Shared::Sound::OpenAL::StreamSoundSource::play (this=0xfdf95a8, sound=0x878eef0, fadeon=6000) at shared_lib/sources/sound/openal/sound_player_openal.cpp:179
#3 0x08193723 in Shared::Sound::OpenAL::SoundPlayerOpenAL::play (this=0x83a6000, strSound=0x878eef0, fadeOn=6000) at shared_lib/sources/sound/openal/sound_player_openal.cpp:412
#4 0x080fcb5a in Glest::Game::SoundRenderer::playAmbient (this=0x820fc50, strSound=0x878eef0) at glest_game/sound/sound_renderer.cpp:143
#5 0x081550b6 in Glest::Game::TimeFlow::update (this=0x878f020) at glest_game/world/time_flow.cpp:62
#6 0x0815da38 in Glest::Game::World::update (this=0x878ecb8) at glest_game/world/world.cpp:140
#7 0x0807431f in Glest::Game::Game::update (this=0x878ecb0) at glest_game/game/game.cpp:355
#8 0x080a637f in Glest::Game::Program::loop (this=0x82689e8) at glest_game/main/program.cpp:203
#9 0x080a1217 in Glest::Game::glestMain (argc=1, argv=0xbfe20514) at glest_game/main/main.cpp:362
#10 0x080a15bf in main (argc=1, argv=0xbfe20514) at glest_game/main/main.cpp:396
(xxgdb)
In general the current version is much slower than the one before! And gets choppy very fast!
-
The reason for crash is that the current work with an own thread for the sound isn't finished yet.
just add this to your glest.ini and it will work:
ThreadedSoundStream=false
-
Vista 32bit operating system is not aware of this problem, XP 64bit operating system Can be such a problem? Is incredible!
By the way, hello,titi! ubuntu10.04 operating system can run properly glest3.3.5-dev??? Thank you!
-
Maybe for you but Vista is a pain in just about every other way. From slow start up to compatibility issues with other third party software. Wouldn't work with Vista for love or money.
-
Oh, man! I did not understand what you're saying, let me guess, I might ... you should know what I have to say it, well, I would like to softcoder will solve your problem!
-
I tried your patch and it still crash at about 5 minutes into the game unknown error on Windows Xp 64 Bit with MegaGlest 3.3.5 dev with the fix in place.
-
did you update from svn? softcoder fixed it now in the code.
You can also download the latest binary here:
http://soft-haus.com/glest/sf-files/ ( !! they are currently all called 3.3.5-dev but they are different !!)