aliens

Author Topic: Crash when saving and loading a TFTD Crashed plane map  (Read 2671 times)

Offline Jace11

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Crash when saving and loading a TFTD Crashed plane map
« on: February 20, 2017, 03:59:10 pm »
Lost my Ironman save to this :'( as it happens on battlescape in campaign, or new battle.

I can replicate crash (100%) and have reinstalled TFTD folder from steam, and set all mods / options in OpenXcom back to default and it still occurs.

To replicate, start openxcom TFTD, go to new battle, select mission: cruiser, terrain: crashed plane.

Once in battlescape, save and exit mission. Then load the save from menu to trigger a CTD.

OpenXcom has crashed: vector::_M_range_check: __n(which is 13) >= this->size() (which is 9).

log:::

[20-02-2017_13-51-30]   [INFO]   Data folder is:
[20-02-2017_13-51-30]   [INFO]   Data search is:
[20-02-2017_13-51-30]   [INFO]   - C:\Users\nix\Documents\OpenXcom\
[20-02-2017_13-51-30]   [INFO]   - D:\Program Files\OpenXCom
[20-02-2017_13-51-30]   [INFO]   - D:\Program Files\OpenXCom
[20-02-2017_13-51-30]   [INFO]   User folder is: C:\Users\nix\Documents\OpenXcom\
[20-02-2017_13-51-30]   [INFO]   Config folder is: C:\Users\nix\Documents\OpenXcom\
[20-02-2017_13-51-30]   [INFO]   Options loaded successfully.
[20-02-2017_13-51-30]   [INFO]   SDL initialized successfully.
[20-02-2017_13-51-30]   [INFO]   SDL_mixer initialized successfully.
[20-02-2017_13-51-30]   [INFO]   requested file not found: openxcom.png
[20-02-2017_13-51-30]   [INFO]   Attempting to set display to 640x400x8...
[20-02-2017_13-51-31]   [INFO]   Display set to 640x400x8.
[20-02-2017_13-51-31]   [INFO]   Loading data...
[20-02-2017_13-51-31]   [INFO]   Scanning standard mods in 'standard'...
[20-02-2017_13-51-31]   [INFO]   Scanning user mods in 'C:\Users\nix\Documents\OpenXcom\mods'...
[20-02-2017_13-51-31]   [INFO]   Mapping resource files...
[20-02-2017_13-51-31]   [INFO]   Resources files mapped successfully.
[20-02-2017_13-51-51]   [INFO]   Loading fonts... Font.dat
[20-02-2017_13-51-51]   [INFO]   Loading extra resources from ruleset...
[20-02-2017_13-51-51]   [INFO]   Data loaded successfully.
[20-02-2017_13-51-51]   [INFO]   Loading language...
[20-02-2017_13-51-51]   [INFO]   Language loaded successfully.
[20-02-2017_13-51-51]   [INFO]   OpenXcom started successfully!
[20-02-2017_13-51-51]   [INFO]   Playing flx, 320x200, 200 frames
[20-02-2017_13-51-51]   [INFO]   Using software scaling routine. For best results, try an OpenGL filter.
[20-02-2017_13-51-53]   [INFO]   SDL_mixer initialized successfully.
[20-02-2017_13-51-54]   [INFO]   SDL_mixer initialized successfully.
[20-02-2017_13-56-41]   [FATAL]   A fatal error has occurred: vector::_M_range_check: __n (which is 13) >= this->size() (which is 9)
[20-02-2017_13-58-03]   [FATAL]   OpenXcom has crashed: vector::_M_range_check: __n (which is 13) >= this->size() (which is 9)
Extra information has been saved to openxcom.log.
If this error was unexpected, please report it to the developers.

I read somewhere there is a problem with one of the map modules (wing) for this map set, could that be the issue??? Anyway, I guess I'll just have to remember not to save  and play it to completion next time.
« Last Edit: February 20, 2017, 04:09:14 pm by Jace11 »

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Crash when saving and loading a TFTD Crashed plane map
« Reply #1 on: February 20, 2017, 07:15:59 pm »
Fixed.

also, welcome. :)

if you still have the saved game, i can fix it easily enough.
« Last Edit: February 20, 2017, 07:26:39 pm by Warboy1982 »

Offline Jace11

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Re: Crash when saving and loading a TFTD Crashed plane map
« Reply #2 on: February 20, 2017, 11:32:38 pm »
Nice, that was quick! I've got the latest nightly and its fine now.  Deleted save, no matter - was only 1 or 2 missions in.

Thanks again.