Bug #24676

[84689] CTD after load LAN multiplayer savegame

Added by benouyt almost 4 years ago. Updated over 3 years ago.

Status:Closed Start date:09/19/2011
Priority:Normal Due date:
Assignee:Suma % Done:

10%

Category:Game Crash
Target version:1.60.87580
Affected ArmA II version:1.60 BETA First affected build:
Reproduced by another DH user:No First affected ArmA II version:1.59.79384
I am using some Mods:No Single / Multi Player?:
I am using:CO (OA+A2) BIForumURL:
Reproducible for you:No NGUrl:
Related to content of DLC: WIKIurl:

Description

The game crash 10-20 minutes after load warfare savegames (superpower, civil war are only which i tried) with "ArmAIIOA.exe stopped to work" message

I got this crash since 1.59, even after reinstall the game, try beta, i still have it.

Repro:

- place attached savegame into the appropriate folder (like XXX\ArmA 2\Saved\ca\missions\MPScenarios\mp_superpowers.chernarus)
- player 1: start a game, create a new multiplayer session (host)
- player 2: start a game, connect to the session
- player 1: wait until you see Player 2 connected, then press Resume
- wait until both players see the role selection screen
- player 1: press OK

Observed result:
- player 2: the player is reported to be killed, missing units can be seen
- player 1: the game will crash

Expected result:
- the game should load without crashing for both players

ArmaIIOA.rar (1.5 MB) benouyt, 09/19/2011 19:17

savegame.rar (4.3 MB) benouyt, 09/20/2011 07:34

checksums.md5 (144.2 kB) benouyt, 09/21/2011 15:53

ui.pbo.md5 (42 Bytes) benouyt, 09/21/2011 17:21

ArmA_2_OA_files.rar (1.5 MB) benouyt, 09/22/2011 18:05


Related issues

related to ARMA2 Community Issue Tracker - Bug #25082: Beta 85015 seems to corrupt some save games Rejected 10/02/2011 12/01/2011
related to ARMA2 Community Issue Tracker - Bug #25461: [1.60 only] "CreatorId not supported client-side" shown i... Closed 10/14/2011

History

Updated by kju almost 4 years ago

  • Status changed from New to Feedback
  • Assignee set to Dwarden
  • Target version deleted (1.60 BETA)

You have a lof of these:

Server: Update of object 3:4 arrived from nonowner

Over 13000 in one session.

Updated by benouyt almost 4 years ago

You have a lof of these
Server: Update of object 3:4 arrived from nonowner"

What is it ?

I also had this in older .rpt : "Error in expression <_leader kbhastopic "sqlComm"> Error position: <kbhastopic "sqlComm">"

Updated by kju almost 4 years ago

These rpt errors are only meaningful to BI. Don't worry about em.

Updated by Suma almost 4 years ago

after load warfare savegame

How long after the mission start do you create a savegame? How many players? Could you perhaps share the savegame here, chance is after loading it I might find the corrupted object?

Updated by benouyt almost 4 years ago

@kyu: I'll remove the -winxp then, i didnt mind much about it cause the game looked work fine, in SP at least.

@Suma: I create a savegame about 15-20 minutes of game, we are just two player (btw the savegame never save for other player, all soldiers disapear for him after loading, that can be problem cause corrupted game or its normal ?) And russian machine gunner cost 1750$, dont know if it normal neither ^^

So here the savagame.

And thanks for help

Updated by benouyt almost 4 years ago

Updated by benouyt almost 4 years ago

Updated by Dwarden almost 4 years ago

  • Status changed from Feedback to In progress
  • Target version set to 1.10.80665

Updated by Dwarden almost 4 years ago

  • % Done changed from 0 to 50

Updated by Suma almost 4 years ago

This should do the job:

procdump -e -ma arma2oa.exe crash.dmp

Updated by benouyt almost 4 years ago

I did crash 2 minutes after loading this time.

Here the crash file: http://www.megaupload.com/?d=ZLVC1FVW

And never know, i send the .rpt and other files if it can be useful.

Updated by Suma almost 4 years ago

It seems to me it the origin of the corruption is the other computer (player name "Edward O'lenny"). Many objects have received updates from the other computer which make no sense for them. I do not know yet why is this happening, but what you wrote also indicates something does not work well here:

the savegame never save for other player, all soldiers disapear for him after loading, that can be problem cause corrupted game or its normal

This is definitely not normal. Is there some error or warning message displayed, or anything unusual happening when loading?

