[2.0.73] Crash deactivating bot waiting to charge, RobotMoveIntention check fails

Things that has been reported already before.
MRX8024
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Oct 02, 2025 10:28 am
Contact:

[2.0.73] Crash deactivating bot waiting to charge, RobotMoveIntention check fails

Post by MRX8024 »

-What did you do?
Apply the command /c game.player.selected.active = false to a bot that was waiting for a charging slot near a roboport.

-What happened?
When the bot turn in the charging queue came up, the game crashed.

-What did you expect to happen instead? It might be obvious to you, but do it anyway!
The bot should remain in the location where it was deactivated.

-Does it happen always, once, or sometimes?
Always.

Visualization - https://youtu.be/kPtshIV24vE

Error from log:

Code: Select all

78.234 Player 0 ran command: game.player.selected.active = false
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (336): writeStacktrace
src/Util/Logger.cpp (381): logStacktrace
src/Util/Logging.cpp (59): logStackTrace
src/Util/Logging.cpp (107): logAndAbortOrThrow
src/Util/Logging.cpp (96): logAndAbortOrThrow
_Z19ReleaseAssertFailedPKcjS0_
src/Logistics/RobotMoveIntention.cpp (29): set
src/Logistics/LogisticCellCharger.cpp (212): updateChargingSpots
src/Logistics/LogisticCellCharger.cpp (111): updateCharging
src/Entity/Roboport.cpp (295): update
src/Surface/ActiveEntitiesOrder.hpp (138): update<Roboport>
src/Surface/ActiveEntitiesOrder.hpp (146): update
src/Surface/ActiveEntitiesList.hpp (13): update
src/Surface/Surface.cpp (2445): update
src/Map/Map.cpp (1322): updateEntities
src/Map/Map.cpp (1264): update
src/Game.cpp (191): update
src/Scenario/Scenario.cpp (1222): update
src/Scenario/Scenario.cpp (1134): updateStep
src/MainLoop.cpp (1435): gameUpdateStep
src/MainLoop.cpp (1228): 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
0x7f926c4aa6d2
0x7f926c541b7b
0xffffffffffffffff
Stack trace logging done
  90.715 Error RobotMoveIntention.cpp:29: !robot.isDeactivatedByScript() was not true
  90.715 Error CrashHandler.cpp:643: Received 6
Logger::writeStacktrace skipped.
  90.715 Error CrashHandler.cpp:190: Map tick at moment of crash: 9776220
  90.715 Error Util.cpp:95: Unexpected error occurred.
Thanks.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16586
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.73] Crash deactivating bot waiting to charge, RobotMoveIntention check fails

Post by Rseding91 »

Thanks for the report. This is a duplicate of 132112
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Duplicates”