[2.0.32] Crash cloning transport belts (TransportLine.cpp:1129: i == 0 || toAdjust >= 0)
Posted: Tue Feb 25, 2025 10:10 pm
I received a report with log for the mod Pirate Ship.
This mod has a boat that can contain a factory which moves sideways by cloning or teleporting every entity on the deck (cloning in the case of belts). After playing the game for some while, the player found that the game reliably crashed when undocking the ship, except when all belts were removed from the surface.
The log file (attached) has a stack trace beginning:
This mod has a boat that can contain a factory which moves sideways by cloning or teleporting every entity on the deck (cloning in the case of belts). After playing the game for some while, the player found that the game reliably crashed when undocking the ship, except when all belts were removed from the surface.
The log file (attached) has a stack trace beginning:
Code: Select all
C:\Users\build\AppData\Local\Temp\factorio-build-ZDK82g\src\Util\ReleaseAssert.cpp(7):
C:\Users\build\AppData\Local\Temp\factorio-build-ZDK82g\src\Belt\TransportLine.cpp(1129): TransportLine::repositionItems