Page 1 of 1

[0.12.0][Oxyd] game.player.surface.set_multi_command crashes

Posted: Sat Jul 18, 2015 2:31 pm
by Cerbsen
Tutorial mission 2 and 3 crashes when game.player.surface.set_multi_command is called in control.lua.

Log from tut mission 3:

Code: Select all

  26.965 Info Scenario.cpp:160: Map version 0.12.0-36
  31.353 Applying migration: Base Mod: 2015-07-02_Factorio_0.12.0.lua
  31.538 Loading map 
  31.538 Info Scenario.cpp:160: Map version 0.12.0-36
 685.149 Applying migration: Base Mod: 2015-07-02_Factorio_0.12.0.lua
 685.823 Loading map 
 685.824 Info Scenario.cpp:160: Map version 0.12.0-36
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\temp\factorio-5829127a\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\temp\factorio-5829127a\src\util\logger.cpp (283): Logger::writeStacktrace
c:\temp\factorio-5829127a\src\util\logger.cpp (337): Logger::logStacktrace
c:\temp\factorio-5829127a\src\util\crashhandler.cpp (79): CrashHandler::writeStackTrace
c:\temp\factorio-5829127a\src\util\crashhandler.cpp (110): CrashHandler::PureCallHandler
f:\dd\vctools\crt\crtw32\misc\purevirt.c (58): _purecall
c:\temp\factorio-5829127a\src\ai\commander.cpp (104): Commander::setMultiCommand
c:\temp\factorio-5829127a\src\script\luasurface.cpp (456): LuaSurface::luaSetMultiCommand
c:\temp\factorio-5829127a\src\script\luabinder.hpp (300): LuaBinder<LuaSurface>::callWrapper
c:\temp\factorio-5829127a\libraries\lua\ldo.c (320): luaD_precall
c:\temp\factorio-5829127a\libraries\lua\lvm.c (723): luaV_execute
c:\temp\factorio-5829127a\libraries\lua\lapi.c (920): f_call
c:\temp\factorio-5829127a\libraries\lua\ldo.c (133): luaD_rawrunprotected
c:\temp\factorio-5829127a\libraries\lua\lapi.c (946): lua_pcallk
c:\temp\factorio-5829127a\src\script\luagamescript.cpp (1751): LuaGameScript::signallingPCall
c:\temp\factorio-5829127a\src\script\luagamescript.cpp (523): LuaGameScript::runEventHandler
c:\temp\factorio-5829127a\src\script\luaeventdispatcher.cpp (164): LuaEventDispatcher::run
c:\temp\factorio-5829127a\src\script\luacontext.cpp (111): LuaContext::update
c:\temp\factorio-5829127a\src\scenario\scenario.cpp (731): Scenario::update
c:\temp\factorio-5829127a\src\mainloop.cpp (250): MainLoop::gameUpdateStep
c:\temp\factorio-5829127a\src\mainloop.cpp (351): MainLoop::updateLoop
c:\boost_1_58_0\boost\function\function_template.hpp (160): boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void,void (__cdecl*)(ThreadBarrier * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,bool * __ptr64,bool),boost::_bi::list5<boost::_bi::value<ThreadBarrier * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64>,boost::_bi::value<bool * __ptr64>,boost::_bi::value<bool> > >,void>::invoke
c:\temp\factorio-5829127a\src\util\thread.cpp (34): Thread::loop
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF68B44B163)
00007FF68B44B163 (Factorio): (filename not available): boost::`anonymous namespace'::thread_start_function
f:\dd\vctools\crt\crtw32\startup\threadex.c (376): _callthreadstartex
f:\dd\vctools\crt\crtw32\startup\threadex.c (354): _threadstartex
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9C0D62D92)
00007FF9C0D62D92 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9C1459F64)
00007FF9C1459F64 (ntdll): (filename not available): RtlUserThreadStart
1715.809 Error Util.cpp:45: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.

Re: [0.12.0][Oxyd] game.player.surface.set_multi_command crashes

Posted: Mon Jul 20, 2015 1:15 pm
by Oxyd
Fixed in 0.12.1. Thanks.