I'm playing the mod Warp Drive Machine currently and am experiencing some crashes - if they happen, it's always exactly when my ship get's teleported to/from space to a different location (which seems to be implemented by creating a new surface, moving the relevant ship tiles over to the new surface and then deleting the old one.
This is the crashlog:
127350.267 Deleting surface planet_285_player_WDM_CAVE index 6.
127396.644 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 (181): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x7f9dd5eae42f
_ZNK9Inventory15getOwningEntityEPK9ItemStack
src/Gui/InventoryGuiSlot.cpp (610): getOwningEntity
src/Gui/InventoryGuiSlot.cpp (618): isGhostGui
src/Gui/InventoryGuiSlot.cpp (650): maybeTransferStack
src/Gui/InventoryGuiSlot.cpp (586): mouseEnter
libraries/Agui/Widget/Widget.cpp (1627): dispatchMouseEnter
libraries/Agui/Gui.cpp (1263): orderToUpdateWidgetUnderMouse
libraries/Agui/Gui.cpp (480): getWidgetUnderMouse
src/Input/InputState.cpp (186): determineWidgetUnderMouse
src/Input/InputState.cpp (218): inGui
src/Gui/OutputConsoleRichTextHoverManager.cpp (32): update
src/Player.cpp (585): updateRichTagsHover
src/Player.cpp (853): postUpdate
src/Game.cpp (198): update
src/Scenario/Scenario.cpp (1220): update
src/Scenario/Scenario.cpp (1133): updateStep
src/MainLoop.cpp (1478): gameUpdateStep
src/MainLoop.cpp (1272): gameUpdateLoop
/opt/gcc-13.2.0/lib/gcc/x86_64-pc-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/std_function.h (591): operator()
src/Util/WorkerThread.cpp (70): loop
/tmp/tmp.dlP10F34z6/objdir/../gcc-13.2.0/libstdc++-v3/src/c++11/thread.cc (104): execute_native_thread_routine
/var/tmp/portage/sys-libs/glibc-2.41-r5/work/glibc-2.41/nptl/pthread_create.c (448): start_thread
../sysdeps/unix/sysv/linux/x86_64/clone3.S (78): __clone3
0xffffffffffffffff
Stack trace logging done
127422.547 Error CrashHandler.cpp:190: Map tick at moment of crash: 19266301
127422.547 Error Util.cpp:95: 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.
127424.651 Uploading log file
[2.0.66] Crash during some surface manipulation (mod Warp Drive Machine)
Re: [2.0.66] Crash during some surface manipulation (mod Warp Drive Machine)
Post the complete log and your save file please, see 3638.
Re: [2.0.66] Crash during some surface manipulation (mod Warp Drive Machine)
Trust me, neither is necessary in this case. I provided a save file anyways, not because it's necessary but because it's an easy way to reproduce the crash like this:
Load the save, sync mods as needed. The save starts 6 seconds prior to warp. There is one chest with lots of stuff in it. Mentally prepare to shift-move the stacks when the timer approaches zero (the ship warps on reaching zero, so when the timer shows 0:01 it's about to happen any moment). If you manage to move one of the stacks at the exact right time, the game crashes. I tried it on that save two times in a row now and succeeded two times on first try to crash the game - so it's not too hard.
Load the save, sync mods as needed. The save starts 6 seconds prior to warp. There is one chest with lots of stuff in it. Mentally prepare to shift-move the stacks when the timer approaches zero (the ship warps on reaching zero, so when the timer shows 0:01 it's about to happen any moment). If you manage to move one of the stacks at the exact right time, the game crashes. I tried it on that save two times in a row now and succeeded two times on first try to crash the game - so it's not too hard.
- Attachments
-
- factorio-bug-130852.zip
- (3.27 MiB) Downloaded 9 times
Re: [2.0.66] Crash during some surface manipulation (mod Warp Drive Machine)
Thanks for the report and the save file. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.