Page 1 of 1

[1.1.91] SIGSEGV in main menu while game not focused

Posted: Wed Oct 04, 2023 11:17 am
by DoubleThought
I was alt-tabbed out at the time, so I'm not sure what was happening. It might be because I alt-tabbed out and my computer switched Factorio from the dedicated to integrated graphics cad. It might be because I have Factorio's main directory set to an external drive.

What I was doing:

I opened Factorio, with a modified version of the ResearchFog mod (adding a hidden optional dependency to change load order).

Then I created a new world to test that the load order change fixed the load order problem (Rail world preset, science multiplier x5, research queue always on)

After checking that the modification to the ResearchFog mod worked as intended, I exited the world without saving, returning me to the main menu.

I alt-tabbed to a different window.

At some point after this, while I was alt-tabbed, Factorio crashed.

I have modified version of ResearchFog as a zip file, as well as the factorio-current.log file relating to the crash.

Re: [1.1.91] SIGSEGV in main menu while game not focused

Posted: Wed Oct 04, 2023 1:09 pm
by DoubleThought
I've attached a sample save file with the same mod list and map settings, for convenience in syncing mods - sorry for not doing this earlier.

Re: [1.1.91] SIGSEGV in main menu while game not focused

Posted: Wed Oct 04, 2023 2:34 pm
by Rseding91
Thanks for the report. Looking at the crash log; it's crashing inside something that has added an overlay hook to the game using a dll called "graphics-hook64". From a quick search that seems to be OBS.

Since it's crashing outside of Factorio code there isn't anything we can do. You can try updating or disabling OBS's graphics hook for Factorio if the issue persists.

Re: [1.1.91] SIGSEGV in main menu while game not focused

Posted: Thu Oct 05, 2023 5:28 am
by DoubleThought
Ah, I see. I can confirm that I had OBS open at the time, hooked into Factorio. Thank you for your time