CSGO icon indicating copy to clipboard operation
CSGO copied to clipboard

Getting `SteamAPI_Init() failed; create pipe failed.free(): invalid pointer` on sourcemod build

Open gfriesen98 opened this issue 2 years ago • 5 comments

Hi, I've had the server running for a few months but now it crashes on startup due to SteamAPI_Init() failed; create pipe failed.free(): invalid pointer. I'm using the cm2network/csgo:sourcemod build with docker-compose. Is there an update to sourcemod or metamod that needs to be applied?

gfriesen98 avatar Jul 16 '22 22:07 gfriesen98

Same for me. Can anyone help here?

madhub0815 avatar Aug 29 '22 14:08 madhub0815

hi, i ended up fixing it by downloading the latest sourcemod and metamod, and extracting them to my volume/folder

gfriesen98 avatar Aug 29 '22 20:08 gfriesen98

Unfortunately that did not work for me. I think the problem is also that the server will not be updated to the latest version within the startup process. Maybe this has to be fixed before?

madhub0815 avatar Aug 31 '22 15:08 madhub0815

hm im not sure, did you download sourcemod-1.12 + metamod-1.12? all i did was extract those folders to the server volume :/ not sure what else to do

gfriesen98 avatar Sep 02 '22 22:09 gfriesen98

i tried with the latest stable 1.11 and with 1.12 also.

Here you can see the log from the startup. maybe anyone can help?

Updating server using Steam. /home/steam/csgo-dedicated/srcds_run: line 301: ./steam.sh: No such file or directory LD_LIBRARY_PATH=/home/steam/csgo-dedicated/bin:/home/steam/csgo-dedicated:/home/steam/csgo-dedicated/bin:

#Console initialized. Setting breakpad minidump AppID = 740 #Using breakpad minidump system 740/13840.1513.DC Using breakpad crash handler Forcing breakpad minidump interfaces to load 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" Server is hibernating [S_API] SteamAPI_Init(): SteamAPI_IsSteamRunning() did not locate a running instance of Steam. [S_API] SteamAPI_Init(): Loaded '/home/steam/.steam/sdk32/steamclient.so' OK. [S_API FAIL] SteamAPI_Init() failed; create pipe failed.maxplayers set to 64 ConVarRef cl_embedded_stream_video_playing doesn't point to an existing ConVar Setting mapgroup to 'mg_active' Invalid file id. Invalid file id. NET_CloseAllSockets free(): invalid pointer /home/steam/csgo-dedicated/srcds_run: line 318: 163 Aborted (core dumped) $HL_CMD Add "-debug" to the /home/steam/csgo-dedicated/srcds_run command line to generate a debug.log to help with solving this problem Mon Sep 5 20:15:16 CEST 2022: Server restart in 10 seconds

madhub0815 avatar Sep 05 '22 18:09 madhub0815