Page 1 of 1

[2.0.32] Crash cloning transport belts (TransportLine.cpp:1129: i == 0 || toAdjust >= 0)

Posted: Tue Feb 25, 2025 10:10 pm
by thesixthroc
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:

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

Re: [2.0.32] Crash cloning transport belts (TransportLine.cpp:1129: i == 0 || toAdjust >= 0)

Posted: Tue Feb 25, 2025 11:22 pm
by Muche

Re: [2.0.32] Crash cloning transport belts (TransportLine.cpp:1129: i == 0 || toAdjust >= 0)

Posted: Wed Feb 26, 2025 2:55 am
by thesixthroc
Possibly, the crash line is at least in the same file.

Re: [2.0.32] Crash cloning transport belts (TransportLine.cpp:1129: i == 0 || toAdjust >= 0)

Posted: Wed Feb 26, 2025 5:03 am
by boskid
Without save file and reproduction steps i am going to call it a duplicate of 126843 because i have no means to rule it out.