alliedmodders / sourcemod

SourceMod - Source Engine Scripting and Administration
http://www.sourcemod.net/
975 stars 422 forks source link

Latest CS:GO Update (June 23) broke Sourcemod #1788

Closed switz closed 2 years ago

switz commented 2 years ago

Help us help you

Environment

Description

The server is crashing every time due to the latest CS:GO update. More than happy to provide any more info if I can be of help.

Logs

Jun 24 00:03:30:  Unable to load plugin "addons/metamod/bin/linux64/server"
Jun 24 00:03:30:  maxplayers set to 64
Jun 24 00:03:30:  ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar
Jun 24 00:03:30:  Unknown command "cl_bobamt_vert"
Jun 24 00:03:30:  Unknown command "cl_bobamt_lat"
Jun 24 00:03:30:  Unknown command "cl_bob_lower_amt"
Jun 24 00:03:30:  Unknown command "cl_viewmodel_shift_left_amt"
Jun 24 00:03:30:  Unknown command "cl_viewmodel_shift_right_amt"
Jun 24 00:03:30:  Unknown command "cl_teamid_min"
Jun 24 00:03:30:  Unknown command "cl_teamid_max"
Jun 24 00:03:30:  Unknown command "cl_teamid_overhead"
Jun 24 00:03:30:  Unknown command "cl_teamid_overhead_maxdist"
Jun 24 00:03:30:  --------------------------------------------------------
Jun 24 00:03:30:  sv_pure value unchanged (current value is 1).
Jun 24 00:03:30:  --------------------------------------------------------
Jun 24 00:03:30:  maxplayers set to 64
Jun 24 00:03:30:  Setting mapgroup to 'mg_active'
Jun 24 00:03:30:  NET_CloseAllSockets
Jun 24 00:03:30:  free(): invalid pointer
Jun 24 00:03:30:  Aborted
Jun 24 00:03:30:  --- SERVER EXITED ---
mspencerl87 commented 2 years ago

Confirmed on LinuxGSM also broke my instances After uninstalling Sourcemod/Metamod server booted up.

