Page 1 of 1

[2.0.39] Crash (BoundingBox::calcVectorExtension)

Posted: Fri Mar 07, 2025 4:21 am
by heyqule
What did you do?
I was debugging a mod compatibility issue.

Oddly enough, it happens only when both ColonyBuilder and ERM_Terran mods are enable.

When I disable my ERM_Terran or ColonyBuilder, the game is fine.

What happened?
Factorio had an "Unexpected error occurred" crash. :D

178.039 Error FixedPointNumber.hpp:31: double value not in range for fixed point number: nan
C:\Users\build\AppData\Local\Temp\factorio-build-OE5MXk\src\Util\BoundingBox.cpp(258): BoundingBox::calcVectorExtension
C:\Users\build\AppData\Local\Temp\factorio-build-OE5MXk\src\Entity\Unit.cpp(479): Unit::lookAhead
C:\Users\build\AppData\Local\Temp\factorio-build-OE5MXk\src\AI\WanderBehavior.cpp(186): WanderBehavior::update
C:\Users\build\AppData\Local\Temp\factorio-build-OE5MXk\src\AI\WanderBehavior.cpp(151): WanderBehavior::executeInternal
C:\Users\build\AppData\Local\Temp\factorio-build-OE5MXk\src\AI\Commandable.cpp(276): Commandable::runBehavior
C:\Users\build\AppData\Local\Temp\factorio-build-OE5MXk\src\Entity\Unit.cpp(253): Unit::update
.....

What did you expect to happen instead? It might be obvious to you, but do it anyway!
It shouldn't crash.

Does it happen always, once, or sometimes?
Always

Reproduce[\b]
Sync the mods and load the save, Run /c game.speed = 10, it crashes in a few seconds.

Re: [2.0.39] Crash (BoundingBox::calcVectorExtension)

Posted: Mon Mar 10, 2025 5:49 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.