Phobos-developers / Phobos

Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
GNU Lesser General Public License v3.0
297 stars 96 forks source link

[Vanilla Bug] Destroying bugged dock crashes the game #295

Open ghost opened 3 years ago

ghost commented 3 years ago

Description:

Teams with more than 4 aircrafts get bugged (jumping up on the dock). If the dock is destroyed, the game crashes. Sometimes aircrafts simply land on terrain, even if the dock is no longer there.

Conditions:

This issue happens more often when there are lots of scripts involving aircrafts.

Steps To Reproduce:

  1. Make an AIMD.INI with aircraft teams only and a RULESMD.INI with a few cloned GAAIRC buildings.
  2. Wait until AI bugs the teams.
  3. Destroy the dock with bugged aircrafts to crash the game.

Expected Behaviour:

No crash and hopefully no jumping aircrafts.

Additional Files / Links:

syringe.log

ghost commented 3 years ago

Please fix crashes before adding new features. I see lots of bogus new things going on while important issues remain untouched. We need a stable game before expanding further. No matter how many things you add, if the game crashes in the middle it's all useless, I hope you understand this.

secsome commented 3 years ago

Can you provide a compressed dmp file with the except log together so we can find out what's going on easier?

ghost commented 3 years ago

There's no dmp file for this error and except.txt is 0 bytes, game just hard crashes back to desktop. Not sure how this is possible for the exception mechanism done by syringe but it is what it is. You can try the steps to reproduce above, it also happens for AIBuildCounts instead of old school cloning. Anyway I've given up on having large aircraft fleets so I don't get this bug now, but I hope you can fix this someday...