[Genhis] [1.1.55] Crash with deconstruction order by backwards smart-dragging cross-force

This subforum contains all the issues which we already resolved.
Honktown
Smart Inserter
Smart Inserter
Posts: 1041
Joined: Thu Oct 03, 2019 7:10 am
Contact:

[Genhis] [1.1.55] Crash with deconstruction order by backwards smart-dragging cross-force

Post by Honktown »

smart dragging over an entity belonging to another force seems to cause an error, but only in the reverse direction. Applies to belts, and I am trying to reproduce with pipes.

Visual example:
crash_super_underground__2022-03-06_f1.1.53.mp4
(1.14 MiB) Downloaded 217 times

error cut from log:
error_snippet.txt
(6.85 KiB) Downloaded 125 times

Multiple steps required:
1. Place a single belt as player force facing north
2. /c game.player.force = "neutral"
3. clear cursor or not, doesn't matter
4. select belt, this time direction opposite to the existing belt
5. place and drag "backwards", over the first belt
6. crash as undergrounds are substituted

Expectation: ...not crash.

Pipe example, trying to reproduce:
crash_super_underpipe__2022-03-06_f1.1.53.mp4
(884.95 KiB) Downloaded 117 times
I have mods! I guess!
Link
Honktown
Smart Inserter
Smart Inserter
Posts: 1041
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: [1.1.55] deconstruction order by backwards smart-dragging cross-force crash

Post by Honktown »

Pipe crash: reproduction.
1) place pipes in a line, as one force
2) change force
3) place or ghost-place the first underground pipe on the long-end, on the nearest tile, facing away. If on the nearest tile, as the opposite underground is moving along the line, the pipes will have a reddish box instead of the normal yellowish selection box.
4) The other end of the underground must be ghost placed. Confirm placing the pipe at the shortest distance i.e. in the tile immediately after the end of the length of pipes. If done right, the game will crash.

Note: image does not show second pipe being ghost-placed. Normal entity placement succeeds at replacing the other pipes, which is an additional bug, as it is cross-force mining when the entities cannot be mined normally.
pipe_crash.jpg
pipe_crash.jpg (64.95 KiB) Viewed 3042 times
Attachments
pipe_crash_snip.txt
(6.55 KiB) Downloaded 217 times
I have mods! I guess!
Link
KeepResearchinSpoons
Long Handed Inserter
Long Handed Inserter
Posts: 77
Joined: Tue Dec 01, 2020 6:57 pm
Contact:

Re: [1.1.55] Crash with deconstruction order by backwards smart-dragging cross-force

Post by KeepResearchinSpoons »

edit: they are the same vids provided in the opening post; I just missed them there;
small pocs vids
Attachments
crash_super_underpipe__2022-03-06_f1.1.53.mp4
(884.95 KiB) Downloaded 269 times
crash_super_underground__2022-03-06_f1.1.53.mp4
(1.14 MiB) Downloaded 269 times
Genhis
Factorio Staff
Factorio Staff
Posts: 596
Joined: Wed Dec 24, 2014 8:19 am
Contact:

Re: [Genhis] [1.1.55] Crash with deconstruction order by backwards smart-dragging cross-force

Post by Genhis »

Thanks for the report. It's now fixed for the next release.
Post Reply

Return to “Resolved Problems and Bugs”