Segfault on loading a savegame {Updated: AI Related}
Posted: 05 Apr 2010, 23:26
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)
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)