[Dominik] [0.17.68] Crashes involving FluidBox during save and in gameplay
Posted: Tue Sep 17, 2019 2:38 pm
Hey, I'm running modded game with major mods Space Exploration (and all dependancies) + Bobs (more or less half mods). Also some QoL etc. All in all its around 30 mods. More relevant - fluid mods I'm running are flow control, compressed fluids and fluids from space exploration. I was playing normal game, but last ~20-30 hours are on cheat mode to have fund designing nice working moon bases. I'm experiencing those crashes while playing on Ubuntu 18.04 steam version. When I get home I'll also check if this happens on windows machine.
I've tried to get easy recreating steps ready, but crashes seem to be random. By random I mean: get autosave -> place few entities -> save manually -> crash. repeat that again -> no crash. Sometimes I can play an hour without issue at all, while some times I'll get 3 crashes between 2 autosaves (at different moments).
I don't have first few crash logs, since I was trying to recreate crashes and write down steps to be able to reporduce it more easily so that I could supply save file for debugging as well. Right now I'm uploading 3 logs.
Log1 - crash while saving: https://pastebin.com/1gg8mHjF
Log2 - crash in runtime: https://pastebin.com/tCTCevh1
Log3 - crash while saving: https://pastebin.com/fQ3t4Avc
Log2 needs a comment: After loading game, pretty much no action was taken and especially anything to do with fluids. After loading game again from the same point, game continued as normal for an hour or so.
More context: I'm building moon bases for space exploration science packs - right now I'm focused on astronomics to reach 2.04/s extended astronomic catalogue, which for scale is around 7000 machines. My previous version was much smaller <1000 machines. it was running smoothly until 0.17.62 or so (then I went for holidays). I've built around 80% of production so I wanted to start it, test and saturate everything. This is when problem first appeared. Since first crash I've done maybe 3 hours in-game. But due to reloading and such, game might have progressed about 1 hour forward or so. For first 90 hours or so there was no issue at all, so I'm very sceptical this is an issue with earth base and therefore compressed fluids mod (only place I use this mod). My previous astronomic base was also running for hours without issue with fluids. I'm using flow control valves in space, so maybe something there, but looking at stacktrace I'm also not sure if this is mod issue at all.
My best bet would be some weird cases with robot attrition bots randomly destroying pipes and then fluid system not being updated correctly on pipe entity remove and crashing on state retrieval during save. But that is just a random guess.
I'll update this post with further information (status on windows and further logs if this happens again).
@Edit:
Log4 - runtime: https://pastebin.com/z3BXHsh4
Log5 - runtime: https://pastebin.com/4igxXk8Y
Log6 - runtime: https://pastebin.com/8CSg25Bh (much richer stacktrace, with lua errors)
Log7 - save: https://pastebin.com/ckZxSL2A
Log8 - runtime: https://pastebin.com/z6vmifF5 (while loading blueprint from ctrl+v)
Log9 - runtime: https://pastebin.com/N1Yme2rn
Log10 - runtime: https://pastebin.com/trrsJE9J
@Edit2:
Running the same save at home on windows for 3 hours didn't raise any issues. This is either linux issue or a problem with that machine. I guess it's much easier for me to try to replicate those crashes on different linux machine to either confirm that this is individual case or to actually have a confirmation that this is problem with linux binary. I'm thinking of setting up temporary linux os on the same machine at home that was working well with windows, but this is not 10 minute task, so more data will come during the weekend, unless there will be any questions.
I've tried to get easy recreating steps ready, but crashes seem to be random. By random I mean: get autosave -> place few entities -> save manually -> crash. repeat that again -> no crash. Sometimes I can play an hour without issue at all, while some times I'll get 3 crashes between 2 autosaves (at different moments).
I don't have first few crash logs, since I was trying to recreate crashes and write down steps to be able to reporduce it more easily so that I could supply save file for debugging as well. Right now I'm uploading 3 logs.
Log1 - crash while saving: https://pastebin.com/1gg8mHjF
Log2 - crash in runtime: https://pastebin.com/tCTCevh1
Log3 - crash while saving: https://pastebin.com/fQ3t4Avc
Log2 needs a comment: After loading game, pretty much no action was taken and especially anything to do with fluids. After loading game again from the same point, game continued as normal for an hour or so.
More context: I'm building moon bases for space exploration science packs - right now I'm focused on astronomics to reach 2.04/s extended astronomic catalogue, which for scale is around 7000 machines. My previous version was much smaller <1000 machines. it was running smoothly until 0.17.62 or so (then I went for holidays). I've built around 80% of production so I wanted to start it, test and saturate everything. This is when problem first appeared. Since first crash I've done maybe 3 hours in-game. But due to reloading and such, game might have progressed about 1 hour forward or so. For first 90 hours or so there was no issue at all, so I'm very sceptical this is an issue with earth base and therefore compressed fluids mod (only place I use this mod). My previous astronomic base was also running for hours without issue with fluids. I'm using flow control valves in space, so maybe something there, but looking at stacktrace I'm also not sure if this is mod issue at all.
My best bet would be some weird cases with robot attrition bots randomly destroying pipes and then fluid system not being updated correctly on pipe entity remove and crashing on state retrieval during save. But that is just a random guess.
I'll update this post with further information (status on windows and further logs if this happens again).
@Edit:
Log4 - runtime: https://pastebin.com/z3BXHsh4
Log5 - runtime: https://pastebin.com/4igxXk8Y
Log6 - runtime: https://pastebin.com/8CSg25Bh (much richer stacktrace, with lua errors)
Log7 - save: https://pastebin.com/ckZxSL2A
Log8 - runtime: https://pastebin.com/z6vmifF5 (while loading blueprint from ctrl+v)
Log9 - runtime: https://pastebin.com/N1Yme2rn
Log10 - runtime: https://pastebin.com/trrsJE9J
@Edit2:
Running the same save at home on windows for 3 hours didn't raise any issues. This is either linux issue or a problem with that machine. I guess it's much easier for me to try to replicate those crashes on different linux machine to either confirm that this is individual case or to actually have a confirmation that this is problem with linux binary. I'm thinking of setting up temporary linux os on the same machine at home that was working well with windows, but this is not 10 minute task, so more data will come during the weekend, unless there will be any questions.