- Add the attached "factoriopedia-extended_0.1.0.zip" mod.
- Launch the game and open factoriopedia
- Click on the landfill item
- The fame will freeze and crash
In the mod itself, the player is spawned in simulations.lua:10.
Edit: spawning works fine, the move_cursor and mouse_down cause the crash.
Code: Select all
0.000 2024-11-24 19:54:26; Factorio 2.0.21 (build 80595, linux64, steam, space-age)
0.000 Operating system: Linux
0.000 Initializing Steam API.
0.000 Program arguments: "/home/kikugie/.steam/debian-installation/steamapps/common/Factorio/bin/x64/factorio"
0.000 Config path: /home/kikugie/.factorio/config/config.ini
0.000 Read data path: /home/kikugie/.steam/debian-installation/steamapps/common/Factorio/data
0.000 Write data path: /home/kikugie/.factorio [740428/1599847MB]
0.000 Binaries path: /home/kikugie/.steam/debian-installation/steamapps/common/Factorio/bin
0.008 System info: [CPU: 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz, 8 cores, RAM: 31842 MB]
0.008 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=cinnamon XDG_SESSION_DESKTOP=cinnamon XDG_CURRENT_DESKTOP=X-Cinnamon SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
0.012 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 0] [Special: lmw] [Lang: en]
0.021 Video driver: x11
0.021 Available displays: 2
0.021 [0]: 0 - {[1920,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 144Hz}
0.021 [1]: HUAWEI AD80HW 24" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
0.251 Initialised OpenGL:[0] Mesa Intel(R) Xe Graphics (TGL GT2); driver: 4.6 (Core Profile) Mesa 24.0.9-0ubuntu0.2
0.251 [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes, ARB_pipeline_statistics_query:yes, ARB_gl_spirv:yes, ARB_ES2_compatibility:yes
0.251 [Version] 4.6
1.464 Graphics settings preset: integrated-gpuhigh
1.464 Dedicated video memory size 23881 MB (detected from Intel(R) Xe Graphics (TGL GT2); VendorID: 0x8086; DeviceID: 0x9a49)
1.483 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
1.483 [Max threads (load/render): 32/8] [Max texture size: 8192] [Tex.Stream.: false] [Rotation quality: low] [Other: sTDCWTl] [B:0,C:0,S:100]
1.492 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
1.566 Info ModManager.cpp:434: FeatureFlag expansion-shaders = false
1.566 Info ModManager.cpp:434: FeatureFlag freezing = false
1.566 Info ModManager.cpp:434: FeatureFlag quality = false
1.566 Info ModManager.cpp:434: FeatureFlag rail-bridges = false
1.566 Info ModManager.cpp:434: FeatureFlag segmented-units = false
1.566 Info ModManager.cpp:434: FeatureFlag space-travel = false
1.566 Info ModManager.cpp:434: FeatureFlag spoiling = false
1.578 Loading mod core 0.0.0 (data.lua)
1.592 Loading mod base 2.0.21 (data.lua)
1.696 Loading mod base 2.0.21 (data-updates.lua)
1.705 Loading mod factoriopedia-extended 0.1.0 (data-updates.lua)
1.754 Checksum for core: 3166350550
1.754 Checksum of base: 2157547950
1.754 Checksum of factoriopedia-extended: 2465718613
1.891 Prototype list checksum: 2902124721
1.916 Loading sounds...
2.006 Info PlayerData.cpp:68: Local player-data.json unavailable
2.006 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1732474448
2.007 Post-data load graphics options: [Light occlusion: no]
2.131 Initial atlas bitmap size is 8192
2.147 Created an atlas bitmap (size 8192x8176) [none]
2.161 Created an atlas bitmap (size 8192x8192) [none]
2.180 Created an atlas bitmap (size 8192x8192) [none]
2.192 Created an atlas bitmap (size 8192x8164) [none]
2.205 Created an atlas bitmap (size 8192x8108) [linear-magnification]
2.217 Created an atlas bitmap (size 8192x8120) [none]
2.221 Created an atlas bitmap (size 8192x2772) [none]
2.225 Created an atlas bitmap (size 8192x4352) [decal]
2.244 Created an atlas bitmap (size 8192x8192) [low-object]
2.260 Created an atlas bitmap (size 8192x6816) [low-object]
2.267 Created an atlas bitmap (size 8192x8136) [corpse-decay]
2.275 Created an atlas bitmap (size 8192x8164) [corpse-decay]
2.281 Created an atlas bitmap (size 8192x6628) [corpse-decay]
2.294 Created an atlas bitmap (size 8192x5632) [mipmap, linear-minification, linear-magnification, linear-mip-level]
2.300 Created an atlas bitmap (size 8192x8096) [terrain, mipmap, linear-minification, linear-mip-level]
2.304 Created an atlas bitmap (size 8192x4880) [terrain, mipmap, linear-minification, linear-mip-level]
2.305 Created an atlas bitmap (size 4096x2960) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
2.306 Created an atlas bitmap (size 4096x1808) [smoke, mipmap, linear-minification, linear-magnification]
2.308 Created an atlas bitmap (size 4096x3104) [mipmap]
2.322 Created an atlas bitmap (size 8192x2496) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
2.325 Created an atlas bitmap (size 8192x5168) [alpha-mask]
2.338 Created an atlas bitmap (size 8192x8188) [shadow, linear-magnification, alpha-mask]
2.339 Created an atlas bitmap (size 4096x2912) [shadow, linear-magnification, alpha-mask]
2.340 Created an atlas bitmap (size 4096x1312) [shadow, mipmap, linear-magnification, alpha-mask]
2.340 Created an atlas bitmap (size 2048x272) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
2.340 Loading 3D bitmaps.
2.349 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
2.379 Parallel sprite loader initialized (threads: 7, bitmaps: 4572)
13.792 Sprites loaded
13.816 Generated mipmaps (4) for atlas [8] of size 8192x8192
13.831 Generated mipmaps (4) for atlas [9] of size 8192x6816
13.844 Generated mipmaps (3) for atlas [13] of size 8192x5632
13.855 Generated mipmaps (3) for atlas [14] of size 8192x8096
13.861 Generated mipmaps (3) for atlas [15] of size 8192x4880
13.864 Generated mipmaps (3) for atlas [16] of size 4096x2960
13.867 Generated mipmaps (3) for atlas [17] of size 4096x1808
13.886 Generated mipmaps (3) for atlas [18] of size 4096x3104
13.890 Generated mipmaps (5) for atlas [19] of size 8192x2496
13.893 Generated mipmaps (3) for atlas [23] of size 4096x1312
13.908 Custom mipmaps uploaded (2122)
13.925 Video memory usage: 1415.97 MB (Atlases: 1404.43 MB, Textures: 11.54 MB)
13.975 Factorio initialised
13.976 Steam Storage Quota: 21446/23841
22.001 Loading blueprint storage: Local timestamp 1732407793, Cloud timestamp 1732407793
23.150 Loading level.dat: 624203 bytes.
23.150 Info Scenario.cpp:178: Map version 2.0.21-5
23.160 Loading blueprint storage: Local timestamp 1732407793, Cloud timestamp 1732407793
23.266 Checksum for script __level__/control.lua: 758477413
23.266 Checksum for script __factoriopedia-extended__/control.lua: 2018426753
26.688 Error CrashHandler.cpp:641: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
/tmp/factorio-build-RUVOHf/src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
/tmp/factorio-build-RUVOHf/src/Util/StacktraceToStream.cpp (60): Util::printStacktraceToStream(WriteStream&)
/tmp/factorio-build-RUVOHf/src/Util/Logger.cpp (334): Logger::writeStacktrace(WriteStream*, StackTraceInfo*)
/tmp/factorio-build-RUVOHf/src/Util/Logger.cpp (379): Logger::logStacktrace(StackTraceInfo*)
/tmp/factorio-build-RUVOHf/src/Util/CrashHandler.cpp (181): CrashHandler::writeStackTrace(CrashHandler::CrashReason)
/tmp/factorio-build-RUVOHf/src/Util/CrashHandler.cpp (644): CrashHandler::commonSignalHandler(int)
/tmp/factorio-build-RUVOHf/src/Util/CrashHandler.cpp (652): CrashHandler::SignalHandler(int)
0x7d271944531f
/tmp/factorio-build-RUVOHf/src/Map/Map.hpp (235): Map::getGame() const
/tmp/factorio-build-RUVOHf/src/Player.cpp (630): Player::getGameView() const
/tmp/factorio-build-RUVOHf/src/Input/PlayerInputSource.cpp (1790): PlayerInputSource::getGameView() const
/tmp/factorio-build-RUVOHf/src/Input/PlayerInputSource.cpp (419): PlayerInputSource::sendStateChanges()
/tmp/factorio-build-RUVOHf/src/Input/PlayerInputSource.cpp (410): PlayerInputSource::sendStateChanges()
/tmp/factorio-build-RUVOHf/src/Input/InputEventSender.cpp (34): InputEventSender::sendEvent(Map&, Event const&)
/tmp/factorio-build-RUVOHf/src/Script/LuaSimulation.cpp (263): LuaSimulation::luaMoveCursor(lua_State*)
/tmp/factorio-build-RUVOHf/src/Script/LuaBinder.hpp (281): LuaBinder<LuaSimulation>::callWrapperOnObject(lua_State*, LuaSimulation*, int)
/tmp/factorio-build-RUVOHf/src/Script/LuaBinder.hpp (319): LuaBinder<LuaSimulation>::pushCallWrapperClosureWithObjectOnStack(lua_State*, int, LuaSimulation*, LuaBinder<LuaSimulation>::FuncWrapper const*)::{lambda(lua_State*)#1}::operator()(lua_State*) const
/tmp/factorio-build-RUVOHf/src/Script/LuaBinder.hpp (316): LuaBinder<LuaSimulation>::pushCallWrapperClosureWithObjectOnStack(lua_State*, int, LuaSimulation*, LuaBinder<LuaSimulation>::FuncWrapper const*)::{lambda(lua_State*)#1}::_FUN(lua_State*)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (350): luaD_precall(lua_State*, lua_TValue*, int)
/tmp/factorio-build-RUVOHf/libraries/Lua/lvm.c (717): luaV_execute(lua_State*)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (426): luaD_call(lua_State*, lua_TValue*, int, int)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (137): luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (625): luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long)
/tmp/factorio-build-RUVOHf/libraries/Lua/lapi.c (1094): lua_pcallk
/tmp/factorio-build-RUVOHf/src/Util/LuaHelper.cpp (5035): LuaHelper::pCallWithStackTrace(lua_State*, int, int)
/tmp/factorio-build-RUVOHf/src/Script/LuaRemote.cpp (112): LuaInterface::runFunction(lua_State*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)
/tmp/factorio-build-RUVOHf/src/Script/LuaRemote.cpp (233): LuaRemote::luaRemoteCall(lua_State*)
/tmp/factorio-build-RUVOHf/src/Script/LuaBinder.hpp (281): LuaBinder<LuaRemote>::callWrapperOnObject(lua_State*, LuaRemote*, int)
/tmp/factorio-build-RUVOHf/src/Script/LuaBinder.hpp (319): LuaBinder<LuaRemote>::pushCallWrapperClosureWithObjectOnStack(lua_State*, int, LuaRemote*, LuaBinder<LuaRemote>::FuncWrapper const*)::{lambda(lua_State*)#1}::operator()(lua_State*) const
/tmp/factorio-build-RUVOHf/src/Script/LuaBinder.hpp (316): LuaBinder<LuaRemote>::pushCallWrapperClosureWithObjectOnStack(lua_State*, int, LuaRemote*, LuaBinder<LuaRemote>::FuncWrapper const*)::{lambda(lua_State*)#1}::_FUN(lua_State*)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (350): luaD_precall(lua_State*, lua_TValue*, int)
/tmp/factorio-build-RUVOHf/libraries/Lua/lvm.c (717): luaV_execute(lua_State*)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (426): luaD_call(lua_State*, lua_TValue*, int, int)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (137): luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*)
/tmp/factorio-build-RUVOHf/libraries/Lua/ldo.c (625): luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long)
/tmp/factorio-build-RUVOHf/libraries/Lua/lapi.c (1094): lua_pcallk
/tmp/factorio-build-RUVOHf/src/Util/LuaHelper.cpp (5043): LuaHelper::pCallWithStackTraceIfInstrumentMode(lua_State*, int, int)
/tmp/factorio-build-RUVOHf/src/Util/LuaHelper.cpp (5040): LuaHelper::pCallWithStackTraceIfInstrumentMode(lua_State*, int, int)
/tmp/factorio-build-RUVOHf/src/Script/LuaGameScript.cpp (1853): LuaGameScript::runLuaCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CommandSource const&, bool)
/tmp/factorio-build-RUVOHf/src/Script/LuaContext.cpp (284): LuaContext::runLuaCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CommandSource const&, RemoteInterfaceID const*, bool)
/tmp/factorio-build-RUVOHf/src/Scenario/Scenario.cpp (1438): Scenario::runCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CommandSource const&, RemoteInterfaceID const*, bool)
/tmp/factorio-build-RUVOHf/src/Simulation.cpp (96): Simulation::runCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
/tmp/factorio-build-RUVOHf/src/Gui/SimulationWidget.cpp (50): SimulationWidget::start(SimulationDefinition const&)
/tmp/factorio-build-RUVOHf/src/Gui/Factoriopedia.cpp (248): Factoriopedia::updateRecipe(ID<RecipePrototype, unsigned short>)
/tmp/factorio-build-RUVOHf/src/Gui/Factoriopedia.cpp (185): Factoriopedia::update(FactoriopediaID)
/tmp/factorio-build-RUVOHf/src/Gui/Factoriopedia.cpp (160): Factoriopedia::update()
/tmp/factorio-build-RUVOHf/src/Gui/Factoriopedia.cpp (655): Factoriopedia::select(FactoriopediaID)
/tmp/factorio-build-RUVOHf/src/Gui/Factoriopedia.cpp (105): operator()
/opt/gcc-13.2.0/include/c++/13.2.0/bits/invoke.h (61): __invoke_impl<void, Factoriopedia::Factoriopedia(const GuiContext&, FactoriopediaID)::<lambda(FactoriopediaID)>&, FactoriopediaID>
/opt/gcc-13.2.0/include/c++/13.2.0/bits/invoke.h (111): __invoke_r<void, Factoriopedia::Factoriopedia(const GuiContext&, FactoriopediaID)::<lambda(FactoriopediaID)>&, FactoriopediaID>
/opt/gcc-13.2.0/include/c++/13.2.0/bits/std_function.h (290): _M_invoke
/opt/gcc-13.2.0/include/c++/13.2.0/bits/std_function.h (591): std::function<void (FactoriopediaID)>::operator()(FactoriopediaID) const
/tmp/factorio-build-RUVOHf/src/Gui/SelectListGui.cpp (185): SelectListGui<FactoriopediaID>::setSelectedID(FactoriopediaID, NamedBool<SendEventTag>)
/tmp/factorio-build-RUVOHf/src/Gui/SelectListGui.cpp (485): SelectListGui<FactoriopediaID>::selectByClicking(FactoriopediaID, bool)
/opt/gcc-13.2.0/include/c++/13.2.0/bits/std_function.h (591): std::function<void (agui::MouseEvent const&)>::operator()(agui::MouseEvent const&) const
/tmp/factorio-build-RUVOHf/libraries/Agui/Widget/Widget.cpp (1670): agui::Widget::dispatchClick(agui::MouseEvent const&)
/tmp/factorio-build-RUVOHf/libraries/Agui/Widget/Widget.cpp (1649): agui::Widget::dispatchMouseDown(agui::MouseEvent const&)
/tmp/factorio-build-RUVOHf/libraries/Agui/Gui.cpp (264): agui::Gui::handleMouseDown(agui::MouseEvent const&)
/tmp/factorio-build-RUVOHf/libraries/Agui/Gui.cpp (223): agui::Gui::handleMouseDown(agui::MouseInput const&)
/tmp/factorio-build-RUVOHf/libraries/Agui/Gui.cpp (215): agui::Gui::handleMouseDown(agui::MouseInput const&)
/tmp/factorio-build-RUVOHf/libraries/Agui/Gui.cpp (981): agui::Gui::dispatchMouseEvents()
/tmp/factorio-build-RUVOHf/libraries/Agui/Gui.cpp (814): agui::Gui::logic(bool)
/tmp/factorio-build-RUVOHf/src/GlobalContext.cpp (1399): GlobalContext::updateGui(bool)
/tmp/factorio-build-RUVOHf/src/MainLoop.cpp (1088): MainLoop::processEvent(Event const&, bool)
/tmp/factorio-build-RUVOHf/src/MainLoop.cpp (762): MainLoop::processEvents(bool)
/tmp/factorio-build-RUVOHf/src/MainLoop.cpp (603): MainLoop::prePrepare()
/tmp/factorio-build-RUVOHf/src/MainLoop.cpp (683): MainLoop::mainLoopStep(WorkerThread&, MainLoop::HeavyMode)
/tmp/factorio-build-RUVOHf/src/MainLoop.cpp (412): MainLoop::run(Filesystem::Path const&, Filesystem::Path const&, bool, bool, std::function<void ()>, Filesystem::Path const&, MainLoop::HeavyMode)
/tmp/factorio-build-RUVOHf/src/Main.cpp (1357): fmain(int, char**)
/tmp/factorio-build-RUVOHf/src/Main.cpp (1379): main
0x7d271942a1c9
__libc_start_main
_start
0xffffffffffffffff
Stack trace logging done
27.919 Info LuaRemote.cpp:77: remote call, factoriopedia-extended::landfill