Author Topic: [SOLVED!] Game crashes at reaching June 1st 1999 (game time)  (Read 4942 times)

Offline ThunderFromAbove

  • Sergeant
  • **
  • Posts: 19
    • View Profile
[SOLVED!] Game crashes at reaching June 1st 1999 (game time)
« on: November 28, 2018, 06:55:17 pm »
Hi folks,

hopefully there`s someone who can help me with my problem, that suddenly has arisen. Please forgive me, if this is the wrong forum...

So far the game ran quite smoothly. But at the turning of May 31st to June 1st it crashes again and again. The error message reads as follows:

"OpenXcom has crashed. Segmentation fault. This usually indicates something missing in a mod. More details here: E:\OpenXcom\user\openxcom.log
If this error was unexpected, please report it to the developers"


Well... Yes, it was "unexpected" - and also quite annoying. I attach the log file (to me the content of the file doesn`t mean anything).

I even tried to completely reinstall the game (using the newest availlable nightly 2018_11_22_0509.zip). Unfortunately it didn`t cure the problem: After loading the latest savegame and progress towards the turning of month May: The game still crashes.  :(

Any idea what I can do? I`d hate to start a new game, because I´ve already invested a lot of time to bring my troops to the present level of experience. Do you need any more information to narrow down the problem? But please be "patient", as I´m not very versed with the technical side of computers.... I`m always extremely happy, if everthing runs smoothly without any need of manual interference from me... (shame on me...!)   :-[

Thanks a lot in advance for any useful advice!
Kind regards
Thunder
« Last Edit: November 30, 2018, 03:35:54 pm by ThunderFromAbove »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9087
    • View Profile
Re: Game crashes at reaching Juni 1st 1999 (game time)
« Reply #1 on: November 28, 2018, 06:56:52 pm »
Hi,

attach your save, it will help more.

Also looks like whatever mods you're using, they are not loading correctly...

M.
« Last Edit: November 28, 2018, 06:58:41 pm by Meridian »

Offline ThunderFromAbove

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: Game crashes at reaching Juni 1st 1999 (game time)
« Reply #2 on: November 28, 2018, 07:14:03 pm »
Hi,

thanks for your quick reply! Yes, I was aware about the "error" references in the log file, because I tried to reinstall the game this time without any mods - as I hoped to avoid the problems this way, but which did not help at all...  :'(  Now I copied all the previously installed mods again into the "user" folder. But the crash still occures.

Attached now the "new" openxcom(2).log (showing the "result" after re-installing the previous mods) and the requested save game.

Kind regards
Thunder

Offline ThunderFromAbove

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: Game crashes at reaching June 1st 1999 (game time)
« Reply #3 on: November 28, 2018, 07:41:44 pm »
Addition:
I don`t know, if it helps, but just in case it gives additional clues, here is also an attachment of the "options.cfg" file

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Game crashes at reaching June 1st 1999 (game time)
« Reply #4 on: November 30, 2018, 02:21:43 am »
Were you playing around with mods? Your save data is missing the Pacific region, thus the crash. I assume you only enabled the Terrain Pack later in the game.
I've tried to patch up the missing stuff, but no guarantees. In the future, don't change major mods in the middle of a game.

Offline ThunderFromAbove

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: Game crashes at reaching June 1st 1999 (game time)
« Reply #5 on: November 30, 2018, 03:35:06 pm »
Dear SupSuper,

THANKS!!!!

Your patch worked like a miracle! That was - as your nickname suggested - absolutely SUPER;D ;D ;D

