LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[BUG] CS:S > stopmode=3 (quit) fails when sourcemod is installed

Open Frag1337 opened this issue 2 years ago • 5 comments

Basic info

  • Distro: [Ubuntu 20.04]
  • Game: [Counter-Strike Source]
  • Command: [Stop]
  • LinuxGSM version: [v21.5.1]

Further Information

When using stopmode="3", which is the default value for the CS:S config, my servers fail to shutdown with: ./cssserver stop when sourcemod is installed. Removing sourcemod, the server succeeds to shutdown after 2-3 seconds as normal.

To Reproduce

Steps to reproduce the behaviour:

  1. Have sourcemod installed
  2. Use ./cssserver stop
  3. See LGSM failing to stop cssserver

LGSM:

[ ERROR ] Stopping cssserver: Graceful: sending "quit": FAIL
[  OK  ] Stopping cssserver: LinuxGSM

Console.log:


quit
Could not find steamerrorreporter binary. Any minidumps will be uploaded in-process
Segmentation fault (core dumped)
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Thu May 19 12:14:12 PM UTC 2022: Server restart in 10 seconds

and the server continues to restart.

Expected behaviour

Successfully shutdown after 2-3 seconds.

Frag1337 avatar May 19 '22 12:05 Frag1337

You know I get this as well I just thought it was normal.

lorentedford avatar May 20 '22 15:05 lorentedford

If I remember correctly sourcemod changes to the behaviour of the quit command to restart instead. I don't think there is much we could do about this. Suggestions welcome

dgibbs64 avatar Jun 22 '22 22:06 dgibbs64

The stop command on CS:GO is working as intended tho, shouldn't it be theoretically the same?

Frag1337 avatar Jun 24 '22 12:06 Frag1337

If I remember correctly sourcemod changes to the behaviour of the quit command to restart instead. I don't think there is much we could do about this. Suggestions welcome

Updating sourcemod to the newest stable or developement version fixes this issue. The server correctly shutsdown after few seconds, and doesn't restart, which LGSM also detects properly.

Frag1337 avatar Jun 28 '22 10:06 Frag1337

This might be my problem as well... I will have to update and see what happens.

lorentedford avatar Jul 20 '22 19:07 lorentedford

Maybe you can check if this is related to #3909

Maybe double check my comment there and reinstall sourcemod if needed

h3o66 avatar Oct 03 '22 22:10 h3o66