Jump to content

Waiting forever while trying to disconnect (single player host)


TiccyRobby
  • Pending

With the latest update (August 21 2023), if I try to disconnect from my single player local game (DST), it waits forever to get to the main menu. I have to force kill it.

Note: I am on Arch Linux if it matters.


Steps to Reproduce
  1. Host a 1 player local game
  2. Play for a while
  3. On the pause menu, hit disconnect

version.txt: 570012

client_log.txt: Doesn't exist on /home/<user>/.steam/steam/steamapps/common/Don't Starve Together

.mdmp file: Doesn't exist

  • Thanks 1



User Feedback


Same here.

Spoiler

The game does not exit gracefully. It looks like the game closes but its process keeps running and its name in the Steam library is displayed in green. Worse yet, if world has been launched, disconnecting and exiting the world makes the game simply freeze on the loading screen immediately. This problem appeared all of a sudden recently without altering anything noteworthy on the system (it runs an up-to-date Arch Linux installation, 64-bit).

This pertains to the 64-bit version of the game. No other game or program is behaving like this.

I have tried to verify the integrity of the files of the game through Steam and reinstall the game completely.

I used to have the following launch parameters: "-tick_rate 60 -threaded_renderer". I removed them now to see if it would make any difference but they do not.

I have never installed any mods on this machine.

I have neither opted in on any betas on this machine in the last year or longer.

Only DST has this problem. It started recently although not in conjunction with any system or game update.

The game logs don't provide any error messages what I can see.

Debugging and creating a coredump in GNU/Linux does not provide any information either, from my understanding.

Running either steam-native (uses the system libraries, which tend to be newer) or steam-runtime (uses the libraries Steam provides, which should be more stable) makes any difference.

What could be wrong? DST worked perfectly since I built this computer 3-4 years ago. Now this super annoying issue started. Thank you for your time.

 

Yesterday I discovered that the background server process might be the culprit, since when the game gets stuck indefinitely on the loading screen after disconnecting and saving a world it does actually resume once you kill the server process (a separate entity).

The game does still not close properly on exit however.

 

 

  • Big Ups 1

Share this comment


Link to comment
Share on other sites

same, also arch.
it looks like the cave server can't recive the close event from master server.
c_shutdown in cave server also stucked.

截图 2023-09-01 07-17-06.png

Edited by AlPt
  • Like 1

Share this comment


Link to comment
Share on other sites

I found a weird solution:
input "c_shutdown()\n" to stdin of dst(or stdin of steam if you start the game by steam) at least 4 times(master, cave, client, client in main menu), will close the game as expected.

  • Potato Cup 1

Share this comment


Link to comment
Share on other sites

I can confirm this is still a problem. I am on openSUSE Tumbleweed with KDE Plasma. I tried looking through the game scripts to find the problem, but it seems to be an entirely engine-side issue. I noticed in the logs that this line appears for the master shard, but not the caves one:
[IPC] Received shutdown signal.

Logs from while the game is stuck are attached.

caves_server_log.txt master_server_log.txt client_log.txt

Share this comment


Link to comment
Share on other sites

On 4/5/2024 at 11:42 AM, grisi said:

Can confirm the bug is still present

The only solution w/o using third party instruments and forget in fidelity this issue was for me to use "Force Steam Play compatibility" and then select "Steam Linux Runtime (1.0)" at the bottom of the list

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...