[posila][16.0] Crash without getting to splash screen

This subforum contains all the issues which we already resolved.
SwellSven
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Dec 13, 2017 6:42 pm
Contact:

[posila][16.0] Crash without getting to splash screen

Post by SwellSven »

When launching 0.16 from steam game crashes without even showing the factorio window.

Tried the following:
Both betas of 0.16 and 0.16x
uninstall, restart, reinstall, restart.
delete crop-cache.dat as seen in other posts.

Switching back to 0.15x works and launches game just fine. Attached log, although I am not sure how far it is actually getting.
Attachments
factorio-current.log
(3.28 KiB) Downloaded 79 times
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by posila »

Hi, thanks for the report.
The log you posted is from 0.15.40, and since even window doesn't show up, I'll assume the game crashes even before log is created. Is there factorio-crash-current.dmp or factorio-crash-previous.dmp next to the log file?

If not, could you could you download this Procdump.zip
Unzip it, run dump_on_exception.bat, confirm Microsoft's EULA and then launch Factorio. It should create Factorio.exe_######_######.dmp. If it doesn't, try to run dump_on_terminate.bat instead. Zip the dmp file and upload it here, please.

Procdump.zip contains ProcDump from Microsoft Sysinternals (https://technet.microsoft.com/en-us/sys ... 96900.aspx) and bat files to run procdump with parameters that make it create memory dump when Factorio.exe crashes or terminates.
Hubaticus
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Dec 13, 2017 7:24 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by Hubaticus »

I have the same problem on Mac (OSX).
0.15.x still works fine.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by posila »

MacOSX issue is most likely this: 54549
SwellSven
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Dec 13, 2017 6:42 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by SwellSven »

There were no dumps originally to answer that question.

Ran the dump on exception and it didnt do anything. Ran the dump on terminate and it created the attached dump file.
Attachments
factorio.exe_171213_143323.dmp
(5.48 MiB) Downloaded 67 times
SwellSven
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Dec 13, 2017 6:42 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by SwellSven »

For the sake of clarity, version 16.1 does the same. Never see Factorio window
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by posila »

Thank you. Unfortunally I haven't been able to find a cause of the issue from the dump.
The fact it didn't create dump on exception is interesting. Do you launch the game by pressing play button in Steam Library, or by opening Factorio.exe directly or through shortcut on desktop?
Could you try to restart Steam or reboot your computer?
SwellSven
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Dec 13, 2017 6:42 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by SwellSven »

Until now I have been launching through steam. I tried launching directly from factorio.exe with no change. I have restarted computer and steam several times including booting up fresh this am (for me in the states).

I ran again with 16.1 in case that would change anything. The exception batch still doesnt create a dump file, but I could see the console window scrolling for a second before it shuts down itself without dumping, so I did what I could and tried to screenshot that window in the fractional second between pushinig PLAY in steam or double clicking .exe file and the console shutting down. Attached is what it displays on the screen before shutting the console down. I did this many times and this is the best I could get. Also attached is another dump from running the on terminate batch just in case 0.16.1 did anything there.
Attachments
exception.png
exception.png (37.12 KiB) Viewed 2098 times
factorio.exe_171214_060046.dmp
(1.4 MiB) Downloaded 71 times
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by posila »

Ah, thank you.
It looks like there is access vialotaion exception that is caught by our crash handler and it creates minidump. So that is why "dump on exception" doesn't generate anything.
And I forgot the game will create the minidump in "My Documents" folder if it crashes before config.ini is loaded. Can you search your Documents folder for factorio-crash-current.dmp, please?
SwellSven
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Dec 13, 2017 6:42 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by SwellSven »

Here you go mate.
Attachments
factorio-crash-current.dmp
(256.11 KiB) Downloaded 59 times
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by posila »

Thanks again.
It crashes in Steam API intialization. We updated Steam SDK in 0.16 and I think you Steam client is outdated and incompatibile with the new SDK (the SDK is from July 2017). Could you try to update or reinstall your Steam client?
SwellSven
Burner Inserter
Burner Inserter
Posts: 6
Joined: Wed Dec 13, 2017 6:42 pm
Contact:

Re: [posila][16.0] Crash without getting to splash screen

Post by SwellSven »

Steam refused to update properly (kept getting "failed to update, reverting" message). So I put down the scalpel and got out the grenades. Uninstall, restart install, update, force a few issues and it got steam client updated. Now it launches and gets to the main menu. Thank you for the help, Best game dev and support team around. +1 for Posila
Post Reply

Return to “Resolved Problems and Bugs”