Jump to content

[Linux Native] Server process does not close with client if the client process is killed forcefully


Wonderlarr
  • Pending

If a client is frozen (such as an infinite loading screen), killing the client process will not cause the server process to shut down, even gracefully. Steam shows DST as still running in this case, despite the client having been fully killed at this point. Stopping the game using Steam's "Stop" button seems to gracefully shutdown the server process, allowing me to launch the game again.

I don't believe game logs will help here.


Steps to Reproduce

1. Use the Linux Native build of the game
2. Kill the client process while loading
3. Switch to Steam, where the game will be displayed as running.

  • Like 1
  • Sanity 1



User Feedback


I've had this happen to me on windows 7 too (which I know ya it's not supported you don't need to tell me) so I don't think it's completely exclusive to linux :).

Thankfully terminating it with task manager fixes it the rare times it does occur when the game crashes/freezes

Share this comment


Link to comment
Share on other sites

6 hours ago, . . . said:

I've had this happen to me on windows 7 too (which I know ya it's not supported you don't need to tell me) so I don't think it's completely exclusive to linux :).

Thankfully terminating it with task manager fixes it the rare times it does occur when the game crashes/freezes

I figured it was exclusive to Linux Native as this doesn't happen on Proton or when booted into Windows 10, although I will admit it's been some time since I played on Windows. I just wish autocompiler was easier to use on Linux.

Share this comment


Link to comment
Share on other sites

Which GNU/Linux distribution are you using? This issue has been reported already but the devs replied that officially the game does not support Arch Linux. Other users have reported it as well. I think the problem arose after said distribution upgraded its lua implementation to version 5.4 alongside a bigger update to Don't Starve Together, although I could be wrong. The bug still lingers.

Share this comment


Link to comment
Share on other sites

On 3/16/2024 at 1:53 AM, Captain_Rage said:

Which GNU/Linux distribution are you using? This issue has been reported already but the devs replied that officially the game does not support Arch Linux. Other users have reported it as well. I think the problem arose after said distribution upgraded its lua implementation to version 5.4 alongside a bigger update to Don't Starve Together, although I could be wrong. The bug still lingers.

I'm using Kubuntu, essentially Ubuntu with KDE as its stock desktop environment. Ubuntu is Debian based, which I believe is fairly common and supported?

 

I forgot to paste my tech info in the original post so I'll update it now.

Edited by Wonderlarr
  • Like 1

Share this comment


Link to comment
Share on other sites

From my understanding Ubuntu is a supported platform, so maybe the developers will listen to you at least and do something about the issue. :-) What lua version you are using? Can you look up the name of the package / version and post the information here?

Share this comment


Link to comment
Share on other sites

On 3/17/2024 at 4:29 AM, Captain_Rage said:

From my understanding Ubuntu is a supported platform, so maybe the developers will listen to you at least and do something about the issue. :-) What lua version you are using? Can you look up the name of the package / version and post the information here?

As far as I know my system's lua package isn't used for this game? I'm no expert with Linux but I would imagine it uses its own bundled lua runtime like Windows.

Share this comment


Link to comment
Share on other sites

On Arch Linux you can either run Steam with its runtime libraries that come bundled or native libraries that are installed by the system. It was working for a while but now the bug has regressed, without any obvious update or changes to the system. T_T Good thinking. Maybe the lua version of the runtime libraries differ from the natives ones.

Share this comment


Link to comment
Share on other sites

 yeah for some reason sometimes the DST process terminates correctly and other times it remains in the background as a zombie process. It's a very annoying bug.

Screenshot_20240530_044140.png.8df1de865d7adfb9e84ed9fc6239469e.png

Share this comment


Link to comment
Share on other sites

On 4/30/2024 at 11:24 AM, Captain_Rage said:

On Arch Linux you can either run Steam with its runtime libraries that come bundled or native libraries that are installed by the system. It was working for a while but now the bug has regressed, without any obvious update or changes to the system. T_T Good thinking. Maybe the lua version of the runtime libraries differ from the natives ones.

I found this information on the Arch Wiki:

https://wiki.archlinux.org/title/Steam/Game-specific_troubleshooting#Don't_Starve_Together

DST uses static libraries, so as I understand it, the Lua version on the system doesn't matter, DST uses its own.

  • Thanks 1

Share this comment


Link to comment
Share on other sites

Oh, thanks! That is super useful. Much appreciated information!! :) For me it started happening a few weeks ago (or months now) and it never, ever, ever happened earlier. Not sure exactly when it started but I was under the impression that it was after an update to DST and the operating system, including Lua.

Also, the Moonstorm overlay bug seems to finally have been fixed on this system, although it uses an AMD graphics card with the open source stack of drivers. It happened fairly recently.

As for graphics card drivers I mean mesa.

Share this comment


Link to comment
Share on other sites

Having no idea what I'm doing (lol) and wanting to find an answer to this strange behavior, I used sudo aureport -n, which pointed to dontstarve_steam_x86 ANOM_ABEND - "Triggered when a process ends abnormally (with a signal that could cause a core dump, if enabled)." Additionally, sudo coredumpctl list - indicates a SIGSEGV, which is a segfault - HUH?

sudo coredumpctl dump
           PID: 23168 (dontstarve_stea)
           UID: 1000 (daniel)
           GID: 1000 (daniel)
        Signal: 11 (SEGV)
Message: Process 23168 (dontstarve_stea) of user 1000 dumped core.
                
                Stack trace of thread 23184:
                #0  0x000078a2d6d12ff7 _XSend (libX11.so.6 + 0x3cff7)
                #1  0x000078a2d6d0b899 XQueryExtension (libX11.so.6 + 0x35899)
                #2  0x000078a2d6cff607 XInitExtension (libX11.so.6 + 0x29607)
                #3  0x000078a2d67bd291 XextAddDisplay (libXext.so.6 + 0x6291)
                #4  0x000078a2d58ac7bf n/a (libGLX_nvidia.so.0 + 0x7c7bf)
                #5  0x000078a2d58b0a59 n/a (libGLX_nvidia.so.0 + 0x80a59)
                #6  0x000078a2d58b4e3d n/a (libGLX_nvidia.so.0 + 0x84e3d)
                #7  0x000078a2d6ea3b10 n/a (libc.so.6 + 0x8fb10)
                #8  0x000078a2d6ea6bc9 n/a (libc.so.6 + 0x92bc9)
                #9  0x000078a2d6f2a0dc n/a (libc.so.6 + 0x1160dc)
                
                Stack trace of thread 23185:
                #0  0x000078a2d6f1c9ba read (libc.so.6 + 0x1089ba)
                #1  0x000078a2d6e9de63 _IO_file_underflow (libc.so.6 + 0x89e63)
                #2  0x000078a2d6ea02c2 _IO_default_uflow (libc.so.6 + 0x8c2c2)
                #3  0x000078a2d6e9a748 _IO_getc (libc.so.6 + 0x86748)
                #4  0x000078a2d611f99a _ZN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEE8syncgetcEv (libstdc++.so.6 + 0x11f99a)
                #5  0x000078a2d60c7942 _ZNSt15basic_streambufIcSt11char_traitsIcEE5sgetcEv (libstdc++.so.6 + 0xc7942)
                #6  0x00000000006e5df8 n/a (/home/daniel/.local/share/Steam/steamapps/common/Don't Starve Together/bin64/dontstarve_steam_x64 + 0x2e5df8)
                ELF object binary architecture: AMD x86-64 

 

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