OpenXcom Forum

OpenXcom Forks => OpenXcom Extended (OXCE) => OXCE Support => Topic started by: The Martian on December 21, 2021, 10:56:56 am

Title: [Solved] 'New Battle' 'Base Defense' is crashing in TFTD.
Post by: The Martian 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:
(https://openxcom.org/forum/index.php?action=dlattach;topic=10286.0;attach=55448)

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)
Title: Re: 'New Battle' 'Base Defense' is crashing in TFTD.
Post by: Meridian on December 21, 2021, 11:02:24 am
delete battle.cfg, or click on Randomize button
Title: Re: 'New Battle' 'Base Defense' is crashing in TFTD.
Post by: The Martian on December 21, 2021, 11:13:35 am
Thank you that fixed it.