Page 1 of 1

[boskid][1.1.5] Crash: "Error TransportLineUpdateContext.cpp:29: ..."

Posted: Sat Dec 05, 2020 5:11 pm
by distortions864
Seems to crash when mining a belt, probably related to scenario script.

Re: [1.1.5] Crash: "Error TransportLineUpdateContext.cpp:29: Trying to use common update context during threaded update"

Posted: Sat Dec 05, 2020 5:20 pm
by distortions864
If it is related to the scenario script, the related GitHub is available here:
https://github.com/Distortions81/M45-Factorio-Lua

Re: [1.1.5] Crash: "Error TransportLineUpdateContext.cpp:29: Trying to use common update context during threaded update"

Posted: Sat Dec 05, 2020 7:08 pm
by boskid
Do you have any steps to reproduce this crash from given autosave or from clean state?

From this stack trace i see there is nothing special so only reasonable way to crash would be to have inconsistent game state, which could happen due to ghost of some entities overlapping real entities. I know of at least one bug that is able to create overlapping ghosts but i need to know if this is the same one (assuming this is due to overlapping ghost)

Re: [1.1.5] Crash: "Error TransportLineUpdateContext.cpp:29: Trying to use common update context during threaded update"

Posted: Sat Dec 05, 2020 7:21 pm
by distortions864
I'll look into it, it happened on a public multiplayer server.

Re: [boskid][1.1.5] Crash: "Error TransportLineUpdateContext.cpp:29: ..."

Posted: Sat Dec 05, 2020 8:41 pm
by distortions864
We reproduced it with boskid.
In my defense, I did actually ask... before resorting to such a horrible hack.
viewtopic.php?f=6&t=48718

Re: [boskid][1.1.5] Crash: "Error TransportLineUpdateContext.cpp:29: ..."

Posted: Mon Dec 07, 2020 2:07 pm
by boskid
Ok, crash with transport lines is now fixed for 1.1.6.

My suggestion is however to not use your teleport hack anyway as it has multiple other issues that i noticed: fast replacing belt will loose content, same issue happens when fast replacing chests (whole chest content will be deleted). There are also desyncs possible when fast replacing corner transport belts.