aliens

Author Topic: [Solved] 'New Battle' 'Base Defense' is crashing in TFTD.  (Read 1805 times)

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
[Solved] 'New Battle' 'Base Defense' is crashing in TFTD.
« on: December 21, 2021, 10:56:56 am »
I've encountered a crash when using "New Battle" from the main menu while running TFTD.

If you selected "BASE DEFENSE" the game will crash when you press the 'ok' button to launch the mission:


I checked and "New Battle" "BASE DEFENSE" missions in the original X-COM: UFO Defense load without a problem, it is just the sequel that is having problems.

There were no mods loaded when the crash occured only base TFTD was running.


Here is the openxcom.log information:
Code: [Select]
[21-12-2021_01-13-30] [FATAL] A fatal error has occurred: Map generator encountered an error: no xcom units could be placed on the map.
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::CrossPlatform::stackTrace(void*)+0x36) [0x5584dfd34d36]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x477) [0x5584dfd358d7]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(exceptionLogger()+0x75) [0x5584dfb59e15]
[21-12-2021_01-13-30] [FATAL] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa38c) [0x7f9bf50e838c]
[21-12-2021_01-13-30] [FATAL] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa3f7) [0x7f9bf50e83f7]
[21-12-2021_01-13-30] [FATAL] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa6a9) [0x7f9bf50e86a9]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::BattlescapeGenerator::deployXCOM(OpenXcom::RuleStartingCondition const*, OpenXcom::RuleEnviroEffects const*)+0x11e8) [0x5584dfc69a28]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::BattlescapeGenerator::run()+0x292) [0x5584dfc7aaf2]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::NewBattleState::btnOkClick(OpenXcom::Action*)+0x21f) [0x5584dfeea76f]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::InteractiveSurface::handle(OpenXcom::Action*, OpenXcom::State*)+0x15a) [0x5584dfd5932a]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::State::handle(OpenXcom::Action*)+0x73) [0x5584dfe2cc73]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(OpenXcom::Game::run()+0x2e3) [0x5584dfd55343]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(main+0x175) [0x5584dfb37915]
[21-12-2021_01-13-30] [FATAL] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f9bf4d090b3]
[21-12-2021_01-13-30] [FATAL] ./OpenXcomEx(_start+0x2a) [0x5584dfb3e59a]
[21-12-2021_01-13-45] [FATAL] OpenXcom has crashed: Map generator encountered an error: no xcom units could be placed on the map.
Log file: ./user/openxcom.log
If this error was unexpected, please report it on OpenXcom forum or discord.
The following can help us solve the problem:
1. a saved game from just before the crash (helps 98%)
2. a detailed description how to reproduce the crash (helps 80%)
3. a log file (helps 10%)
4. a screenshot of this error message (helps 5%)


I'm running the linux version of OXCE V7.1.4 (v2021-10-24)
« Last Edit: February 12, 2023, 12:07:53 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9089
    • View Profile
Re: 'New Battle' 'Base Defense' is crashing in TFTD.
« Reply #1 on: December 21, 2021, 11:02:24 am »
delete battle.cfg, or click on Randomize button

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: 'New Battle' 'Base Defense' is crashing in TFTD.
« Reply #2 on: December 21, 2021, 11:13:35 am »
Thank you that fixed it.