I cannot give concrete steps to reproduce, but it involved the following:
- I was editing code for a mod while the game was running.
- I reloaded the save file to reload the control code.
- I got a Lua error that 'game' was nil in a place that it never should have been nil (ultimately via script.on_init)
- When I closed that error, then attempted to exit the game, it crashed.
Code: Select all
0.003 2016-04-19 09:15:49; Factorio 0.12.29 (Build 17931, win64, alpha)
0.003 Operating system: Windows 7 Service Pack 1
0.003 Program arguments: "C:\Program Files\Factorio\bin\x64\Factorio.exe"
0.003 Read data path: C:/Program Files/Factorio/data
0.003 Write data path: C:/Users/Jason/AppData/Roaming/Factorio
0.003 Binaries path: C:/Program Files/Factorio/bin
0.019 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 20%] [Screen: 255]
0.020 Available display adapters: 1
0.020 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 3000 {0x05, [0,0], 1600x900, 32bit, 60Hz}
0.020 Create display on adapter 0. Size 1280x720 at position [150, 72].
0.074 Initialised Direct3D:[0] Intel(R) HD Graphics 3000; driver: igdumd64.dll 9.17.10.3347
0.249 Loading mod core 0.0.0 (data.lua)
0.253 Loading mod base 0.12.29 (data.lua)
0.331 Loading mod advanced-inserter 0.2.0 (data.lua)
0.387 Loading mod SignPosts 0.3.2 (data.lua)
0.447 Loading mod SmartLoader 0.3.2 (data.lua)
0.503 Loading mod Terraforming 0.12.3 (data.lua)
0.564 Loading mod TheFatController 0.4.11 (data.lua)
0.628 Loading mod toy-box 0.1.0 (data.lua)
0.686 Loading mod toy-box 0.1.0 (data-final-fixes.lua)
1.405 Initial atlas bitmap size is 8192
1.416 Created atlas bitmap 8192x8186
1.417 Created atlas bitmap 8192x2689
16.293 Sprites loaded
16.537 Loading sounds...
18.596 Info Updater.cpp:752: Downloading https://www.factorio.com/updater/get-available-versions?username=JasonC&token=<private>&apiVersion=2
19.119 Some core updates would be reachable if experimental updates were enabled.
19.119 0 packages available to download (experimental updates disabled).
19.178 Factorio initialised
26.171 Loading map C:/Users\Jason\AppData\Roaming\Factorio\saves\advinsert.zip
26.227 Info Scenario.cpp:124: Map version 0.12.29-0
844.139 Loading map C:/Users\Jason\AppData\Roaming\Factorio\saves\_autosave3.zip
844.202 Info Scenario.cpp:124: Map version 0.12.29-0
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-cecrar\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-cecrar\src\util\logger.cpp (306): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-cecrar\src\util\logger.cpp (360): Logger::logStacktrace
c:\cygwin64\tmp\factorio-cecrar\src\util\crashhandler.cpp (84): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-cecrar\src\util\crashhandler.cpp (174): CrashHandler::SignalHandler
f:\dd\vctools\crt\crtw32\misc\winxfltr.c (372): _XcptFilter
f:\dd\vctools\crt\crtw32\startup\thread.c (259): _callthreadstart$filt$0
f:\dd\vctools\crt\crtw32\misc\amd64\chandler.c (162): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007750905D)
000000007750905D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000774F8C0F)
00000000774F8C0F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007752D948)
000000007752D948 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-cecrar\src\appmanagerstates.cpp (216): InGameMenu::process
c:\cygwin64\tmp\factorio-cecrar\src\appmanager.cpp (143): AppManager::process
c:\cygwin64\tmp\factorio-cecrar\src\mainloop.cpp (443): MainLoop::tickStep
c:\cygwin64\tmp\factorio-cecrar\src\mainloop.cpp (576): MainLoop::run
c:\cygwin64\tmp\factorio-cecrar\src\main.cpp (493): wmain
f:\dd\vctools\crt\crtw32\startup\crt0.c (255): __tmainCRTStartup
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000773D5A4D)
00000000773D5A4D (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007750B831)
000000007750B831 (ntdll): (filename not available): RtlUserThreadStart
863.428 Error Util.cpp:78: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.