Raised This Month: $51 Target: $400
 12% 

cs2 Linux dedicated segfault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 11-10-2023 , 12:45   cs2 Linux dedicated segfault
Reply With Quote #1

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

Last edited by hamilton5; 11-10-2023 at 22:14.
hamilton5 is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 11-23-2023 , 17:44   Re: cs2 Linux dedicated segfault
Reply With Quote #2

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

Last edited by hamilton5; 11-28-2023 at 12:14.
hamilton5 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:13.


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