Author Topic: Keeps crashing!  (Read 4938 times)

Offline j0nx

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Keeps crashing!
« on: March 27, 2022, 08:36:33 pm »
I am playing openxcom with no mods enabled and I keep getting openxcom has crashed segmentation fault. How can I troubleshoot this so that I can continue with my game? Thanks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Keeps crashing!
« Reply #1 on: March 27, 2022, 09:16:51 pm »
You can upload the log file for us to analyze.

You can also upload a save file if the crash is reproducible.

Offline SIMON BAILIE

  • Commander
  • *****
  • Posts: 673
    • View Profile
Re: Keeps crashing!
« Reply #2 on: March 27, 2022, 09:27:06 pm »
I have a crash that keeps happening as it goes into the new month, don't know why.

Offline j0nx

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Keeps crashing!
« Reply #3 on: March 27, 2022, 09:40:01 pm »
What is name of logfile that you need? Thanks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Keeps crashing!
« Reply #4 on: March 27, 2022, 10:05:45 pm »
What is name of logfile that you need? Thanks.

openxcom.log

Offline j0nx

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Keeps crashing!
« Reply #5 on: April 01, 2022, 11:44:52 pm »
OK I uploaded the log and my saved game. Thank you for any help you can give because I am almost ready to go to mars.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Keeps crashing!
« Reply #6 on: April 02, 2022, 09:17:53 am »
The log wasn't too helpful unfortunately.

What steps should I do after loading the game to make it crash?

Offline j0nx

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Keeps crashing!
« Reply #7 on: April 03, 2022, 11:58:11 pm »
Once the game loads, you are in the geoscape. Fast forward 5 mins and it will pickup a ufo. If you intercept or cancel the ufo then within seconds it will crash after that. Thanks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Keeps crashing!
« Reply #8 on: April 04, 2022, 01:51:17 pm »
I tried several times, but it doesn't crash for me.

I suspect that it can be an issue with the original game data files, a missing or corrupted sound effect for example.
Do you have the original data files from a reliable source (e.g. Steam or gog.com) or from somewhere else?

Offline j0nx

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Keeps crashing!
« Reply #9 on: April 06, 2022, 12:17:47 am »
Yeah it is on steam. I reverified the files and it found some bad files and redownloaded them and then I reinstalled openxcom pulling from the xcom directory with the known good files but it still crashes. This worked really well for a few weeks until it started crashing. It even crashes for me on my laptop which I used to test it to make sure it wasn't my PC causing it.

Offline j0nx

  • Squaddie
  • *
  • Posts: 7
    • View Profile
Re: Keeps crashing!
« Reply #10 on: April 06, 2022, 12:36:41 am »
I think I may have found it. It's the allow psi strength improvement option. Whenever I enable it is when it crashes. I have all the psi options checked and the one that is crashing the game is that one.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Keeps crashing!
« Reply #11 on: April 06, 2022, 10:32:17 am »
That option can't cause a crash, at least not directly.
However it does use RNG, so when it is turned on you get different RNG on other things, which could cause a crash.

I still can't make it crash on my PC though.
Could you please configure the options again so that the game crashes; and then zip everything (including the game, the data, the config, the save, etc.) and upload it all here, so that I have files identical to yours?

Does the game crash exactly at midnight (game time)? Or at some other time?
« Last Edit: April 06, 2022, 10:37:27 am by Meridian »