[Genhis][2.0.19] Crash with construction_robot.enabled = false "!robot.isDeactivatedByScript()"

This subforum contains all the issues which we already resolved.
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 525
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[Genhis][2.0.19] Crash with construction_robot.enabled = false "!robot.isDeactivatedByScript()"

Post by Mylon »

In testing the 2.0 update for my mod Everbuild, I caused a game crash.

Here is the end of the log:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
D:\Apps\Factorio\src\Util\ReleaseAssert.cpp(7): ReleaseAssertFailed
D:\Apps\Factorio\src\Logistics\RobotMoveIntention.cpp(29): RobotMoveIntention::set
D:\Apps\Factorio\src\Entity\RobotWithLogisticInterface.cpp(1262): RobotWithLogisticInterface::moveOrScheduleMovement
D:\Apps\Factorio\src\Entity\RobotWithLogisticInterface.cpp(330): RobotWithLogisticInterface::moveToStationLogic
D:\Apps\Factorio\src\Entity\RobotWithLogisticInterface.cpp(1273): RobotWithLogisticInterface::handleChargingAndStationing
D:\Apps\Factorio\src\Entity\ConstructionRobot.cpp(297): ConstructionRobot::update
D:\Apps\Factorio\src\Map\Map.cpp(2384): Map::performPlannedEntityUpdates
D:\Apps\Factorio\src\Map\Map.cpp(1278): Map::updateEntities
D:\Apps\Factorio\src\Game.cpp(175): Game::update
D:\Apps\Factorio\src\Scenario\Scenario.cpp(1160): Scenario::updateStep
D:\Apps\Factorio\src\MainLoop.cpp(1400): MainLoop::gameUpdateStep
D:\Apps\Factorio\src\MainLoop.cpp(1209): MainLoop::gameUpdateLoop
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\functional(823): std::_Func_impl_no_alloc<`MainLoop::mainLoopStep'::`2'::<lambda_1>,void>::_Do_call
D:\Apps\Factorio\src\Util\WorkerThread.cpp(71): WorkerThread::loop
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\thread(56): std::thread::_Invoke<std::tuple<void (__cdecl WorkerThread::*)(void),WorkerThread *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF85AA37374)
00007FF85AA37374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF85B49CC91)
00007FF85B49CC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
1295.827 Error RobotMoveIntention.cpp:29: !robot.isDeactivatedByScript() was not true
1295.827 Error CrashHandler.cpp:643: Received 22
Logger::writeStacktrace skipped.
1295.827 Error CrashHandler.cpp:190: Map tick at moment of crash: 216629
1295.883 Info CrashHandler.cpp:318: Executable CRC: 3515795095
1295.884 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.
1301.092 Uploading log file
1301.162 Error CrashHandler.cpp:270: Heap validation: success.
1301.162 Creating crash dump.
1301.379 CrashDump success
I triggered this by placing a ghost and when the construction bot went to place it, the game crashed.

To recreate:
Install the provided mod
Start a new game
/cheat all
shift-click a building such as the stone furance.
Wait for construction bot to attempt to build it

Curiously, this mod was sort-of working in 2.0.17 but the construction robot was behaving strangely, moving and teleporting when it should have been disabled, but not returning to the player's inventory until re-enabled.
Attachments
Everbuild_2.0.0.zip
(47.1 KiB) Downloaded 12 times
Genhis
Factorio Staff
Factorio Staff
Posts: 694
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis][2.0.19] Crash with construction_robot.enabled = false "!robot.isDeactivatedByScript()"

Post by Genhis »

Thanks for the report, it is fixed for 2.0.24.
Post Reply

Return to “Resolved Problems and Bugs”