The save files i loaded are the savegame that i uploaded here, it's the savegame you tried.

Great, I will check it again, now that I know which objects are interesting for me.

sorry for my poor english by the way

No need to be sorry. We understand each other, and that is all that matters here.

Updated by benouyt almost 4 years ago

I'll try to play alone, but i cant invite other player to join after the load on different system, we got only two computer here and we are just two to play the game, erf...

I can try maybe to load alone then make him come after (but on same system then) and see if the game go more fine or something change ?

Updated by kju almost 4 years ago

To clarify.
Does it crash also for you alone or only when you two together try to continue the savegame?

Updated by Suma almost 4 years ago

Your notes show why exact repro steps are important. Until now I was try to reproduce the problem by loading the game first and joining by the second player to the already running game. This worked fine. Now I have tried connecting to the host before I press the Resume, and this time it crashed in the game very soon. Having a reliable repro method should hopefully lead to a quick fix.

Note: this also describes the workaround. Before loading the savegame, the 2nd player should disconnect, and connect again only once the 1st player is full ingame (can see the game running)

Updated by Suma almost 4 years ago

  • Description updated (diff)
  • Status changed from In progress to Assigned
  • Assignee changed from Dwarden to Suma
  • % Done changed from 50 to 0

Updated by Suma almost 4 years ago

  • Description updated (diff)

Updated by benouyt almost 4 years ago

I did the repro.

So first i loaded the mission alone and play for 5 minutes, everything was fine, the player 2 connected, everything was still fine.
After that i stopped the game and go back to screen selection, wait the player 2, load again, and everything was still fine, we played for 40 minutes.

After that, i stopped the mission, and closed arma, launch it later, select the mission, and wait the player 2 connect on session, then load, the game crashed 50 seconds after it.

So the "thing" seem happen when the mission is loaded first time when player 2 connect before the mission is launched.

(I explain it maybe bit bad)

But, in both situation, the player 2 didnt have any unit saved with him and restarted in HQ.

I made a crashdump file, need to send it ? and .rpt and other files too ?

Updated by Suma almost 4 years ago

No, there is no need to test or send anything any more. I am able to reproduce the issue here, once I have the fix, I will let you know and you can test it then.

Updated by Suma almost 4 years ago

  • Status changed from Assigned to Resolved

Should be fixed in 84865

There was a conflict between IDs of players stored in the save and those connected before the save was loaded.

Updated by benouyt almost 4 years ago

Great!

So, it mean that the save will save for other player too ? and so there no file corrupted about the other player ?

EDIT: The save still dont work for the player 2, he start in HQ without his unit and cant buy any weapons seemingly.

Updated by kju almost 4 years ago

  • Target version changed from 1.10.80665 to 1.60 BETA

Updated by Sickboy almost 4 years ago

Please confirm fix, so we can close the ticket.

Updated by benouyt almost 4 years ago

I cant try it for now, i will can try it nextweek i think.

Updated by Suma almost 4 years ago

There was one more issue with scripting variables of type Object / Group not loading properly for clients connected before loading the save. This should be fixed in 85430 and could hopefully solve remaining issues with mission not crashing, but not working properly.

Updated by Suma almost 4 years ago

  • Status changed from Resolved to In progress
  • % Done changed from 0 to 10

The approach we have chosen for fixing is bad, causing too many issues (like #25461). We need to revert it and fix in a different way (coming later, probaby next week).

As a temporary workaround we revert the fix and do not allow any players to be connected while game is loaded, they will be kicked and need to connect again after loading using JIP. This is available in 85475

Updated by benouyt almost 4 years ago

Hey!

Nice to see that you continu work on it. I cant play with the other person i play (my bro) cause work and stuff, so dont have any way to try fix or anything for now. I just write for warn you then and dont let you without any answer.

Updated by Suma almost 4 years ago

  • Status changed from In progress to Resolved

Should be fixed properly now in 85595. Fix is both server and client side, clients using older builds should be disconnected.

Updated by kju almost 4 years ago

  • Target version changed from 1.60 BETA to Upcoming version

Updated by kju almost 4 years ago

  • Target version changed from Upcoming version to 1.60 BETA

Updated by Dwarden almost 4 years ago

  • Status changed from Resolved to Closed

closing as fixed...

Updated by kju over 3 years ago

  • Target version changed from 1.60 BETA to 1.60.87580

Also available in: Atom PDF