Page 1 of 1

[Genhis][2.0.47] Crash undoing cargo-wagon deconstruction from map view (LogisticCellCharger::updateChargingSpots)

Posted: Fri May 09, 2025 6:17 am
by RedRafe
Hello,

I would like to report a crash to desktop when undoing a marking for deconstruction of a cargo wagon while in map view. This happened in multiplayer but I tested & reproduced it perfectly in single player as well.

Steps to reproduce it
0. Open the provided save "Wagon_Crash" provided in the attachments
1. From map view, mark for deconstruction THE cargo wagon marked at the last chat location [gps=-784,982,redmew]
2. Press CTRL+Z to undo the action a couple seconds later
3. Game crashes to desktop

Does it happen always, once, or sometimes?
- Happens every time with the provided save, with the marked wagon.
- Does not happen with all the wagons on map.
- May be related to the wagon's equipment grid request / wagon's own logistic network trying to deconstruct itself
- wagon or loco do not have custom code to control their behavior from mod/scenario side AFAIK.

Mods:
- Krastorio2
- Rate Calculator
- Recipe Book
- Logistic Helper
- Bottleneck Lite
- Remove Biters Corpses

Attachments:
- Wagon_Crash.zip = savefile
- factorio-current (copy).log = log of the previous crash


Cheers

Re: [Genhis][2.0.47] Crash undoing cargo-wagon deconstruction from map view (LogisticCellCharger::updateChargingSpots)

Posted: Tue May 13, 2025 12:11 pm
by Genhis
Thanks for the report, this is fixed for 2.0.50.

Re: [Genhis][2.0.47] Crash undoing cargo-wagon deconstruction from map view (LogisticCellCharger::updateChargingSpots)

Posted: Tue May 13, 2025 1:09 pm
by RedRafe
Thanks a lot :)