Opened 11 years ago

Closed 11 years ago

#1881 closed defect (fixed)

OOS during Multiplayer Game

Reported by: Kieran P Owned by:
Priority: Release Blocker Milestone: Alpha 14
Component: Core engine Keywords:
Cc: Patch:

Description

Attachments (20)

oos_dump1.tar.bz2 (421.7 KB ) - added by Kieran P 11 years ago.
oos_dump2.tar.bz2 (419.1 KB ) - added by Kieran P 11 years ago.
commands.tar.bz2 (80.9 KB ) - added by Kieran P 11 years ago.
oos_dump_diff.txt (35.1 KB ) - added by Kieran P 11 years ago.
oos_dump_yves.txt.7z (422.3 KB ) - added by Yves 11 years ago.
Yves's logs from todays multiplayer game with k776, historicbruno, leper and 4x Aegis
interstinglog_commands_yves.7z (97.9 KB ) - added by Yves 11 years ago.
leper-commands.7z (96.1 KB ) - added by historic_bruno 11 years ago.
leper's commands.txt
leper-oos_dump.7z (422.2 KB ) - added by historic_bruno 11 years ago.
leper's oos_dump.txt
yves-leper-oos_dump.diff (121.9 KB ) - added by historic_bruno 11 years ago.
diff of Yves' and leper's oos_dumps
xmirakulix_host_oos_dump.txt.7z (279.2 KB ) - added by Florian 11 years ago.
xmirakulix_client_oos_dump.txt.7z (278.5 KB ) - added by Florian 11 years ago.
xmirakulix_host_commands.txt (167.0 KB ) - added by Florian 11 years ago.
xmirakulix_client_commands.txt (167.0 KB ) - added by Florian 11 years ago.
xmirakulix_oos_dump_diff.txt (38.2 KB ) - added by Florian 11 years ago.
scythetwirler_oos_dump.txt.tar.gz (404.9 KB ) - added by scythetwirler 11 years ago.
scythetwirler's OOS dump file.
scythetwirler-commands.txt.tar.gz (358.3 KB ) - added by scythetwirler 11 years ago.
scythetwirlerg2Windows_oos_dump.7z (472.7 KB ) - added by scythetwirler 11 years ago.
scythetwirlerg2Windows_commands.7z (18.8 KB ) - added by scythetwirler 11 years ago.
scythetwirlerg2Ubuntu_oos_dump.txt.7z (424.0 KB ) - added by scythetwirler 11 years ago.
scythetwirlerg2Ubuntu_commands.txt.7z (18.8 KB ) - added by scythetwirler 11 years ago.

Change History (33)

by Kieran P, 11 years ago

Attachment: oos_dump1.tar.bz2 added

by Kieran P, 11 years ago

Attachment: oos_dump2.tar.bz2 added

by Kieran P, 11 years ago

Attachment: commands.tar.bz2 added

by Kieran P, 11 years ago

Attachment: oos_dump_diff.txt added

by Yves, 11 years ago

Attachment: oos_dump_yves.txt.7z added

Yves's logs from todays multiplayer game with k776, historicbruno, leper and 4x Aegis

by Yves, 11 years ago

by historic_bruno, 11 years ago

Attachment: leper-commands.7z added

leper's commands.txt

by historic_bruno, 11 years ago

Attachment: leper-oos_dump.7z added

leper's oos_dump.txt

by historic_bruno, 11 years ago

Attachment: yves-leper-oos_dump.diff added

diff of Yves' and leper's oos_dumps

comment:1 by Yves, 11 years ago

It's interesting that the OOS-error happened exactly between turns 3180 and 3200 where k776 deleted the CC using the dev-console. Also he was the only one who didn't get the OOS-error. I'd say deleting buildings with the dev-console caused the error and the original error is probably fixed.

What confuses me and makes me unsure about that conclusion is that I can't get the same hash as I got in my commands.txt when running it in replay mode. The hashes match until Turn 3180 but then it differs (but the hash is the same each time I try). How can the hash be the same each time but different than it was in the original game?

