Page 1 of 1

Segfault on loading a savegame {Updated: AI Related}

Posted: 05 Apr 2010, 23:26
by jimbowen
Hi

I'm not sure if this is the correct way to report bugs, but I may be Doing It Wrong.

I started a skirmish match against an AI, and saved it. When I tried to load the game later, using spring file.ssf, it went through the whole sequence of starting a new game and got as far as "loading game", then segfaulted.

This was originally with a complicated gamestate, so I tried as a sanity check running the same game from the very start (two commanders on a map) and saving it, but I got the same segfault trying to load that.

I'm running Spring 0.81.2.1 (built from the source tarball), on Debian Lenny, using Mega Annihilation and RAI.

UPDATE:
It turns out that the game does save/load correctly if there is no AI active.
I tried it on a basic map/mod/AI and it still crashed, so I tried without the AI and it it worked.
Having tried all the AIs now, the only ones that work (i.e. save/load correctly) are NullAI, and the two AIs that die on startup (SAI and AAI)

Has anyone else been able to play against a skirmish AI and save/load games? Is there a better way to start a skirmish match than the "test the game" function of the bare spring executable?

(removed console output, attached infolog.txt instead)

Re: Segfault on loading a savegame {Updated: AI Related}

Posted: 07 Apr 2010, 21:41
by knorke
Is there a better way to start a skirmish match than the "test the game" function of the bare spring executable?
open a passworded battleroom in tasclient or springlobby.

Re: Segfault on loading a savegame {Updated: AI Related}

Posted: 09 Apr 2010, 10:49
by zwzsg
jimbowen wrote:Has anyone else been able to play against a skirmish AI and save/load games?
Yes. But I don't use the hardcoded save system. I use my own. Also I use the KAIK ai.

Is there a better way to start a skirmish match than the "test the game" function of the bare spring executable?
Yes. I made a lil ingame menu to start random skirmishes. But it need some special widget in the mod, some special installer to create a shortcut to a special startscript...

See for exemple:
- Kernel Panic 4.0, full installer version
- GRTS 1.21 unofficial full installer with outdated Spring