roflmuffin / CounterStrikeSharp

CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2
https://docs.cssharp.dev
Other
709 stars 110 forks source link

Segmentation fault as soon as I connect to the server and try to join a team #525

Closed borzaka closed 2 days ago

borzaka commented 2 days ago

Run command: ./cs2-ds/game/bin/linuxsteamrt64/cs2 -dedicated -ip 0.0.0.0 -port 27015 +tv_port 27020 +sv_setsteamaccount xxx+servercfgfile server-1.cfg -maxplayers 14 +map de_dust2

Metamod:Source installed file: mmsource-2.0.0-git1293-linux.tar.gz CounterStrikeSharp installed file: counterstrikesharp-with-runtime-build-247-linux-f8451c2.zip

meta list
Listing 1 plugin:
  [01] CounterStrikeSharp (v247 @ f8451c2) by Roflmuffin

OS: Debian GNU/Linux 11 (bullseye) x86_64

I can join to spectate, but not any team.

Tried with no luck:

borzaka commented 2 days ago

It was the sv_coaching_enabled 1 cvar in my server.cfg. I have no idea why, but in the end I started to debug one-by-one of my cvars... This was the one that coused the Segmentation fault when I tried to join a team... Maybe it's related to other cvars? I don't know, but my 4 hours of debugging session is finally over.