Segfault on loading a savegame {Updated: AI Related}

Segfault on loading a savegame {Updated: AI Related}

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
jimbowen
Posts: 1
Joined: 24 Jul 2009, 18:21

Segfault on loading a savegame {Updated: AI Related}

Post 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)
Attachments
infolog.txt
(12.33 KiB) Downloaded 11 times
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

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

Post 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.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7052
Joined: 16 Nov 2004, 13:08

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

Post 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
Post Reply

Return to “Help & Bugs”