AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   cs2 Linux dedicated segfault (https://forums.alliedmods.net/showthread.php?t=344474)

hamilton5 11-10-2023 12:45

cs2 Linux dedicated segfault
 
Getting a segfault when trying to start the server and I don't know why. Seems like a steam problem but I don't understand it or yet to see someone else with this. I do see the "steamservice.so: cannot open" line, but I did link to my steamclient.so file (there was a missing steamclient.so error before I did that). Files validated, and tried running with minimum parameters: -dedicated +map de_dust2

I have Debian 12.2 with v2.36 glibc. Thanks.

edit* I see now in my syslog the problem is with libtier0
linux syslog file shows:
Code:

cs2[3148335]: segfault at 0 ip 00007f1177f76e36 sp 00007ffd4725bce0 error 6 in libtier0.so[7f1177ebf000+2f1000] likely on CPU 2 (core 0, socket 2)
Code: 2d 70 da 24 00 31 db 0f 1f 44 00 00 49 8b 74 dc 08 48 85 f6 74 0a 4c 89 ef 31 c0 e8 64 df f4 ff 48 83 c3 01 41 39 1c 24 7f e2 <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b c7 04 25 00 00 00 00 00 00

game server console shows:
Code:

CEntitySystem::BuildEntityNetworking (parallel build of server) took 52.770 msecs for 218 out of 297 classes
[STARTUP] {0.843} server module init ok
CHostStateMgr::QueueNewRequest( Idle (console), 1 )
Source2Init OK
HostStateRequest::Start(HSR_IDLE):  loop(console) id(1) addons() desc(Idle (console))
SwitchToLoop console requested:  id [1] addons []
Host activate: Idle (console)
Loading map "de_dust2"
CHostStateMgr::QueueNewRequest( Loading (de_dust2), 2 )
HostStateRequest::Start(HSR_GAME):  loop(levelload) id(2) addons() desc(Loading (de_dust2))
SwitchToLoop levelload requested:  id [2] addons []
SV:  Level loading started for 'de_dust2'
CL:  CLoopModeLevelLoad::MaybeSwitchToGameLoop switching to "game" loopmode with addons ()
SwitchToLoop game requested:  id [2] addons []
SteamGameServer_Init()
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 6 milliseconds to initialize
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
Setting breakpad minidump AppID = 730
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197960265728 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197960265728
[S_API FAIL] Tried to access Steam interface SteamUtils010 before SteamAPI_Init succeeded.
Steam Universe valid after having been requested when invalid.  Universe is now 1
ResetBreakpadAppId: Universe is 1 (k_EUniversePublic)
ResetBreakpadAppId: Setting dedicated server app id: 2347773
Setting breakpad minidump AppID = 2347773
Missing interface adapter for STEAMUGC_INTERFACE_VERSION018
SteamGameServer_Init() OK, logging on to Steam
Logging into Steam gameserver account with logon token 'X9999999xxxxxxxxxxxxxxxxxxxxxxxx'
Missing interface adapter for STEAMUGC_INTERFACE_VERSION018
CNetworkSystem::InitGameServer: CSteamGameServerAPIContext::Init Failed
Initialized low level socket/threading support.
Shutting down low level socket/threading support.
SteamDatagramServer_Init failed.  Don't know Steam universe.  Forget to call SteamDatagram_SetUniverse()?
 0 SteamDatagramServer_Init failed.  Don't know Steam universe.  Forget to call SteamDatagram_SetUniverse()?

Segmentation fault


hamilton5 11-23-2023 17:44

Re: cs2 Linux dedicated segfault
 
Was able to get one going on another similar VM. I just don't know what's wrong with this one.

It was my LD_LIBRARY_PATH, I guess it was trying to use another steamclient.so another game used on the same server:oops:


All times are GMT -4. The time now is 02:10.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.