[StrangePan][1.1.110] Crash in PathFindAlgorithm.cpp calling request_path

This subforum contains all the issues which we already resolved.
kelianmao
Burner Inserter
Burner Inserter
Posts: 18
Joined: Thu Jan 14, 2021 5:52 pm
Contact:

[StrangePan][1.1.110] Crash in PathFindAlgorithm.cpp calling request_path

Post by kelianmao »

I can consistently cause a crash when calling surface.request_path, with stack trace:

Code: Select all

  53.346 Error PathFindAlgorithm.cpp:1010: newChunkComponent->component != ChunkComponent::noComponent || newChunkComponent->chunk == this->mapPositionToChunkPosition(current.position) was not true
Attached is a minimal mod and map and log. If you click anywhere with iron gears on your cursor, it calls request_path, and crashes. The positions in the call are currently hard coded for reproducibility, but many nearby paths also crash.
Attachments
240924_crash.7z
(769.9 KiB) Downloaded 24 times
StrangePan
Factorio Staff
Factorio Staff
Posts: 136
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan][1.1.110] Crash in PathFindAlgorithm.cpp calling request_path

Post by StrangePan »

Thanks for the report! Good news is that your mod, save, and reproduction steps all worked in 2.0, and the issue is fixed for the next release.

Edit: at least, the very narrow area of code that I exercised during testing worked.
Post Reply

Return to “Resolved Problems and Bugs”