Page 1 of 1

[0.18.26] Crash in pathfinder: "Trying to make chunk at unreasonable position"

Posted: Fri May 22, 2020 6:04 pm
by regresscheck
I've been playing with variety of mods like Krastorio 2 and AAI. When I was messing with circuit network this crash happened. See attachments.

Re: [0.18.26] Crash in pathfinder: "Trying to make chunk at unreasonable position"

Posted: Fri May 22, 2020 6:26 pm
by Loewchen
Post the save and steps to reproduce please.

Re: [0.18.26] Crash in pathfinder: "Trying to make chunk at unreasonable position"

Posted: Fri May 22, 2020 7:37 pm
by regresscheck
Here's a save. While I was playing a bit with it, I didn't manage to cause the error the same way I did - by reattaching circuit network, etc.

I remember that I was attaching/reattaching input singals for Unit Controllers(which sends my units with biter AI). Which seem suspicious, like some wrong signal was sent to Unit Controller and it caused the crash. I managed to reproduce it by making closest arithmetic combinator(for Y signal) do +10M to input, causing a crash with the same stacktrace/error.

Re: [0.18.26] Crash in pathfinder: "Trying to make chunk at unreasonable position"

Posted: Fri Jun 26, 2020 9:40 pm
by boskid
Thanks for the report. It is not a bug. With provided reproduction it is easy to crash however this is intended assertion to catch non-expected behaviors. When a mod "aai-programmable-vehicles" requests path to goal at non-reasonable position and there is crash due to pathfinder looking into chunk at non-reasonable position, it did catch that properly. This is a mod issue for not sanitizing input.