[boskid][2.0.25] crash when deconstructing a power switch

This subforum contains all the issues which we already resolved.
fartmonger
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Dec 09, 2024 12:29 am
Contact:

[boskid][2.0.25] crash when deconstructing a power switch

Post by fartmonger »

I tried to deconstruct a power switch on Fulgora, in remote view, and the game crashed. It's reproducible by opening this save and marking the power switch on screen for deconstruction. As soon as a bot picks it up, game crashes. If I manually disconnect the wires to it first then it's fine. Mostly have QOL mods, not much that should affect electric network that I know of. Thanks for checking it out!
Attachments
_autosave4.zip
(32.52 MiB) Downloaded 10 times
factorio-current.log
(23.05 KiB) Downloaded 14 times
Last edited by fartmonger on Sun Dec 15, 2024 11:51 pm, edited 1 time in total.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3256
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.25] crash when deconstructing a power switch

Post by boskid »

It was supposed to be fixed in 2.0.25 so it must be something different, taking out of duplicates
Arcus
Burner Inserter
Burner Inserter
Posts: 14
Joined: Thu Dec 14, 2023 12:07 pm
Contact:

Re: [2.0.25] crash when deconstructing a power switch

Post by Arcus »

Hmm, I think I might have gotten the same issue, so I'll upload my log + dump files here if it helps (was doing some tests on fusion reactor efficiency and wanted to isolate some power connections, crash seems to have occurred when I attempted to disconnect/deconstruct a power switch). Unfortunately the last game save I had was a full 30 minutes before the crash so I'm not sure it'll help, but I'll include it anyway. Also on latest experimental (2.0.25), mods in the save were Editor Extensions, Rate Calculator, Factory Planner.
Attachments
_autosave1.zip
(1.8 MiB) Downloaded 5 times
factorio-dump-previous.dmp
(864.43 KiB) Downloaded 5 times
factorio-previous.log
(24.33 KiB) Downloaded 10 times
Loewchen
Global Moderator
Global Moderator
Posts: 9504
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.25] crash when deconstructing a power switch

Post by Loewchen »

boskid wrote: Sun Dec 15, 2024 5:08 am It was supposed to be fixed in 2.0.25 so it must be something different, taking out of duplicates
The one I linked is still open and I haven't seen it in the 2.0.25 changelog, the only fixed one with a similar crash I found (121056) was fixed in 2.0.17.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3256
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.25] crash when deconstructing a power switch

Post by boskid »

Loewchen wrote: Sun Dec 15, 2024 4:20 pm The one I linked is still open and I haven't seen it in the 2.0.25 changelog, the only fixed one with a similar crash I found (121056) was fixed in 2.0.17.
121056 was fixed in 2.0.17 and it was related to power switch trying to disconnect while not setup.
Other issue related to power switch i am thinking about is 122282, it involves dying power switches. During that fix i also changed one assert into a release assert which i suspect may detect more cases, this is why i will want to take a closer look at the new cases if they happen in version 2.0.25+
yangbowen1028
Burner Inserter
Burner Inserter
Posts: 8
Joined: Tue Apr 09, 2019 7:08 am
Contact:

Re: [boskid][2.0.25] crash when deconstructing a power switch

Post by yangbowen1028 »

I also have a crash that fails the same assert when mining a power switch.

To reproduce, simply mine the power switch to the left of the player.
Attachments
factorio-dump-current.dmp
(1.31 MiB) Downloaded 4 times
factorio-current.log
(33.73 KiB) Downloaded 7 times
1.zip
(30.72 MiB) Downloaded 6 times
foreverwintr
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Oct 31, 2024 4:39 am
Contact:

Re: [boskid][2.0.25] crash when deconstructing a power switch

Post by foreverwintr »

Not sure if more crash reports are helpful, but here is mine. Also happened while deconstructing a power switch on Fulgora.
Attachments
factorio-current.log
(14.26 KiB) Downloaded 7 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3256
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][2.0.25] crash when deconstructing a power switch

Post by boskid »

Thanks for the report. This issue should be now fixed for 2.0.26. It was a bug that i accidentaly introduced by fixing 122282 which was not detected early as there were no tests that would destroy power switch that was in a closed state.
Post Reply

Return to “Resolved Problems and Bugs”