Skip to content

The game crashes when a GLA players surprise attack tunnel gets subdued while deploying and the player surrenders while it is still subdued #1274

@Mauller

Description

@Mauller

UPDATE: The tunnel network that is being subdued is still in it's deployment state, this is where the issue occurs. While it is still being subdued and the player surrenders is when the crash occurs. Fully deployed surprise tunnels do not crash the game while being subdued and the player surrenders.

So in this replay, around 32 minutes in, Rik's sneak attack tunnel in the top right of the map is being subdued by microwave tanks to disable the tunnel network.

When Rik surrenders, during player cleanup, the reallocating of teams on the tunnel network triggers the tunnel network to attempt to subdue the occupants again due to the microwave tanks. This results in a crash due to there being no associated tunnel container.

A windbg image showing the call stack

Image

I have not yet reproduced the crash as i think it will require muliti client being enabled so one player can perform a surrender.
I can't get the crash to trigger when running a local game at least with the ways i attempted to trigger it.

One way i did manage to let the replay finish was to check the size of the container within ActiveBody::attemptDamage before the call to ActiveBody::onSubdualChange

The replay

Legi Crash 01 Defcon 6 FFA - Air Force General.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facingCrashThis is a crash, very badCriticalSeverity: Minor < Major < Critical < BlockerGLAAffects GLA factionGenRelates to GeneralsZHRelates to Zero Hour

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions