Jump to content

Game freezes and then crashes frequently, usually when saving


umbra3275
  • Branch: Live Branch Version: Linux Pending

When autosaving, the game has a chance of just freezing up and crashing (crashing usually after 5-15 minutes of being frozen), sometimes taking Steam down with it. I don't have enough experience digging into steam-related bugs. This is likely an issue with my specific machine, but I have no idea where to even start fixing it on my own, and this is the only context that it really comes up. With a dual-monitor setup, both monitors freeze and fail to refresh for the duration (the clock on the second doesn't change), and trying to log in to a console tty doesn't work without also freezing. It seems an assert somewhere went wrong, so here's the dump of my most recent crash.

assert_20230510211644_3.dmp


Steps to Reproduce

On my computer, I haven't been able to force this issue to reappear, but it happens regularly when the game autosaves. To the point that it's crashed three times today alone.

  • Like 1



User Feedback


Update: This was an issue with my swap space not being big enough and the game requesting very large amounts of memory. I think the game requesting that much memory is still an issue, but at the very least the issue with freezing and crashing appears to have been resolved by fixing my swap space partition to be actually big enough for my computer lol.

Share this comment


Link to comment
Share on other sites

Further update: Instead of freezing and crashing, it is instead a significant slowdown (i.e. two game update frames a minute, if that) without freezing my actual machine. The process's wchan flips between `swap_readpage`, `folio_wait_bit_common`, and rarely `folio_wait_bit_ccat`. It takes 16 gb of virtual memory on my machine with 8 gigs of ram and 16.5 gigs of swap space. Something is going on with its requested memory.

Share this comment


Link to comment
Share on other sites

It seems that this problem gets progressively worse following repeated loads; there might be a memory leak in the load_save code somewhere? After rebooting the game, the slowness goes away.

Share this comment


Link to comment
Share on other sites

Okay, this appears to be caused by a unity engine issue. Guess I just have to quit and load every time the game gets too stuttery.

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...