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

Bugs that are actually features.
regresscheck
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri May 22, 2020 6:00 pm
Contact:

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

Post 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.
Attachments
factorio-crashed.log
(37.89 KiB) Downloaded 81 times
Loewchen
Global Moderator
Global Moderator
Posts: 10378
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

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

Post by Loewchen »

Post the save and steps to reproduce please.
regresscheck
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri May 22, 2020 6:00 pm
Contact:

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

Post 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.
Attachments
Bug.zip
(4.35 MiB) Downloaded 61 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4161
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post 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.
Post Reply

Return to “Not a bug”