Code: Select all
/c planner = game.create_inventory(1)[1]
planner.import_stack("0eNp9jkEKwjAURO8y6xRsKzTmKiIS7LcGzE9If9UScnebRcGVu5nhwbyMJU7JjnSNT8tMCSZjJhHH01yztzFS2uI5456Cr5uskWBALE5WKLD1tb9DGImb24NmQVGQ8Ad2Kfygjkf6wBzKpRah7WYXa3Yxhdcm4gLDdLo9Dqdu6Hvdaq1L+QIdx0Lx")
game.player.surface.create_entity{name = "wooden-chest", force = game.player.force, position = {0.5, 0.5}}
game.player.surface.upgrade_area{area = {{0, 0}, {1, 1}}, force = game.player.force, item = planner}
Log file
0.000 2021-03-09 09:31:50; Factorio 1.1.26 (build 58172, linux64, full)
0.034 Operating system: Linux (Ubuntu 20.04)
0.034 Program arguments: "/opt/factorio/bin/x64/factorio" "--check-unused-prototype-data"
0.034 Read data path: /opt/factorio/data
0.034 Write data path: /home/davemcw/Documents/factorio [318060/737347MB]
0.034 Binaries path: /opt/factorio/bin
0.039 System info: [CPU: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz, 4 cores, RAM: 15965 MB]
0.039 Environment: DISPLAY=:1 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=ubuntu XDG_SESSION_DESKTOP=ubuntu XDG_CURRENT_DESKTOP=ubuntu:GNOME __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.039 Display options: [FullScreen: 0] [VSync: 1] [UIScale: custom (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
0.367 Available displays: 1
0.368 [0]: G227HQL 21" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
0.569 Initialised OpenGL:[0] GeForce GTX 745/PCIe/SSE2; driver: 3.3.0 NVIDIA 460.39
0.569 [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
0.569 [Version] 3.3
0.584 Graphics settings preset: very-high
0.584 Dedicated video memory size 4096 MB
0.616 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
0.616 [Max threads (load/render): 32/4] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: low] [Other: STDCwt] [B:0,C:0,S:100]
0.620 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
0.780 Loading mod core 0.0.0 (data.lua)
0.857 Loading mod base 1.1.26 (data.lua)
1.112 Loading mod base 1.1.26 (data-updates.lua)
1.239 Checksum for core: 217331212
1.239 Checksum of base: 3777792092
1.450 Finished checking unused prototype data in 0.003395 seconds. Number of properties that were used: 158587
1.457 Prototype list checksum: 3034860339
1.504 Loading sounds...
1.532 Info PlayerData.cpp:71: Local player-data.json available, timestamp 1615300310
1.532 Info PlayerData.cpp:78: Cloud player-data.json unavailable
1.684 Initial atlas bitmap size is 16384
1.719 Created atlas bitmap 16384x16380 [none]
1.719 Created atlas bitmap 16384x4436 [none]
1.719 Created atlas bitmap 8192x4208 [decal]
1.720 Created atlas bitmap 16384x5568 [low-object, linear-minification]
1.721 Created atlas bitmap 8192x4192 [mipmap, linear-minification, linear-magnification, linear-mip-level]
1.721 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
1.722 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
1.722 Created atlas bitmap 4096x1840 [smoke, mipmap, linear-minification, linear-magnification]
1.722 Created atlas bitmap 4096x3088 [mipmap]
1.722 Created atlas bitmap 8192x2224 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
1.723 Created atlas bitmap 8192x1496 [alpha-mask]
1.725 Created atlas bitmap 16384x13372 [shadow, linear-magnification, alpha-mask]
1.725 Created atlas bitmap 8192x2336 [shadow, mipmap, linear-magnification, alpha-mask]
1.726 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
1.788 Created virtual atlas pages 4096x4096x7
1.799 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
2.236 Parallel Sprite Loader initialized (threads: 3)
18.244 Sprites loaded
18.313 Generated mipmaps (4) for atlas [3] of size 16384x5568
18.326 Generated mipmaps (3) for atlas [4] of size 8192x4192
18.555 Generated mipmaps (3) for atlas [5] of size 16384x6064
18.583 Generated mipmaps (3) for atlas [6] of size 4096x3216
18.602 Generated mipmaps (3) for atlas [7] of size 4096x1840
18.630 Generated mipmaps (3) for atlas [8] of size 4096x3088
18.655 Generated mipmaps (5) for atlas [9] of size 8192x2224
18.660 Generated mipmaps (3) for atlas [12] of size 8192x2336
18.691 Custom mipmaps uploaded.
18.850 Generated mipmaps for virtual atlas of size 8192x16384
19.015 Factorio initialised
19.019 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/ge ... iVersion=2
19.158 0 packages available to download (experimental updates enabled).
28.592 Loading level.dat: 1167752 bytes.
28.592 Info Scenario.cpp:197: Map version 1.1.26-0
28.626 Checksum for script /home/davemcw/Documents/factorio/temp/currently-playing/control.lua: 1735894310
51.834 Time travel logging:
51.833 Player 0 ran command: planner = game.create_inventory(1)[1] planner.import_stack("0eNp9jkEKwjAURO8y6xRsKzTmKiIS7LcGzE9If9UScnebRcGVu5nhwbyMJU7JjnSNT8tMCSZjJhHH01yztzFS2uI5456Cr5uskWBALE5WKLD1tb9DGImb24NmQVGQ8Ad2Kfygjkf6wBzKpRah7WYXa3Yxhdcm4gLDdLo9Dqdu6Hvdaq1L+QIdx0Lx") game.player.surface.create_entity{ name = "wooden-chest", force = game.player.force, position = {0.5, 0.5}, } game.player.surface.upgrade_area{ area = {{0, 0}, {1, 1}}, force = game.player.force, item = planner, }
51.834 Error CrashHandler.cpp:621: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xd245d7, 0xf0a2fd, 0xd7a925, 0xd7afb1, 0xd7b069, 0x46210, 0xaaea88, 0xe7c098, 0xe7c7fa, 0x18df2d8, 0x1baa2af, 0x1bbe10b, 0x1baa5b8, 0x1baa68c, 0x1ba4abb, 0x108cf34, 0x110e37e, 0x110e9f7, 0x108a66e, 0x108a9f2, 0xec95fc, 0x991aec, 0xf2edb3, 0x130c4fb, 0x130c831, 0xd3b651, 0x2009e40, 0x9609, 0
65.283 Warning Logger.cpp:526: Symbols.size() == 50, usedSize == 28
#0 0x0000000000f0a2fd in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:154
#1 0x0000000000d7a925 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:353
#2 0x0000000000d7afb1 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:347
#3 0x0000000000d7b069 in Logger::flush() at /tmp/factorio-build-6ZPrK1/src/Util/Logger.cpp:566
#4 0x0000000000046210 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-6ZPrK1/src/Util/Logger.cpp:552
#5 0x0000000000aaea88 in GlobalContext::getMap() at /tmp/factorio-build-6ZPrK1/src/GlobalContext.cpp:2041
#6 0x0000000000e7c098 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-6ZPrK1/src/Util/CrashHandler.cpp:188
#7 0x0000000000e7c7fa in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-6ZPrK1/src/Util/CrashHandler.cpp:623
#8 0x00000000018df2d8 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-6ZPrK1/src/Util/CrashHandler.cpp:638
#9 0x0000000001baa2af in ?? at ??:0
#10 0x0000000001bbe10b in UndoQueue::add(UndoItem&&) at /tmp/factorio-build-6ZPrK1/src/UndoQueue.cpp:67
#11 0x0000000001baa5b8 in std::vector<std::unique_ptr<UndoAction, std::default_delete<UndoAction> >, std::allocator<std::unique_ptr<UndoAction, std::default_delete<UndoAction> > > >::~vector() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:677
#12 0x0000000001baa68c in UndoItem::~UndoItem() at /tmp/factorio-build-6ZPrK1/src/UndoItem.hpp:36
#13 0x0000000001ba4abb in UpgradeData::applyToArea(Surface&, BoundingBox const&, ForceID, Player*, bool, NamedBool<SkipFogOfWarTag>) const at /tmp/factorio-build-6ZPrK1/src/UpgradeData.cpp:393
#14 0x000000000108cf34 in LuaSurface::luaUpgradeAreaCommon(lua_State*, bool) at /tmp/factorio-build-6ZPrK1/src/Script/LuaSurface.cpp:2577
#15 0x000000000110e37e in LuaBinder<LuaSurface>::callWrapper(lua_State*) at /tmp/factorio-build-6ZPrK1/src/Script/LuaBinder.hpp:332 (discriminator 4)
#16 0x000000000110e9f7 in luaD_precall(lua_State*, lua_TValue*, int) at /tmp/factorio-build-6ZPrK1/libraries/Lua/ldo.c:350
#17 0x000000000108a66e in luaV_execute(lua_State*) at /tmp/factorio-build-6ZPrK1/libraries/Lua/lvm.c:713 (discriminator 3)
#18 0x000000000108a9f2 in luaD_call(lua_State*, lua_TValue*, int, int) at /tmp/factorio-build-6ZPrK1/libraries/Lua/ldo.c:424
#19 0x0000000000ec95fc in luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) at /tmp/factorio-build-6ZPrK1/libraries/Lua/ldo.c:166
#20 0x0000000000991aec in luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) at /tmp/factorio-build-6ZPrK1/libraries/Lua/ldo.c:623
#21 0x0000000000f2edb3 in lua_pcallk at /tmp/factorio-build-6ZPrK1/libraries/Lua/lapi.c:1111
#22 0x000000000130c4fb in LuaHelper::pCallWithStackTraceIfInstrumentMode(lua_State*, int, int) at /tmp/factorio-build-6ZPrK1/src/Util/LuaHelper.cpp:4211
#23 0x000000000130c831 in LuaHelper::pCallWithStackTraceIfInstrumentMode(lua_State*, int, int) at /tmp/factorio-build-6ZPrK1/src/Util/LuaHelper.cpp:4208
#24 0x0000000000d3b651 in LuaGameScript::runLuaCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CommandSource const&, bool) at /tmp/factorio-build-6ZPrK1/src/Script/LuaGameScript.cpp:2086
#25 0x0000000002009e40 in __gnu_cxx::__normal_iterator<std::unique_ptr<LuaGameScript, std::default_delete<LuaGameScript> >*, std::vector<std::unique_ptr<LuaGameScript, std::default_delete<LuaGameScript> >, std::allocator<std::unique_ptr<LuaGameScript, std::default_delete<LuaGameScript> > > > >::__normal_iterator(std::unique_ptr<LuaGameScript, std::default_delete<LuaGameScript> >* const&) at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_iterator.h:807
#26 0x0000000000009609 in std::vector<std::unique_ptr<LuaGameScript, std::default_delete<LuaGameScript> >, std::allocator<std::unique_ptr<LuaGameScript, std::default_delete<LuaGameScript> > > >::end() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:827
#27 (nil) in LuaContext::setCallingInfo(Player*, RemoteInterfaceID const*) at /tmp/factorio-build-6ZPrK1/src/Script/LuaContext.cpp:491
#28 (nil) in operator() at /tmp/factorio-build-6ZPrK1/src/Script/LuaContext.cpp:352
#29 0x000001010000004d in ~ScopedCallback at /tmp/factorio-build-6ZPrK1/src/Util/ScopedCallback.hpp:60
#30 0x0000011c0000005e in LuaContext::runLuaCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CommandSource const&, RemoteInterfaceID const*, bool) at /tmp/factorio-build-6ZPrK1/src/Script/LuaContext.cpp:352
#31 0x0000011c00000050 in CommandProcessor::doExecuteCommand(CommandSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool) at /tmp/factorio-build-6ZPrK1/src/CommandProcessor.cpp:1490
#32 0x0000010800000046 in CommandProcessor::process(CommandSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) at /tmp/factorio-build-6ZPrK1/src/CommandProcessor.cpp:255
#33 0x000001020000004a in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_is_local() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/basic_string.h:222
#34 0x0000010300000044 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_dispose() at /home/build/gcc-9.2/include/c++/9.2.0/bits/basic_string.h:231
#35 0x0000011a0000004b in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() at /home/build/gcc-9.2/include/c++/9.2.0/bits/basic_string.h:658
#36 0x0000010e0000004e in GameActionHandler::writeToConsole(InputAction const&, Player*) at /tmp/factorio-build-6ZPrK1/src/GameActionHandler.cpp:4342
#37 0x0000011400000054 in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-build-6ZPrK1/src/GameActionHandler.cpp:369 (discriminator 4)
#38 0x0000010900000043 in InputHandler::flushToListeners(InputAction const&, bool) at /tmp/factorio-build-6ZPrK1/src/Input/InputHandler.cpp:72
#39 0x0000010800000042 in InputHandler::flushActions(bool, unsigned int) at /tmp/factorio-build-6ZPrK1/src/Input/InputHandler.cpp:64
#40 0x0000011b00000059 in GameActionHandler::update() at /tmp/factorio-build-6ZPrK1/src/GameActionHandler.cpp:409
#41 0x0000010100000040 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) at /tmp/factorio-build-6ZPrK1/src/MainLoop.cpp:1247
#42 0x0000010d0000005a in MainLoop::gameUpdateLoop(MainLoop::HeavyMode) at /tmp/factorio-build-6ZPrK1/src/MainLoop.cpp:1119
#43 0x0000010800000040 in std::function<void ()>::operator=(decltype(nullptr)) at /home/build/gcc-9.2/include/c++/9.2.0/bits/std_function.h:498
#44 0x0000010200000043 in WorkerThread::loop() at /tmp/factorio-build-6ZPrK1/src/Util/WorkerThread.cpp:49
#45 0x000001070000004e in std::default_delete<std::thread::_State>::operator()(std::thread::_State*) const at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:81
#46 0x0000010200000041 in std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >::~unique_ptr() at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:284
#47 0x0000010e0000004d in execute_native_thread_routine at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:79
#48 0x0000010500000052 in ?? at ??:0
#49 0x0000011e00000040 in ?? at ??:0
Stack trace logging done
77.922 Warning Logger.cpp:526: Symbols.size() == 45, usedSize == 27
77.922 Error CrashHandler.cpp:189: Map tick at moment of crash: 1390
77.922 Error Util.cpp:97: 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.
79.926 Info SystemUtil.cpp:547: Started /usr/bin/xdg-open; trampoline PID: 29059