You´re right: I turned some of the mods on or off quite frequently during gameplay. But so far I did not notice any problems with this. Until now....  :-[  I especially quite often turn on or off "new UFO types", "YetMoreUFOs 0.6" and "Solars New Ufos" because after shooting down a UFO it happens relatively often with those mods enabled, that at least one of the powersources is still intact and I can capture the Elerium.

And the reason for disable the Terrain Pack is, that saving and loading during a battle is quite slow with it enabled...

I`m sorry to have caused any inconvenience because of my (unintentional...!) foolishness!

Thanks again for your help und kind regards
Thunder
« Last Edit: November 30, 2018, 03:46:08 pm by ThunderFromAbove »

Offline GeneTheBean

  • Squaddie
  • *
  • Posts: 6
    • View Profile
Re: [SOLVED!] Game crashes at reaching June 1st 1999 (game time)
« Reply #6 on: January 25, 2020, 10:28:03 pm »
Ha, I fell into the exact same trap.

I didn't want anything that changed the game's mechanics. So I installed only what I thought were basic mods. Extra explosions, vanilla UFO variants, expanded Ubase reworked, terrain pack. I thought I was mostly just getting more variety in Battlescape layouts. But that last one put an Antarctica base into ocean water, and bugged the bases' location string in the base screen. I thought oh well, whatever, but eventually UFOs sometimes crashed the game with segmentation fault when they got shot down. And then the game would crash upon reaching June 1, also with segmentation fault like OP.

Interestingly, stripping all mods EXCEPT the terrain pack and/or dismantling the Antarctica base also crashed the game, but with a better message: "Error processing mission script named: recon, region named: STR_PACIFIC is not defined".

Stripping the terrain pack as well lets the game continue between months but crashes at random but replicable points such as seconds after June 7 23:02 with yet another error message:

Code: [Select]
[25-01-2020_15-01-10] [FATAL] A fatal error has occurred: vector::_M_range_check: __n (which is 3) >= this->size() (which is 2)
[25-01-2020_15-01-11] [FATAL] 0x645ab0 OpenXcom::CrossPlatform::stackTrace(void*)
[25-01-2020_15-01-11] [FATAL] 0x649380 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[25-01-2020_15-01-11] [FATAL] 0x401580 exceptionLogger()
[25-01-2020_15-01-11] [FATAL] 0xa38dd8 MPEGaction::MPEGaction()
[25-01-2020_15-01-11] [FATAL] 0x7ee360 OpenXcom::AlienMission::getWaypoint(OpenXcom::UfoTrajectory const&, unsigned int, OpenXcom::Globe const&, OpenXcom::RuleRegion const&)
[25-01-2020_15-01-11] [FATAL] 0x7f3930 OpenXcom::AlienMission::ufoReachedWaypoint(OpenXcom::Ufo&, OpenXcom::Game&, OpenXcom::Globe const&)
[25-01-2020_15-01-11] [FATAL] 0x43f0d0 OpenXcom::GeoscapeState::time5Seconds()
[25-01-2020_15-01-11] [FATAL] 0x452080 OpenXcom::GeoscapeState::timeAdvance()
[25-01-2020_15-01-11] [FATAL] 0x642d30 OpenXcom::Timer::think(OpenXcom::State*, OpenXcom::Surface*)
[25-01-2020_15-01-11] [FATAL] 0x452cb0 OpenXcom::GeoscapeState::think()
[25-01-2020_15-01-11] [FATAL] 0x64c3d0 OpenXcom::Game::run()
[25-01-2020_15-01-11] [FATAL] 0x401820 SDL_main
[25-01-2020_15-01-11] [FATAL] 0x87df00 console_main
[25-01-2020_15-01-11] [FATAL] ??
[25-01-2020_15-01-11] [FATAL] 0x767b0400 BaseThreadInitThunk
[25-01-2020_15-01-11] [FATAL] 0x77126540 RtlGetAppContainerNamedObjectPath
[25-01-2020_15-01-11] [FATAL] 0x77126540 RtlGetAppContainerNamedObjectPath

So as it happens I can keep the game running by turning the mod on at some points and off at some other points, in time. Not that I care about this save file, I was gonna start another game anyway. But yah, lesson learned. Don't underestimate a mod's ability to conflict with the base game or other mods!