Btw. you should disable the profiler for replay-mode by uncommenting the savefile-function in Replay.cpp. I got a 32 GB profile.txt...

in reply to:  1 comment:2 by leper, 11 years ago

Replying to Yves:

What confuses me and makes me unsure about that conclusion is that I can't get the same hash as I got in my commands.txt when running it in replay mode. The hashes match until Turn 3180 but then it differs (but the hash is the same each time I try). How can the hash be the same each time but different than it was in the original game?

I got the same result (hashes in replay mode not matching those I got in the match). (I also tested with you commands.txt, but even that resulted in a different hash.

I think the issue is somehow related to the dev-console usage, so I think we can backlog this (or even close it as needsinfo).

comment:3 by historic_bruno, 11 years ago

Milestone: Alpha 13Alpha 14

comment:4 by Florian, 11 years ago

A friend and I played the current release (13332-release) yesterday and kept getting OOS errors I think every time at turn 1700. I'll try to attach all info I have, please advise if you need additional files/data.

We played multiplayer on LAN, 2on2 versus two Aegis AIs on Alpine Valley.

by Florian, 11 years ago

by Florian, 11 years ago

by Florian, 11 years ago

by Florian, 11 years ago

by Florian, 11 years ago

comment:5 by Florian, 11 years ago

Additional info: host was OSX, client Ubuntu Linux

comment:6 by hannibal218bc, 11 years ago

OOS was not exactly at turn 1700, but somewhere close to that.

comment:7 by hannibal218bc, 11 years ago

We tried again today with [13350]. Still reproducible with Aegis on map Alpine-generated, but we managed to play a game with qbot enemies.

Last edited 11 years ago by hannibal218bc (previous) (diff)

comment:8 by scythetwirler, 11 years ago

My friend an I played numerous games on various scenarios including the Acropolis, Saharan Oases, Siwa Oasis, Oasis 1-9 and it seems just about every time, an OOS error occurs. We usually are a team against one or two Aegis Bot(s).

I run Ubuntu 12.04 LTS while she uses Windows 7. I'm attaching the oos_dump.txt file. Do you need any other logs?

by scythetwirler, 11 years ago

scythetwirler's OOS dump file.

by scythetwirler, 11 years ago

comment:9 by scythetwirler, 11 years ago

Played another game with my laptop and my desktop (one on Windows and one on Ubuntu) with 2x Aegis. I was idle on one computer and half-playing on the other and an OOS error popped up around turn 800.

by scythetwirler, 11 years ago

by scythetwirler, 11 years ago

by scythetwirler, 11 years ago

by scythetwirler, 11 years ago

comment:10 by ben, 11 years ago

In 13488:

Fixes possible undefined value returned by CmpHealth, leading to a NaN and serialization test failure. Refs #1881

in reply to:  9 comment:11 by historic_bruno, 11 years ago

Replying to scythetwirler:

Played another game with my laptop and my desktop (one on Windows and one on Ubuntu) with 2x Aegis. I was idle on one computer and half-playing on the other and an OOS error popped up around turn 800.

Thanks for the logs. Comparing the OOS dumps from your Windows and Ubuntu machines, the only relevant difference is:

@@ -881090,7 +881090,7 @@ entities:
     7357
   ],
   "numRecentBuilders": 6,
-  "buildMultiplier": 0.5841906810678655,
+  "buildMultiplier": 0.5841906810678654,
   "previewEntity": 7465,
   "finalTemplateName": "structures/rome_barracks",
   "owner": 1,

which looks like a platform specific floating-point issue (of the kind reported here). I'm not sure at this point what we can do to fix that, #433 may be relevant.

comment:12 by ben, 11 years ago

In 13493:

Fixes another possible NaN when invulnerable units are attacked, refs #1881

comment:13 by sanderd17, 11 years ago

Resolution: fixed
Status: newclosed

OOS problems in multiplayers without AI players seem to be solved now. See #2000 for OOS problems with AI players.

Note: See TracTickets for help on using tickets.