[14.1][Modded] [Pending] Crash on lua error

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Thomasnotused
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Jan 29, 2015 9:58 pm
Contact:

[14.1][Modded] [Pending] Crash on lua error

Post by Thomasnotused »

I don't know what happened to cause the crash, but it crashed when it tried to autosave. I was just standing there.

I tried loading up the same save, and waited for autosaves to occur, but the same crash did not occur a second time.

Log
Mods
Savegame

OS: Windows 10 Pro x64
CPU: i5-4440 3.1GHz Quad-core
RAM: 8GB
GPU: GT 740 4GB @1600x900
I have no idea what I'm doing.

Loewchen
Global Moderator
Global Moderator
Posts: 8321
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [14.1][Modded] Crash on lua error

Post by Loewchen »

Code: Select all

   0.001 2016-08-29 09:46:03; Factorio 0.14.1 (build 24302, win64, alpha)
   0.001 Operating system: Windows 10 
   0.001 Program arguments: "D:\Games\Factorio - Copy\bin\x64\factorio.exe" 
   0.001 Read data path: D:/Games/Factorio - Copy/data
   0.001 Write data path: D:/Games/Factorio - Copy
   0.001 Binaries path: D:/Games/Factorio - Copy/bin
   0.013 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [Screen: 255] [DXT: false]
   0.013 Available display adapters: 1
   0.014  [0]: \\.\DISPLAY1 - NVIDIA GeForce GT 740 {0x05, [0,0], 1600x900, 32bit, 60Hz}
   0.014 Create display on adapter 0. Size 1280x720 at position [150, 72].
   0.060 Initialised Direct3D:[0] NVIDIA GeForce GT 740; driver: nvd3dumx.dll 21.21.13.7254
   0.063     Video memory size (dedicated video/dedicated system/shared system/available): 4062/0/4062/4090 MB
   0.086 Device reset internal.
   0.087 Desktop composition is active.
   0.087 WARNING: You have vsync and desktop composition enabled on Direct3d. Cosider disabling vsync to increase performance on some confirgurations.
   0.158 Loading mod core 0.0.0 (data.lua)
   0.176 Loading mod base 0.14.1 (data.lua)
   0.288 Loading mod Aircraft 1.1.2 (data.lua)
   0.350 Loading mod Free Build 0.0.2 (data.lua)
   0.412 Loading mod test-mode 0.14.0 (data.lua)
   0.474 Loading mod Liftoff_lite 0.1.2 (data.lua)
   0.544 Loading mod test-mode 0.14.0 (data-updates.lua)
   0.617 Loading mod Free Build 0.0.2 (data-final-fixes.lua)
   0.691 Loading mod test-mode 0.14.0 (data-final-fixes.lua)
   0.754 Checksum for core: 303426634
   0.754 Checksum for mod base: 3069294402
   0.754 Checksum for mod Aircraft: 2440685383
   0.754 Checksum for mod Free Build: 3834379538
   0.754 Checksum for mod test-mode: 878900546
   0.754 Checksum for mod Liftoff_lite: 1143961046
   1.132 Info PlayerData.cpp:45: Local player-data.json available, timestamp 1472476471
   1.132 Info PlayerData.cpp:52: Cloud player-data.json unavailable
   1.399 Initial atlas bitmap size is 16384
   1.401 Created atlas bitmap 16384x8807
   1.723 Created atlas bitmap 4096x892
   1.729 Created atlas bitmap 4096x3648
   6.812 Sprites loaded
   6.812 Convert atlas 4096x892 to: trilinear-filtering 
   6.828 Convert atlas 4096x3648 to: mipmap 
   7.171 Loading sounds...
   8.633 Custom inputs active: 0
   8.672 Factorio initialised
  12.156 Loading map D:\Games\Factorio - Copy\saves\Aircraft_Testing.zip
  12.182 Info Scenario.cpp:148: Map version 0.14.1-1
  12.793 Checksum for script D:/Games/Factorio - Copy/temp/currently-playing/control.lua: 3475707223
  12.798 Checksum for script __test-mode__/control.lua: 1548825344
  12.800 Checksum for script __Liftoff_lite__/control.lua: 1867971687
  27.724 Error MainLoop.cpp:738: Exception at tick 125340: Error while running event on_entity_died (ID 4)
