vegastrike / Vega-Strike-Engine-Source

Vega Strike Engine
Other
256 stars 42 forks source link

After loading a saved game and then jumping, game crashes #855

Open stephengtuggy opened 5 months ago

stephengtuggy commented 5 months ago
          Okay, there is one bug that I have been running into with this code. When I load a saved game from the Main Menu, and then jump through a warp point, the game crashes within a minute or so after the jump. The crash occurs in `operator =` for `Mesh`. It's trying to copy the field values from a nonexistent `orig` instance (bad pointer in the calling code -- very low address value, close to zero).

We will need to take a look at this, but hopefully it can wait until another PR to be fixed.

Originally posted by @stephengtuggy in https://github.com/vegastrike/Vega-Strike-Engine-Source/issues/851#issuecomment-2091036462