View Issue Details

IDProjectCategoryView StatusLast Update
0001954Spring engineGeneralpublic2010-09-21 14:33
ReporterSirMaverick Assigned Toabma  
PrioritynormalSeveritycrashReproducibilitysometimes
Status resolvedResolutionunable to reproduce 
Product Version0.81.2.1 
Summary0001954: crash with lua ai in rts/ExternalAI/SkirmishAI.cpp:36
DescriptionUsing CA 8105 with it's CAI. First time it crashed for me when I added bots.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
20100620_004019_unnamed_0.81.2.sdf (Attachment missing)
good.txt (Attachment missing)
bad.txt (Attachment missing)
worked.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

hoijui

2010-06-29 22:36

reporter   ~0005018

i tired with CA 8132, and it worked.
I guess it depends on the script.txt, so if you could supply that please.

SirMaverick

2010-07-01 00:47

reporter   ~0005026

I didn't say CAI doesnt work or always crashes. There were 2 games where my spring crashed at game start. In _many_ other games it didn't.

hoijui

2010-07-01 07:56

reporter   ~0005029

were the script.txt different?
supply a bad one.

SirMaverick

2010-07-01 17:25

reporter   ~0005034

Last edited: 2010-07-01 17:28

I doubt that it's triggered by something in the script. Many game on same autohost, same mod options and 2 games crashed.

Edit: In case of crash I was host of AI.

SirMaverick

2010-07-01 17:40

reporter   ~0005035

worked.txt - a script where I hosted CAI and didn't crash. What looks different:
worked.txt:
[ai1]
{
[options]
{
}
host=6;
isfromdemo=0;
shortname=CAI;
team=6;
version=<not versioned>;
}
bad.txt:
[ai1]
{
host=3;
name=Bot7;
shortname=CAI|<not versioned>;
team=5;
}

btw: all scripts are extracted from the replay

hoijui

2010-07-01 23:09

reporter   ~0005036

hmm.. ok.
quite obvious what the problem is there.
which lobby did you use?
can not think of anything why it should turn up differently... were the scripts written by different lobbies?

as i remember...
if the shortName is no native AI, spring will assume it is a Lua one, even if it is just a random string. i remember the reason being, that the list of LuaAI is not yet available in the part of the code where it is checked. this might be fixed in the pureint spring branch already

SirMaverick

2010-07-02 01:04

reporter   ~0005037

good/bad was same human host. "worked" was autohost.
No idea what they were running.

I was always a client (springlobby).

hoijui

2010-07-02 09:03

reporter   ~0005038

ok..
find out what lobby they used, must be TASClient or SpringDownloader.
That one needs fixing i guess.

SirMaverick

2010-07-23 15:05

reporter   ~0005137

Host was TASClient.

hoijui

2010-07-23 20:04

reporter   ~0005139

someone should test if this still happens in recent versions of TASClient, in case this was not, and if so, we have to tell Satirik.. or maybe better ask him directly.

SirMaverick

2010-07-24 18:09

reporter   ~0005152

I still don't understand why I was only spring client to crash.

abma

2010-09-21 14:33

administrator   ~0005607

i downloaded current tasclient and tried to reproduce. if bug still exists in current version of spring, please reopen this report.

Issue History

Date Modified Username Field Change
2010-06-20 01:03 SirMaverick New Issue
2010-06-20 01:04 SirMaverick File Added: infolog.txt
2010-06-29 22:36 hoijui Note Added: 0005018
2010-07-01 00:45 SirMaverick File Added: 20100620_004019_unnamed_0.81.2.sdf
2010-07-01 00:47 SirMaverick Note Added: 0005026
2010-07-01 07:56 hoijui Note Added: 0005029
2010-07-01 17:25 SirMaverick Note Added: 0005034
2010-07-01 17:25 SirMaverick File Added: good.txt
2010-07-01 17:25 SirMaverick File Added: bad.txt
2010-07-01 17:28 SirMaverick Note Edited: 0005034
2010-07-01 17:39 SirMaverick File Added: worked.txt
2010-07-01 17:40 SirMaverick Note Added: 0005035
2010-07-01 23:09 hoijui Note Added: 0005036
2010-07-02 01:04 SirMaverick Note Added: 0005037
2010-07-02 09:03 hoijui Note Added: 0005038
2010-07-23 15:05 SirMaverick Note Added: 0005137
2010-07-23 20:04 hoijui Note Added: 0005139
2010-07-24 18:09 SirMaverick Note Added: 0005152
2010-09-21 14:33 abma Note Added: 0005607
2010-09-21 14:33 abma Status new => resolved
2010-09-21 14:33 abma Resolution open => unable to reproduce
2010-09-21 14:33 abma Assigned To => abma