Page 1 of 1

[15.37] Crash when i try to start the game

Posted: Wed Oct 25, 2017 8:02 pm
by Bame
Every time i try to launch the game from steam "Factorio.exe stopped working" shows up.
I've tried unistalling it, removing my mods and turning off the antivirus but nothing worked.
log

Re: [15.37] Crash when i try to start the game

Posted: Wed Oct 25, 2017 9:26 pm
by Loewchen
Your machine does not meet the minimal requirements to run this game, the log file is 4 days old and does not show a crash but shows you playing for over 3 hours before closing the game.
Upload a log file with crash for further help, do NOT post it as comment, upload the complete file instead.

Re: [15.37] Crash when i try to start the game

Posted: Wed Oct 25, 2017 9:32 pm
by posila
Bame wrote:Every time i try to launch the game from steam "Factorio.exe stopped working" shows up.
That means the game crashes even before it manages to install its crash handler, which is extremly soon.

Could you please download procdump.zip and follow instructions I posted here: viewtopic.php?t=51375#p299745 to get crash dump at the moment of crash and post it here?

Re: [15.37] Crash when i try to start the game

Posted: Thu Oct 26, 2017 12:03 am
by Bame
Loewchen wrote:Your machine does not meet the minimal requirements to run this game
I've been playing this game for months, there's no way that's the case. Also the game opens just fine in my much worse laptop.

Re: [15.37] Crash when i try to start the game

Posted: Thu Oct 26, 2017 12:23 am
by Loewchen
Bame wrote:I've been playing this game for months, there's no way that's the case. Also the game opens just fine in my much worse laptop.
That is just a statement of facts, the machine producing your log does not meet the minimum requirements. It does not mean your problem has to originate from it.
For help follow posilas request.

Re: [15.37] Crash when i try to start the game

Posted: Thu Oct 26, 2017 12:28 am
by Bame
posila wrote:
Bame wrote:Every time i try to launch the game from steam "Factorio.exe stopped working" shows up.
That means the game crashes even before it manages to install its crash handler, which is extremly soon.

Could you please download procdump.zip and follow instructions I posted here: viewtopic.php?t=51375#p299745 to get crash dump at the moment of crash and post it here?
Here it is

https://www.dropbox.com/s/py5y8rweeylcx ... mp?dl=0&m=

Re: [15.37] Crash when i try to start the game

Posted: Thu Oct 26, 2017 8:39 am
by posila
Thanks for the crash dump.

Factorio is trying to load steam_api64.dll at path C:\Windows\steam_api64.dll, instead of version that is distributed with the game. This DLL version mismatch is what causes it to crash. There shouldn't be steam_api64.dll in your Windows folder.
Also the executable was launched from path C:\Users\<your_username>\AppData\Local\Temp\Rar$EX29.924\factorio.exe and not from Steam Library.

Re: [15.37] Crash when i try to start the game

Posted: Thu Oct 26, 2017 4:54 pm
by Bame
I erased steam_api64.dll from the Windows folder, but the game still doesn't work.
Here's a new crash dump if it helps, now executed from the library.

https://www.dropbox.com/s/4dg8rgtmaevr7 ... mp?dl=0&m=

Re: [15.37] Crash when i try to start the game

Posted: Thu Oct 26, 2017 8:25 pm
by posila
Bame wrote:I erased steam_api64.dll from the Windows folder, but the game still doesn't work.
Here's a new crash dump if it helps, now executed from the library.

https://www.dropbox.com/s/4dg8rgtmaevr7 ... mp?dl=0&m=
Thanks. The crash seems to be the same, but steam_api64.dll version is now correct, so I was wrong about it causing crash. (I tried to put wrong version into my Factorio folder in Steam and Factorio didn't launch - but it didn't crash either, so I considered it as proof it could possibly crash because of the wrong version of the DLL)
I don't see anything obviously wrong in the new crash dump (besides the crash itself - which is in exe initialization, before any of our code starts executing). I'll investigate more tomorrow. Can you try to disable Steam Overlay and run the game?

Re: [15.37] Crash when i try to start the game

Posted: Thu Oct 26, 2017 9:36 pm
by Bame
posila wrote:Can you try to disable Steam Overlay and run the game?
Tried, still doesn't work

Re: [15.37] Crash when i try to start the game

Posted: Fri Oct 27, 2017 7:56 pm
by Bame
So i tried reinstalling again and now the game doesn't run, but doesn't crash either( like posila just said)
That's good i guess

Re: [15.37] Crash when i try to start the game

Posted: Fri Oct 27, 2017 8:19 pm
by posila
Bame wrote:So i tried reinstalling again and now the game doesn't run, but doesn't crash either( like posila just said)
That's good i guess
Not really :/, because I broke it on my computer by replacing the DLL and fixed it by putting correct version back. But in the last crash dump you posted, the correct DLL was loaded :(
Have you installed something between last time it worked and the time you found out it is crashing?
Also silly question - have you tried to reboot your computer?

Re: [15.37] Crash when i try to start the game

Posted: Sat Oct 28, 2017 1:14 pm
by Bame
So reinstalling Steam fixed the problem. No idea why, but it did.

Thank you so much for your help, now i can get addicted again :D

Re: [15.37] Crash when i try to start the game

Posted: Sat Oct 28, 2017 1:21 pm
by posila
Bame wrote:So reinstalling Steam fixed the problem. No idea why, but it did.
That's great news. I am happy you managed to fix it ... enjoy the game :)