[0.12] crash in Lua related code during campaign play

This subforum contains all the issues which we already resolved.
wilx
Manual Inserter
Manual Inserter
Posts: 3
Joined: Tue Jul 21, 2015 7:53 pm
Contact:

[0.12] crash in Lua related code during campaign play

Post by wilx »

I got this crash, twice. I can provide the save game, if necessary.

Code: Select all

amber2::wilx:~/factorio-game/factorio-0.10.12/bin/x64> ./factorio 
   0.000 2015-07-21 21:25:36; Factorio 0.12.0 (Build 103, linux64)
   0.000 Operating system: Linux
   0.000 Read data path: /home/wilx/factorio-game/factorio-0.10.12/data
   0.000 Write data path: /home/wilx/factorio-game/factorio-0.10.12
   0.000 Binaries path: /home/wilx/factorio-game/factorio-0.10.12/bin
   1.274 Graphics options: [FullScreen: false] [VSync: false] [UIScale: 100%] [MultiSampling: X 2] [Graphics quality: normal] [Video memory usage: high]
   1.449 Loading mod core 0.0.0 (data.lua)
   1.491 Loading mod base 0.12.0 (data.lua)
   3.255 Initial atlas bitmap size is 16384
   3.452 Created atlas bitmap 16384x5408
  48.529 Info Updater.cpp:720: Downloading https://www.factorio.com/updater/get-available-versions?username=wilx&token=<private>&apiVersion=2
  49.711 0 packages available to download (experimental updates enabled).
  49.819 Factorio initialised
 196.013 Loading map /home/wilx/factorio-game/factorio-0.10.12/saves/wilx06k.zip
 196.416 Info Scenario.cpp:160: Map version 0.11.6-2
 196.423 Info PrototypeMigrationList.cpp:94: Activating migration base/2015-06-01_Factorio_0.12.0.json
 196.602 Applying migration: Base Mod: 2015-07-02_Factorio_0.12.0.lua
 197.524 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/locale/en.cfg)
 197.524 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/locale/en.cfg)
 197.524 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/campaign-locale/en.cfg)
 197.524 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/campaign-locale/en.cfg)
 250.992 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave1
 432.237 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave2
 578.074 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave3
 698.918 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave1
 819.363 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave2
 945.139 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/wilx06l
 949.737 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave3
1070.081 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave1
1079.057 Applying migration: Base Mod: 2015-07-02_Factorio_0.12.0.lua
1079.096 Loading map 
1079.097 Info Scenario.cpp:160: Map version 0.12.0-36
1090.102 Loading map /home/wilx/factorio-game/factorio-0.10.12/saves/wilx06l.zip
1090.245 Info Scenario.cpp:160: Map version 0.12.0-36
1090.392 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/locale/en.cfg)
1090.392 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/locale/en.cfg)
1090.392 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/campaign-locale/en.cfg)
1090.392 Info LocaleProvider.cpp:127: Using locale files from the pre 0.11.0 structure (/home/wilx/factorio-game/factorio-0.10.12/temp/currently-playing/campaign-locale/en.cfg)
1095.254 Verbose Scenario.cpp:529: Saving game as /home/wilx/factorio-game/factorio-0.10.12/saves/_autosave3
1100.416 Warning Logger.cpp:315: Symbols.size() == 27, usedSize == 19
Factorio crashed. Generating symbolized stacktrace, please wait ...
1101.615 Warning Logger.cpp:315: Symbols.size() == 26, usedSize == 18
#0  0x7fddfff8b2f0 in ?? at ??:0
#1  0x6a8a65 in LuaSurface::luaSetMultiCommand(lua_State*) at /tmp/factorio-tDqLaj/src/AI/Commander.cpp:104
#2  0x444eaf in luaSetMultiCommand at /tmp/factorio-tDqLaj/src/Script/LuaSurface.cpp:456
#3  0xa56dbe in LuaBinder<LuaSurface>::callWrapper(lua_State*) at /tmp/factorio-tDqLaj/src/Script/LuaBinder.hpp:307
#4  0xa54cad in luaD_precall(lua_State*, lua_TValue*, int) at crtstuff.c:?
#5  0xa571ce in luaV_execute(lua_State*) at crtstuff.c:?
#6  0xa57d1d in luaD_call(lua_State*, lua_TValue*, int, int) at crtstuff.c:?
#7  0xa42ee8 in luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) at crtstuff.c:?
#8  0x49ce8a in lua_pcallk(lua_State*, int, int, int, int, int (*)(lua_State*)) at ??:?
#9  0x73587b in LuaGameScript::runEventHandler(unsigned int) at /tmp/factorio-tDqLaj/src/Script/LuaGameScript.cpp:1751
#10 0x94cdb2 in runEventHandler at /tmp/factorio-tDqLaj/src/Script/LuaGameScript.cpp:523
#11 0x9a04a3 in LuaEventDispatcher::run(unsigned int, unsigned int, boost::function<bool (LuaGameScript*)>) at /tmp/factorio-tDqLaj/src/Script/LuaEventDispatcher.cpp:164
#12 0x9c00d7 in Scenario::update() at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/function/function_template.hpp:881
#13 0x7406d8 in boost::function1<bool, LuaGameScript*>::~function1() at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/function/function_template.hpp:765
#14 0x7a6d14 in boost::function<bool (LuaGameScript*)>::~function() at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/function/function_template.hpp:1056
#15 0xcf564f in dispatch at /tmp/factorio-tDqLaj/src/Script/LuaEventDispatcher.cpp:46
#16 0x7fde01b3a6aa in update at /tmp/factorio-tDqLaj/src/Script/LuaContext.cpp:111
#17 0x7fde0005ceed in update at /tmp/factorio-tDqLaj/src/Scenario/Scenario.cpp:730
1101.615 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.
Post Reply

Return to “Resolved Problems and Bugs”