[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam. [S_API] SteamAPI_Init(): Loaded '/home/csgoserver/.steam/sdk32/steamclient.so' OK. [S_API FAIL] SteamAPI_Init() failed; create pipe failed.No web api auth key specified - workshop downloads will be disabled. failed to dlopen /home/csgoserver/serverfiles/csgo/addons/metamod/bin/linux64/server.so error=/home/csgoserver/serverfiles/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64 Unable to load plugin "addons/metamod/bin/linux64/server" maxplayers set to 64 ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar Setting mapgroup to 'mg_active' Usage: host_workshop_collection Usage: workshop_start_map NET_CloseAllSockets free(): invalid pointer Aborted (core dumped) Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem Thu 23 Jun 2022 07:23:59 PM CDT: Server restart in 10 seconds

TianxSky commented 2 years ago

same here as well, if this helps: [S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam. dlopen failed trying to load:/home/container/.steam/sdk32/steamclient.sowith error:/home/container/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory [S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /home/container/.steam/sdk32/steamclient.so failed to dlopen /home/container/csgo/addons/metamod/bin/linux64/server.so error=/home/container/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64 Unable to load plugin "addons/metamod/bin/linux64/server" maxplayers set to 64 ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar Unknown command "cl_bobamt_vert" Unknown command "cl_bobamt_lat" Unknown command "cl_bob_lower_amt" Unknown command "cl_viewmodel_shift_left_amt" Unknown command "cl_viewmodel_shift_right_amt" Unknown command "cl_teamid_min" Unknown command "cl_teamid_max" Unknown command "cl_teamid_overhead" Unknown command "cl_teamid_overhead_maxdist" Setting mapgroup to 'mg_active' NET_CloseAllSockets free(): invalid pointer Aborted (core dumped)

brunnoarthursoares commented 2 years ago

Same here

misiupajor commented 2 years ago

Is this server update being rolled back – if not, can we get this issue escalated & some attention, considering we have the bigger platforms we run being down because of this? @peace-maker, can you assist?

viniciusrosner commented 2 years ago

Waiting for client config...OK

Waiting for user info...OK

[1m

[0mPlease use

[0mapp_update 740

[0mSuccess! App '740' already up to date.

[1mexit

[0m----------------------------

LD_LIBRARY_PATH=/home/clientes/OGP_User_Files/whmcs/6997/bin:/home/clientes/OGP_User_Files/whmcs/6997:/home/clientes/OGP_User_Files/whmcs/6997/bin:

#

Console initialized.

Setting breakpad minidump AppID = 740

Using breakpad minidump system 740/13835.1483.DC

Using breakpad crash handler

Forcing breakpad minidump interfaces to load

dlopen failed trying to load:

/home/clientes/.steam/sdk32/steamclient.so

with error:

/home/clientes/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory

Looking up breakpad interfaces from steamclient

Calling BreakpadMiniDumpSystemInit

Loading VPK file hashes for pure server operation.

Loading VPK file hashes for pure server operation.

Loading VPK file hashes for pure server operation.

Loading VPK file hashes for pure server operation.

Loading VPK file hashes for pure server operation.

Filesystem successfully switched to safe whitelist mode

Game.dll loaded for "Counter-Strike: Global Offensive"

CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.

CGameEventManager::AddListener: event 'game_newmap' unknown.

CGameEventManager::AddListener: event 'finale_start' unknown.

CGameEventManager::AddListener: event 'round_start' unknown.

CGameEventManager::AddListener: event 'round_end' unknown.

CGameEventManager::AddListener: event 'difficulty_changed' unknown.

CGameEventManager::AddListener: event 'player_death' unknown.

CGameEventManager::AddListener: event 'hltv_replay' unknown.

CGameEventManager::AddListener: event 'player_connect' unknown.

CGameEventManager::AddListener: event 'player_disconnect' unknown.

KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt line 2

#

KeyValues Error: LoadFromBuffer: missing { in file gamemodes_server.txt line 2

#

GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).

GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).

GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).

Failed to load gamerulescvars.txt, game rules cvars might not be reported to management tools.

Server is hibernating

[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam.

dlopen failed trying to load:

/home/clientes/.steam/sdk32/steamclient.so

with error:

/home/clientes/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory

[S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /home/clientes/.steam/sdk32/steamclient.so

failed to dlopen /home/clientes/OGP_User_Files/whmcs/6997/csgo/addons/metamod/bin/linux64/server.so error=/home/clientes/OGP_User_Files/whmcs/6997/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64

Unable to load plugin "addons/metamod/bin/linux64/server"

maxplayers set to 64

ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar

Unknown command "cl_bobamt_vert"

Unknown command "cl_bobamt_lat"

Unknown command "cl_bob_lower_amt"

Unknown command "cl_viewmodel_shift_left_amt"

Unknown command "cl_viewmodel_shift_right_amt"

Unknown command "cl_teamid_min"

Unknown command "cl_teamid_max"

Unknown command "cl_teamid_overhead"

Unknown command "cl_teamid_overhead_maxdist"

Setting mapgroup to 'mg_active'

Stopping 0 worker threads

Starting 1 worker threads

1 threads. 407,821 ticks

"sv_visiblemaxplayers" = "-1" - Overrides the max players reported to prospective clients

NET_CloseAllSockets

free(): invalid pointer

PreMinidumpCallback: updating dump comment

crash_20220624000029_1.dmp[4164454]: Uploading dump (out-of-process)

/tmp/dumps/crash_20220624000029_1.dmp

Aborted (core dumped)

Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem

Fri Jun 24 00:00:31 -03 2022: Server restart in 10 seconds

crash_20220624000029_1.dmp[4164454]: Finished uploading minidump (out-of-process): success = yes

crash_20220624000029_1.dmp[4164454]: response: Discarded=1

crash_20220624000029_1.dmp[4164454]: file ''/tmp/dumps/crash_20220624000029_1.dmp'', upload yes: ''Discarded=1''

Updating server using Steam.


Redirecting stderr to '/home/clientes/Steam/logs/stderr.txt'

Looks like steam didn't shutdown cleanly, scheduling immediate update check

[ 0%] Checking for available updates...

[----] Verifying installation...

Steam Console Client (c) Valve Corporation - version 1654574676

-- type 'quit' to exit --

Loading Steam API...OK

[1m@ShutdownOnFailedCommand 1

[0m"@ShutdownOnFailedCommand" = "1"

[0m@NoPromptForPassword 1

[0m"@NoPromptForPassword" = "1"

[0m

[0m

Connecting anonymously to Steam Public...OK

Waiting for client config...OK

Waiting for user info...

ImDini commented 2 years ago

Is this server update being rolled back – if not, can we get this issue escalated & some attention, considering we have the bigger platforms we run being down because of this? @peace-maker, can you assist?

Best to join the discord to stay updated. When an issue this big arises people are constantly working on it till it's patched up. The ones not being patient are the ones that could cause it taking longer.

lugaamn commented 2 years ago

Let's w8 👯‍♂️

danielstm commented 2 years ago

Is this a scam? https://forums.alliedmods.net/showpost.php?p=2782304&postcount=19

florinilie139 commented 2 years ago

Is this a scam? https://forums.alliedmods.net/showpost.php?p=2782304&postcount=19

it's @PerfectLaugh fix, but i think it fixes the keyvalue bug, but not sure the whole SM.

PerfectLaugh commented 2 years ago

This is not scam. The linux build requires latest Debian or similar distro to run, since I built on that version :(

PerfectLaugh commented 2 years ago

Still recommend to wait for fixed official build

imi-tat0r commented 2 years ago

@PerfectLaugh could you share what you changed in the KeyValues? Afaik the constructor takes 2 additional arguments now?

PerfectLaugh commented 2 years ago

@PerfectLaugh could you share what you changed in the KeyValues? Afaik the constructor takes 2 additional arguments now?

I have already shared. https://github.com/alliedmodders/hl2sdk/pull/102

yaalyy commented 2 years ago

I updated yesterday and got the same problem. Here is my log:

[S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam. dlopen failed trying to load: /home/steam/.steam/sdk32/steamclient.so with error: /home/steam/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory [S_API] SteamAPI_Init(): Sys_LoadModule failed to load: /home/steam/.steam/sdk32/steamclient.so No web api auth key specified - workshop downloads will be disabled. failed to dlopen /home/steam/Steam/steamapps/common/Counter-Strike Global Offensive Beta - Dedicated Server/csgo/addons/metamod/bin/linux64/server.so error=/home/steam/Steam/steamapps/common/Counter-Strike Global Offensive Beta - Dedicated Server/csgo/addons/metamod/bin/linux64/server.so: wrong ELF class: ELFCLASS64 Unable to load plugin "addons/metamod/bin/linux64/server" maxplayers set to 64 ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar Unknown command "cl_bobamt_vert" Unknown command "cl_bobamt_lat" Unknown command "cl_bob_lower_amt" Unknown command "cl_viewmodel_shift_left_amt" Unknown command "cl_viewmodel_shift_right_amt" Unknown command "cl_teamid_min" Unknown command "cl_teamid_max" Unknown command "cl_teamid_overhead" Unknown command "cl_teamid_overhead_maxdist" Server logging enabled. Server logging data to file logs/L000_000_000_000_0_202206252045_000.log L 06/25/2022 - 20:45:08: Log file started (file "logs/L000_000_000_000_0_202206252045_000.log") (game "/home/steam/Steam/steamapps/common/Counter-Strike Global Offensive Beta - Dedicated Server/csgo") (version "8598") NET_CloseAllSockets Error in `./srcds_linux': free(): invalid pointer: 0xf7473180

SaengerItsWar commented 2 years ago

Try to update your Metamod also. This fixed my issue the Newest version is Now 1.12 - build 1159 and 1.11 - build 1147

asherkin commented 2 years ago

The issues here are all known to be fixed, if anyone is still having problems it's best to head to the Forum or Discord.