Page 1 of 1

[0.13.15] Game Crash on Startup (lua error)

Posted: Sun Aug 07, 2016 1:37 am
by Szentigrade
i am using only surfaces 0.0.7 and on loading the game it crashes factorio

attachment has the log and the mod

Re: [0.13.15] Game Crash on Startup

Posted: Sun Aug 07, 2016 5:37 pm
by Loewchen

Code: Select all

   0.001 2016-08-07 11:33:47; Factorio 0.13.15 (build 23843, win64, steam)
   0.001 Operating system: Windows 10 
   0.001 Program arguments: "D:\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: D:/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/nofuk/AppData/Roaming/Factorio
   0.001 Binaries path: D:/Steam/steamapps/common/Factorio/bin
   0.010 Graphics options: [FullScreen: true] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 255] [DXT: false]
   0.012 Available display adapters: 2
   0.012  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1080 {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
   0.012  [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1080 {0x05, [0,0], 3840x2160, 32bit, 60Hz}
   0.012 Create display on adapter 1. Size 1280x720 at position [1270, 702].
   0.079 Initialised Direct3D:[0] NVIDIA GeForce GTX 1080; driver: nvd3dumx.dll 10.18.13.6881
   0.082     Video memory size (dedicated video/dedicated system/shared system/available): 8144/0/8147/4064 MB
   0.108 Desktop composition is active.
   0.158 Loading mod core 0.0.0 (data.lua)
   0.163 Loading mod base 0.13.15 (data.lua)
   0.239 Loading mod Surfaces 0.0.7 (data.lua)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-cuskg0\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-cuskg0\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-cuskg0\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-cuskg0\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-cuskg0\src\util\crashhandler.cpp (213): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\signal.cpp (516): raise
d:\th\minkernel\crts\ucrt\src\appcrt\startup\abort.cpp (71): abort
c:\cygwin64\tmp\factorio-cuskg0\libraries\lua\ldo.c (119): luaD_throw
c:\cygwin64\tmp\factorio-cuskg0\libraries\lua\ldebug.c (569): luaG_errormsg
c:\cygwin64\tmp\factorio-cuskg0\libraries\lua\lapi.c (1105): lua_error
c:\cygwin64\tmp\factorio-cuskg0\libraries\lua\lauxlib.c (203): luaL_error
c:\cygwin64\tmp\factorio-cuskg0\libraries\lua\lauxlib.c (156): luaL_argerror
c:\cygwin64\tmp\factorio-cuskg0\libraries\lua\lauxlib.c (358): luaL_checklstring
c:\cygwin64\tmp\factorio-cuskg0\src\util\luahelper.cpp (1022): LuaHelper::luaSafeToString
c:\cygwin64\tmp\factorio-cuskg0\src\util\luahelper.cpp (1047): LuaHelper::saveTableToPtree
c:\cygwin64\tmp\factorio-cuskg0\src\util\luahelper.cpp (1052): LuaHelper::saveTableToPtree
c:\cygwin64\tmp\factorio-cuskg0\src\data\luadataloader.cpp (148): LuaDataLoader::storeAndExportChangedData
c:\cygwin64\tmp\factorio-cuskg0\src\data\modmanager.cpp (426): ModManager::updateHistory
c:\cygwin64\tmp\factorio-cuskg0\src\data\modmanager.cpp (272): ModManager::loadMod
c:\cygwin64\tmp\factorio-cuskg0\src\data\modmanager.cpp (204): ModManager::loadModsPhase
c:\cygwin64\tmp\factorio-cuskg0\src\data\modmanager.cpp (153): ModManager::loadData
c:\cygwin64\tmp\factorio-cuskg0\src\globalcontext.cpp (349): GlobalContext::init
c:\cygwin64\tmp\factorio-cuskg0\src\mainloop.cpp (135): MainLoop::run
c:\cygwin64\tmp\factorio-cuskg0\src\main.cpp (711): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (255): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAD0668364)
00007FFAD0668364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFAD1265E91)
00007FFAD1265E91 (ntdll): (filename not available): RtlUserThreadStart
   0.949 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.

Re: [0.13.15] Game Crash on Startup (lua error)

Posted: Sun Aug 07, 2016 6:51 pm
by Rseding91
Fixed for 0.13.16 - now you'll get an error explaining what's wrong instead of a crash:
Fixed crash when mods use tables as key values in prototype data.