archive by month
Skip to content

Steamhammer is crashing

Argh, crashes!

I ran a ton of test games, against both stronger and weaker opponents of all races on rotating maps, and saw no sign of any crashing bug. I eliminated nearly all crashes from Steamhammer by about April last year, and since then there have been only a handful of crashes total on SSCAIT. Every release has been reliable. But on SSCAIT, the new Steamhammer is crashing frequently, in up to 1/3 of games. If that happens in CIG, Steamhammer will finish in the bottom half if it is not disqualified altogether. I have contacted the CIG organizers to warn them of the possible disaster.

The symptoms indicate a severe bug which happens in many games and causes a crash or not depending on details of the environment. It’s likely a pointer or iterator thing. Crash records point to squad update routines for different squads. Those were all changed to assign or unassign detectors depending on the situation, so I know where to start looking.

Please stand by while I employ my fine-tooth comb. It’s too late for CIG, but the rest of the world can be saved. I’ll issue a new version when it’s fixed, and I hope it won’t be long.

I’m eager to get on with the real work, but crashes come first. Argh!

Update: I found bugs of the general kind I expected in the places I expected. As usual, the bugs were obvious once I read my own code carefully. Lesson: I was in too much hurry. Code review works even with only 1 coder. I’ll upload version 1.4.7 after reading through again and retesting.

Trackbacks

No Trackbacks

Comments

McRave on :

This is the nightmare of every bot dev, releasing to a tournament with a bug, crash or a fatal strategic flaw. I've come to embrace this at every tournament so far; this CIG being no different with only one small bug that should only affect a few matchups.

I tested the new SH locally versus myself, I saw no crashes across 25 games, could be a change made post submission?

Johan de Jong on :

I also tested SH locally versus my bot (BananaBrain), and SH crashed in 28 out of 30 games. Perhaps this helps to find the bug, since this should make it easier to reproduce it.

Antiga / Iruian on :

I haven't had any crashes, it may not be as bad as it seems. I am seeing some strange army behavior which you can see in these two replays : http://www.openbw.com/replay-viewer/?rep=https%3A%2F%2Fsscaitournament.com%2FReplays%2FUITTEST%2F274802-UITt_Anti-PvP.rep


http://www.openbw.com/replay-viewer/?rep=https%3A%2F%2Fsscaitournament.com%2FReplays%2FUITTEST%2F274792-UITt_Anti-PvP.rep

Jay Scott on :

Both games have the army retreating too far because it sees the enemy as superior. It’s a disadvantage I pointed out in the change list under “Defend is a regroupable order.” I may rework maneuvering completely for the next version; it is one of the options I am considering.

Antiga / Iruian on :

I did find one where the bot got stuck, but it wasn't an outright crash :

http://www.openbw.com/replay-viewer/?rep=https%3A%2F%2Fsscaitournament.com%2FReplays%2FANTIGA%2F274841-Anti_Micr-PvZ.rep

Jay Scott on :

Hrm, a production freeze. They are less common, but they can still happen.

MicroDK on :

that is a Microwave replay not Steamhammer...

Jay Scott on :

It is an Antiga replay. :-) Steamhammer as protoss, with relatively small changes.

MicroDK on :

I did not have time enough for testing and debugging either. After changing retreat to an order my ranged units especially mutalisk tend to not retreat and just suicide then selfs. I just found and fixed it. It was an attack move that should have been move. Microwave will suffer from this at CIG.

Add Comment

E-Mail addresses will not be displayed and will only be used for E-Mail notifications.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options

Submitted comments will be subject to moderation before being displayed.