[Rseding91] [2.0.13] Crash with grid.take_all() on ghost equipment

This subforum contains all the issues which we already resolved.
Post Reply
Xorimuth
Filter Inserter
Filter Inserter
Posts: 678
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

[Rseding91] [2.0.13] Crash with grid.take_all() on ghost equipment

Post by Xorimuth »

To reproduce:
- Place spidertron
- Place ghost equipment in spidertron (I did ghost fission reactor, using remote view)
- Hover cursor over spidertron
- Run `/c local saved = game.player.selected.grid.take_all()`
- Observe crash

Code: Select all

  49.668 Time travel logging:
  49.667 Player 0 ran command: local saved = game.player.selected.grid.take_all()
  49.668 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (334): writeStacktrace
src/Util/Logger.cpp (379): logStacktrace
src/Util/CrashHandler.cpp (183): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x7ff81a776fdc
/usr/local/opt/llvm@16/bin/../include/c++/v1/string (1682): __is_long
/usr/local/opt/llvm@16/bin/../include/c++/v1/string (1803): __get_pointer
/usr/local/opt/llvm@16/bin/../include/c++/v1/string (1462): data
/usr/local/opt/llvm@16/bin/../include/c++/v1/string (1460): c_str
libraries/Lua/LuaCPPUtilities.hpp (6): lua_pushstring
src/Util/LuaHelper.cpp (2269): push
src/Util/LuaHelper.hpp (581): setTable<const std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > &>
src/Util/LuaHelper.cpp (2702): push
/usr/local/opt/llvm@16/bin/../include/c++/v1/__tree (1101): __root
/usr/local/opt/llvm@16/bin/../include/c++/v1/__tree (1801): ~__tree
/usr/local/opt/llvm@16/bin/../include/c++/v1/__tree (1798): ~__tree
/usr/local/opt/llvm@16/bin/../include/c++/v1/map (1164): ~map
/usr/local/opt/llvm@16/bin/../include/c++/v1/map (1162): ~map
src/Script/LuaEquipmentGrid.cpp (185): luaTakeAllEquipment
src/Script/LuaBinder.hpp (0): callWrapperOnObject
libraries/Lua/ldo.c (352): luaD_precall
libraries/Lua/lvm.c (717): luaV_execute
libraries/Lua/ldo.c (424): luaD_call
libraries/Lua/ldo.c (165): luaD_rawrunprotected
libraries/Lua/ldo.c (625): luaD_pcall
libraries/Lua/lapi.c (1083): lua_pcallk
src/Script/LuaGameScript.cpp (1853): runLuaCommand
src/Script/LuaContext.cpp (285): runLuaCommand
src/CommandProcessor.cpp (1614): doExecuteCommand
src/CommandProcessor.cpp (256): process
/usr/local/opt/llvm@16/bin/../include/c++/v1/string (1682): __is_long
/usr/local/opt/llvm@16/bin/../include/c++/v1/string (2361): ~basic_string
/usr/local/opt/llvm@16/bin/../include/c++/v1/string (2359): ~basic_string
src/GameActionHandler.cpp (3755): writeToConsole
src/GameActionHandler.cpp (0): actionPerformed
/usr/local/opt/llvm@16/bin/../include/c++/v1/__iterator/wrap_iter.h (101): operator++
src/Input/InputSource.cpp (73): flushToListeners
src/Input/InputSource.cpp (67): flushActions
/usr/local/opt/llvm@16/bin/../include/c++/v1/optional (314): reset
src/Input/PlayerInputSource.cpp (518): flushActions
src/GameActionHandler.cpp (389): update
/usr/local/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (468): ~__value_func
/usr/local/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (467): ~__value_func
/usr/local/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (1143): ~function
/usr/local/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (1143): ~function
src/MainLoop.cpp (1340): gameUpdateStep
src/GlobalContext.cpp (1816): getBaseMultiplayerManager
src/MainLoop.cpp (1206): gameUpdateLoop
/usr/local/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (496): operator=
/usr/local/opt/llvm@16/bin/../include/c++/v1/__functional/function.h (1129): operator=
src/Util/WorkerThread.cpp (70): loop
/usr/local/opt/llvm@16/bin/../include/c++/v1/__memory/unique_ptr.h (294): reset
/usr/local/opt/llvm@16/bin/../include/c++/v1/__memory/unique_ptr.h (263): ~unique_ptr
/usr/local/opt/llvm@16/bin/../include/c++/v1/__memory/unique_ptr.h (263): ~unique_ptr
/usr/local/opt/llvm@16/bin/../include/c++/v1/tuple (293): ~__tuple_leaf
/usr/local/opt/llvm@16/bin/../include/c++/v1/tuple (479): ~__tuple_impl
/usr/local/opt/llvm@16/bin/../include/c++/v1/tuple (479): ~__tuple_impl
/usr/local/opt/llvm@16/bin/../include/c++/v1/tuple (566): ~tuple
/usr/local/opt/llvm@16/bin/../include/c++/v1/tuple (566): ~tuple
/usr/local/opt/llvm@16/bin/../include/c++/v1/__memory/unique_ptr.h (65): operator()
/usr/local/opt/llvm@16/bin/../include/c++/v1/__memory/unique_ptr.h (297): reset
/usr/local/opt/llvm@16/bin/../include/c++/v1/__memory/unique_ptr.h (263): ~unique_ptr
/usr/local/opt/llvm@16/bin/../include/c++/v1/__memory/unique_ptr.h (263): ~unique_ptr
/usr/local/opt/llvm@16/bin/../include/c++/v1/thread (295): __thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (WorkerThread::*)(), WorkerThread *> >
0x7ff81a74818b
Stack trace logging done
  57.030 Error CrashHandler.cpp:190: Map tick at moment of crash: 2137
  57.030 Uploading log file
Attachments
factorio-current.log
(20.24 KiB) Downloaded 3 times
factorio-current.log
(21.96 KiB) Downloaded 3 times
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

Rseding91
Factorio Staff
Factorio Staff
Posts: 13956
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [2.0.13] Crash with grid.take_all() on ghost equipment

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”