Page 1 of 2

[0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 21, 2015 1:13 pm
by fregate84
Hello,

I wanted to report this bug long time ago but a forgot.
On each upgrade (auto upgrade) from version x to y, the game 'crash'. In fact, the upgrade is ok, all is ok, but windows said that 'factorio stop working fine'. It's when the upgrade is finish and the game reload itself.
I think the way you choose to close/quit factorio is not the good way for windows.
Image
I'm on windows 7.

detail (in french) there :
Signature du problème :
Nom d’événement de problème: APPCRASH
Nom de l’application: Factorio.exe
Version de l’application: 0.0.0.0
Horodatage de l’application: 54b8f37d
Nom du module par défaut: Factorio.exe
Version du module par défaut: 0.0.0.0
Horodateur du module par défaut: 54b8f37d
Code de l’exception: c0000005
Décalage de l’exception: 0000000000227345
Version du système: 6.1.7601.2.1.0.256.48
Identificateur de paramètres régionaux: 1036
Information supplémentaire n° 1: 7d49
Information supplémentaire n° 2: 7d49d6cae209963f3e0bbd5d96bee702
Information supplémentaire n° 3: 8eb7
Information supplémentaire n° 4: 8eb7dbc6f2fdf8589da20a18c2dab9d1

Lire notre déclaration de confidentialité en ligne :
http://go.microsoft.com/fwlink/?linkid= ... cid=0x040c

Si la déclaration de confidentialité en ligne n’est pas disponible, lisez la version hors connexion :
C:\Windows\system32\fr-FR\erofflps.txt

Re: [0.10.12 -> 0.10.13] Automatic Update Crash

Posted: Wed Jan 21, 2015 6:41 pm
by Tolos
I've actually noticed this as well when auto updating my games.

I don't have a crash report handy, however I've noticed that the game seems to open 2 of itself after you hit the update button.

Upon downloading it'll crash one of the windows and allow the other one to run. Next time I run an update I'll try and supply my information into this thread.

Re: [0.10.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 21, 2015 6:47 pm
by FishSandwich
Edited title, because there is no 0.10.13 I assume you meant 0.11.13

Re: [0.10.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 21, 2015 8:52 pm
by Tolos
To update with my crash information. This crash has happened (like the title) at least since version 10, if not before, and ever since.

Image

The crash data:

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	Factorio.exe
  Application Version:	0.0.0.0
  Application Timestamp:	54abf77d
  Fault Module Name:	Factorio.exe
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	54abf77d
  Exception Code:	c0000005
  Exception Offset:	0000000000226cc5
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1033
  Additional Information 1:	7d49
  Additional Information 2:	7d49d6cae209963f3e0bbd5d96bee702
  Additional Information 3:	bd27
  Additional Information 4:	bd2752ef97d4eb0e7da9f902ab767d58
Followed by:

Image

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Sun Jan 25, 2015 2:03 pm
by fregate84
FishSandwich wrote:Edited title, because there is no 0.10.13 I assume you meant 0.11.13
yes

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 4:37 pm
by kovarex
Does your user account contain any special characters? There were several problems with unicode paths that I just solved for 0.11.14 and I believe it might be related.

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 4:57 pm
by rorror
kovarex wrote:Does your user account contain any special characters? There were several problems with unicode paths that I just solved for 0.11.14 and I believe it might be related.
when i see this:
Lire notre déclaration de confidentialité en ligne :

i bet he has special characters in it, because of his language.

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:03 pm
by kovarex
Yes, that is probable, so I'm moving this to resolved for the next release.

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:05 pm
by FishSandwich
kovarex wrote:Does your user account contain any special characters? There were several problems with unicode paths that I just solved for 0.11.14 and I believe it might be related.
I've also been having this problem since update 0.10.12 > 0.11

The update goes fine, everything works perfectly afterwards which is why I never bothered to report it.

Posting now just to confirm it isn't related to special characters.

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:09 pm
by kovarex
Ok, and what about your UAC (User account control settings) ?

I tried with full UAC and it still worked for me, I'm unable to reproduce it ...

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:14 pm
by FishSandwich
UAC is disabled.

Would a crash log help, if it generates one?

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:15 pm
by kovarex
It is worth a try for sure.

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:36 pm
by FishSandwich
Here it is, not seeing anything out of the ordinary though. :/

Code: Select all

0669.707737  Info Logger.cpp:149: 2015-01-28 17:29:21; Factorio 0.11.12 (Build 13123, win64)
0669.707783  Info Logger.cpp:153: Operating system: Windows 7 Service Pack 1
0669.707802  Info Paths.cpp:202: Read data path: C
0669.707817  Info Paths.cpp:203: Write data path: C
0669.707830  Info Paths.cpp:204: Binaries path: C
0669.874809  Info ModManager.cpp:204: Loading mod core 0.0.0 (data.lua)
0669.886613  Info ModManager.cpp:204: Loading mod base 0.11.12 (data.lua)
0670.075057  Info ModManager.cpp:204: Loading mod base 0.11.12 (data-updates.lua)
0670.584688  Info AtlasSystem.cpp:152: Initial atlas bitmap size is 16384
0670.586556  Info AtlasSystem.cpp:91: Created atlas bitmap 16384x6554
0678.937137  Info Updater.cpp:716: Downloading https://www.factorio.com/updater/get-available-versions?username=FishSandwich&token=<private>&apiVersion=2
0679.523934  Notice Updater.cpp:147: 1 packages available to download (experimental updates enabled).
0680.873786  Info Updater.cpp:716: Downloading https://www.factorio.com/updater/get-download-link?username=FishSandwich&token=<private>&package=core-win64&from=0.11.12&to=0.11.13&isTarget=true&apiVersion=2
0681.387992  Info Updater.cpp:198: Downloading https://updates-factorio-com.s3.amazonaws.com/core-win64-0.11.12-0.11.13-update.zip?Expires=1422466193&AWSAccessKeyId=AKIAJDOJU3RLQYEZDRBA&Signature=ApjwmrU%2F%2BpiZntFBXeGr6kE4wag%3D to C:/Factorio_0.11.12.13123\temp\core-win64-0.11.12-0.11.13-update.zip
0689.039176  Info Updater.cpp:209:  => 200
0689.662995  Info Logger.cpp:149: 2015-01-28 17:29:41; Factorio 0.11.12 (Build 13123, win64)
0689.663041  Info Logger.cpp:153: Operating system: Windows 7 Service Pack 1
0689.663117  Info Updater-win32.cpp:120: Waiting for parent process to close (pid 4948)
0690.201571  Info GlobalContext.cpp:471: Goodbye
0690.258886  Info Updater-win32.cpp:123: Starting updater
0690.258982  Info Updater.cpp:355: Applying update C:/Factorio_0.11.12.13123/temp/core-win64-0.11.12-0.11.13-update.zip
0690.408585  Info Updater-win32.cpp:134: Starting updated game
0690.888306  Info Logger.cpp:149: 2015-01-28 17:29:42; Factorio 0.11.13 (Build 13133, win64)
0690.888336  Info Logger.cpp:153: Operating system: Windows 7 Service Pack 1
0690.888346  Info Paths.cpp:202: Read data path: C
0690.888354  Info Paths.cpp:203: Write data path: C
0690.888362  Info Paths.cpp:204: Binaries path: C
0691.108196  Info ModManager.cpp:204: Loading mod core 0.0.0 (data.lua)
0691.119922  Info ModManager.cpp:204: Loading mod base 0.11.13 (data.lua)
0691.305604  Info ModManager.cpp:204: Loading mod base 0.11.13 (data-updates.lua)
0699.446648  Info AtlasSystem.cpp:152: Initial atlas bitmap size is 16384
0699.448736  Info AtlasSystem.cpp:91: Created atlas bitmap 16384x6541
0708.250846  Info Updater.cpp:716: Downloading https://www.factorio.com/updater/get-available-versions?username=FishSandwich&token=<private>&apiVersion=2
0708.785006  Notice Updater.cpp:147: 0 packages available to download (experimental updates enabled).
0711.771680  Info GlobalContext.cpp:471: Goodbye

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:38 pm
by kovarex
Did you get any message, or just crash?

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:43 pm
by FishSandwich
The updated version of Factorio will run normally after the update, but I get the standard "Factorio has stopped working" same as OP.

Clicking "close this program" doesn't close the updated version, that one loads into the game as normal.


Problem details, if they're of any help.

Code: Select all

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	Factorio.exe
  Application Version:	0.0.0.0
  Application Timestamp:	54b8f37d
  Fault Module Name:	Factorio.exe
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	54b8f37d
  Exception Code:	c0000005
  Exception Offset:	0000000000227345
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	2057
  Additional Information 1:	7d49
  Additional Information 2:	7d49d6cae209963f3e0bbd5d96bee702
  Additional Information 3:	8eb7
  Additional Information 4:	8eb7dbc6f2fdf8589da20a18c2dab9d1

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 5:53 pm
by Tolos
Correct, I don't have any special characters in my login either. I've also never used UAC so it's always disabled.

The only thing I can see that is out of the ordinary is the fact that it tries to open a second copy of Factorio as soon as the update is complete.

It basically errors out the second window and the first window is able to run normally. The only indication of issues are the previously posted errors and screens I've supplied. :?

Otherwise the update works and everything is great.

If you'd like more info from me as well, just let me know what I can supply.

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 6:21 pm
by fregate84
kovarex wrote:Does your user account contain any special characters? There were several problems with unicode paths that I just solved for 0.11.14 and I believe it might be related.
no. my login are : fregate84 so only ASCII :-)

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 6:23 pm
by fregate84
kovarex wrote:Ok, and what about your UAC (User account control settings) ?

I tried with full UAC and it still worked for me, I'm unable to reproduce it ...
UAC is disable :-) I'm on seven professional. and I'm admin on the computer.
My antivirus is Avira... Trying to find something common to 3 cases...

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Wed Jan 28, 2015 6:43 pm
by fregate84
complete log fond on windows (on C:\Users\Xavier\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Factorio.exe_d9adac373404eb6d4c6f6b2ec7d132335547e16_166f6436):

Code: Select all

Version=1
EventType=APPCRASH
EventTime=130663189218742839
ReportType=2
Consent=1
ReportIdentifier=b0373516-a16d-11e4-96ff-f46d0411e18e
IntegratorReportIdentifier=b0373515-a16d-11e4-96ff-f46d0411e18e
Response.type=4
Sig[0].Name=Nom de l’application
Sig[0].Value=Factorio.exe
Sig[1].Name=Version de l’application
Sig[1].Value=0.0.0.0
Sig[2].Name=Horodatage de l’application
Sig[2].Value=54b8f37d
Sig[3].Name=Nom du module par défaut
Sig[3].Value=Factorio.exe
Sig[4].Name=Version du module par défaut
Sig[4].Value=0.0.0.0
Sig[5].Name=Horodateur du module par défaut
Sig[5].Value=54b8f37d
Sig[6].Name=Code de l’exception
Sig[6].Value=c0000005
Sig[7].Name=Décalage de l’exception
Sig[7].Value=0000000000227345
DynamicSig[1].Name=Version du système
DynamicSig[1].Value=6.1.7601.2.1.0.256.48
DynamicSig[2].Name=Identificateur de paramètres régionaux
DynamicSig[2].Value=1036
DynamicSig[22].Name=Information supplémentaire n° 1
DynamicSig[22].Value=7d49
DynamicSig[23].Name=Information supplémentaire n° 2
DynamicSig[23].Value=7d49d6cae209963f3e0bbd5d96bee702
DynamicSig[24].Name=Information supplémentaire n° 3
DynamicSig[24].Value=8eb7
DynamicSig[25].Name=Information supplémentaire n° 4
DynamicSig[25].Value=8eb7dbc6f2fdf8589da20a18c2dab9d1
UI[2]=D:\Dropbox\Dropbox\Jeux\Factorio\temp\Factorio.exe
UI[3]=Factorio.exe a cessé de fonctionner
UI[4]=Windows peut rechercher une solution au problème en ligne.
UI[5]=Rechercher une solution en ligne et fermer le programme
UI[6]=Rechercher ultérieurement une solution en ligne et fermer le programme
UI[7]=Fermer le programme
LoadedModule[0]=D:\Dropbox\Dropbox\Jeux\Factorio\temp\Factorio.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\system32\kernel32.dll
LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[4]=C:\Windows\system32\WS2_32.dll
LoadedModule[5]=C:\Windows\system32\msvcrt.dll
LoadedModule[6]=C:\Windows\system32\RPCRT4.dll
LoadedModule[7]=C:\Windows\system32\NSI.dll
LoadedModule[8]=C:\Windows\system32\WLDAP32.dll
LoadedModule[9]=C:\Windows\system32\USER32.dll
LoadedModule[10]=C:\Windows\system32\GDI32.dll
LoadedModule[11]=C:\Windows\system32\LPK.dll
LoadedModule[12]=C:\Windows\system32\USP10.dll
LoadedModule[13]=C:\Windows\system32\ole32.dll
LoadedModule[14]=C:\Windows\system32\WINMM.dll
LoadedModule[15]=C:\Windows\system32\PSAPI.DLL
LoadedModule[16]=C:\Windows\system32\OPENGL32.dll
LoadedModule[17]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[18]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[19]=C:\Windows\system32\GLU32.dll
LoadedModule[20]=C:\Windows\system32\DDRAW.dll
LoadedModule[21]=C:\Windows\system32\DCIMAN32.dll
LoadedModule[22]=C:\Windows\system32\SETUPAPI.dll
LoadedModule[23]=C:\Windows\system32\CFGMGR32.dll
LoadedModule[24]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[25]=C:\Windows\system32\DEVOBJ.dll
LoadedModule[26]=C:\Windows\system32\dwmapi.dll
LoadedModule[27]=C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_2b283fd671e9bf4d\gdiplus.dll
LoadedModule[28]=C:\Windows\system32\SHELL32.dll
LoadedModule[29]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[30]=C:\Windows\system32\IMM32.DLL
LoadedModule[31]=C:\Windows\system32\MSCTF.dll
LoadedModule[32]=C:\Windows\system32\CRYPTBASE.dll
LoadedModule[33]=C:\Windows\system32\uxtheme.dll
LoadedModule[34]=C:\Windows\system32\PROPSYS.dll
LoadedModule[35]=C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\comctl32.dll
LoadedModule[36]=C:\Windows\system32\CLBCatQ.DLL
LoadedModule[37]=C:\Windows\system32\ntmarta.dll
LoadedModule[38]=C:\Windows\system32\profapi.dll
LoadedModule[39]=C:\Windows\system32\api-ms-win-downlevel-shlwapi-l1-1-0.dll
LoadedModule[40]=C:\Windows\system32\api-ms-win-downlevel-advapi32-l1-1-0.dll
LoadedModule[41]=C:\Windows\system32\Secur32.dll
LoadedModule[42]=C:\Windows\system32\SSPICLI.DLL
LoadedModule[43]=C:\Windows\system32\api-ms-win-downlevel-advapi32-l2-1-0.dll
LoadedModule[44]=C:\Windows\system32\apphelp.dll
FriendlyEventName=Fonctionnement arrêté
ConsentKey=APPCRASH
AppName=Factorio.exe
AppPath=D:\Dropbox\Dropbox\Jeux\Factorio\temp\Factorio.exe
and

Code: Select all

Sig[6].Name=Code de l’exception
Sig[6].Value=c0000005

=> 0xc0000005= STATUS_ACCESS_VIOLATION
and : this url explain exactly what is the STATUS_ACCESS_VIOLATION.
https://msdn.microsoft.com/en-us/magazi ... 11.aspx#S1
Good luck to find the invalid pointer or something like that !

Re: [0.11.12 -> 0.11.13] Automatic Update Crash

Posted: Thu Jan 29, 2015 12:48 pm
by kovarex
I did 2 things to resolve this issue. (and many other)
  • I added the debug info to the release builds, because why not, the executable is only roughly 1 MB larger.
  • Factorio now prints the complete stacktrace into the log when it crashes for whatever reason.
So once there is the crash on update 0.11.14 -> 0.11.15 it will hopefully show the problem.