[2.0.72] Crash "!robot.isDeactivatedByScript() was not true"

This subforum contains all the issues which we already resolved.
andrewreds
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Dec 18, 2025 2:44 pm
Contact:

[2.0.72] Crash "!robot.isDeactivatedByScript() was not true"

Post by andrewreds »

Hi,

I am using the bp100 mod with logistics bots on the map. I was pressing the "Disable all entities" button when I hit this crash.

I've created a minimal save file which reproduces it. Alternate between clicking the "Disable all entities" and the "Enable all entities" button, a few times, and the game crashes.

This forum is erroring with a "http error" when I try and attach the save. So here is a google drive link: https://drive.google.com/file/d/1ROQHH9 ... sp=sharing

Stack trace of crash:

Code: Select all

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
start_thread
__clone3
0xffffffffffffffff
Stack trace logging done
  67.038 Error RobotMoveIntention.cpp:29: !robot.isDeactivatedByScript() was not true
  67.038 Error CrashHandler.cpp:643: Received 6
Logger::writeStacktrace skipped.
Rseding91
Factorio Staff
Factorio Staff
Posts: 17059
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.72] Crash "!robot.isDeactivatedByScript() was not true"

Post by Rseding91 »

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

Return to “Resolved Problems and Bugs”