__Liftoff_lite__/control.lua:113: attempt to index field '?' (a nil value)
 207.586 Loading map D:\Games\Factorio - Copy\saves\Aircraft_Testing.zip
 207.714 Info Scenario.cpp:148: Map version 0.14.1-1
 208.323 Checksum for script D:/Games/Factorio - Copy/temp/currently-playing/control.lua: 3475707223
 208.329 Checksum for script __test-mode__/control.lua: 1548825344
 208.330 Checksum for script __Liftoff_lite__/control.lua: 1867971687
 209.207 Error MainLoop.cpp:738: Exception at tick 124763: Error while running event on_player_driving_changed_state (ID 26)
__Liftoff_lite__/control.lua:135: attempt to index field '?' (a nil value)
 375.453 Loading map D:\Games\Factorio - Copy\saves\Aircraft_Testing_temp.zip
 375.481 Info Scenario.cpp:148: Map version 0.14.1-1
 376.064 Checksum for script D:/Games/Factorio - Copy/temp/currently-playing/control.lua: 3475707223
 376.069 Checksum for script __test-mode__/control.lua: 1548825344
 376.071 Checksum for script __Liftoff_lite__/control.lua: 1867971687
 388.309 Loading map D:\Games\Factorio - Copy\saves\Aircraft_Testing_temp.zip
 388.337 Info Scenario.cpp:148: Map version 0.14.1-1
 388.950 Checksum for script D:/Games/Factorio - Copy/temp/currently-playing/control.lua: 3475707223
 388.955 Checksum for script __test-mode__/control.lua: 1548825344
 388.957 Checksum for script __Liftoff_lite__/control.lua: 1867971687
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-vupmpy\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-vupmpy\src\util\logger.cpp (332): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-vupmpy\src\util\logger.cpp (386): Logger::logStacktrace
c:\cygwin64\tmp\factorio-vupmpy\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-vupmpy\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-vupmpy\libraries\lua\ldo.c (119): luaD_throw
c:\cygwin64\tmp\factorio-vupmpy\libraries\lua\ldebug.c (569): luaG_errormsg
c:\cygwin64\tmp\factorio-vupmpy\libraries\lua\ldebug.c (578): luaG_runerror
c:\cygwin64\tmp\factorio-vupmpy\libraries\lua\ldebug.c (515): luaG_typeerror
c:\cygwin64\tmp\factorio-vupmpy\libraries\lua\lvm.c (189): luaV_settable
c:\cygwin64\tmp\factorio-vupmpy\libraries\lua\lapi.c (761): lua_setfield
c:\cygwin64\tmp\factorio-vupmpy\src\script\luabinder.hpp (41): LuaBinder<LuaPlayer>::registerObject
c:\cygwin64\tmp\factorio-vupmpy\src\script\luaplayer.cpp (179): LuaPlayer::initLuaState
c:\cygwin64\tmp\factorio-vupmpy\src\script\luaobject.cpp (57): LuaObject::refresh
c:\cygwin64\tmp\factorio-vupmpy\src\script\luagamescript.cpp (418): LuaGameScript::saveScriptState
c:\cygwin64\tmp\factorio-vupmpy\src\script\luacontext.cpp (125): LuaContext::save
c:\cygwin64\tmp\factorio-vupmpy\src\scenario\scenario.cpp (582): Scenario::saveAs
c:\cygwin64\tmp\factorio-vupmpy\src\scenario\parallelscenariosaver.cpp (74): ParallelScenarioSaver::doSave
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(ParallelScenarioSaver * __ptr64),ParallelScenarioSaver * __ptr64>,std::default_delete<std::tuple<void (__cdecl*)(ParallelScenarioSaver * __ptr64),ParallelScenarioSaver * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC3EC68102)
00007FFC3EC68102 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC3FF5C5B4)
00007FFC3FF5C5B4 (ntdll): (filename not available): RtlUserThreadStart
 404.401 Error CrashHandler.cpp:106: Map tick at moment of crash: 126001
 404.401 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.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [14.1][Modded] Crash on lua error

Post by Klonan »

Thanks for the report,

I cannot reproduce the crash on save,
But there are lua errors which popup...

If you can reproduce it someway please bump this thread

EDIT this was fixed with another bug report

Post Reply

Return to “Resolved Problems and Bugs”