Page 1 of 1

[2.0.18] Crash when electric pole was destroyed while gui for it was open.

Posted: Fri Nov 15, 2024 8:25 pm
by Oshida
I got my first ever crash playing factorio and reading the log i am unsure what caused the crash


All i remember is that the big "stomper" from gleba started to walk on my base and i was watching, i think i tried to open the blueprint menu as the electricity menu was open but i am unsure.

Here is the crash log and dump, i don't really know what i should do with those

Re: [2.0.18] I don't really know what to do with crash reports

Posted: Fri Nov 15, 2024 8:36 pm
by boskid
This looks like one of the crashes that were identified and fixed while 2.0.19 release was already going so it should be fixed only in 2.0.20.

It is one of the corner cases we failed to handle correctly. In 2.0.18 there was a feature added that keeps GUI open even when entity dies or is revived, however it looks like there was an issue identified with electric poles because when they die, they no longer provide electric network to show statistics and so the gui should be closed, however it is not and so it crashes trying to read electric network statistics from non existing network.

-- edit:

I will rename the topic to more accurately describe what has happened.

Re: [2.0.18] Crash when electric pole was destroyed while gui for it was open.

Posted: Sat Nov 16, 2024 1:01 am
by Oshida
So this bug happened because i was reading the very specific pole the stomper decided to walk on.

That is pretty funny, nice to see that it's "about to be fixed"