Source2ZE / GOTVCrashFix

GNU General Public License v3.0
18 stars 2 forks source link

GOTV strikes again #1

Open Waterovsky opened 6 months ago

Waterovsky commented 6 months ago

Hi. Since the CS2 update on April 25, GOTV has been causing server crashes after the end of each match (disabling GOTV with the -nohltv parameter eliminates the crashes). Would you be able to implement a fix for this as well?

The only logs I have:

-- Performance report --
Summary of 97735 frames.  (16812 frames excluded from analysis.)

                        All frames         Active frames   
                          Avg    P99        N    Avg    P99
---------------------- ------ ------   ------ ------ ------
            FrameTotal  15.63  15.66    97735  15.63  15.66
              Sleeping  12.70  13.62    97734  12.70  13.62
     Server Simulation   2.80   4.62    97733   2.80   4.62
           Server Game   1.69   2.76    97733   1.69   2.76
Server Send Networking   0.31   0.48    97733   0.31   0.48
  Server CheckTransmit   0.16   0.26    97733   0.16   0.26
        Server Physics   0.12   0.35    97733   0.12   0.35
   Server PackEntities   0.11   0.23    97733   0.11   0.23
                  HLTV   0.07   0.13    97733   0.07   0.13
                  Fire   0.00   0.09     6660   0.05   0.59

VProfLite stopped.
CHANGE LEVEL: de_mirage
Changelevel de_mirage (null)
CHostStateMgr::QueueNewRequest( Changelevel (de_mirage), 3 )
SV:  CNetworkServerService::StartChangeLevel( (no landmark) )
HostStateRequest::Start(HSR_GAME):  loop(levelload) id(3) addons() desc(Changelevel (de_mirage))
SwitchToLoop levelload requested:  id [3] addons []
SV:  IGameSystem::LoopDeactivateAllSystems {
HO:  IGameSystem::LoopDeactivateAllSystems {
HO:  } IGameSystem::LoopDeactivateAllSystems done
SV:  } IGameSystem::LoopDeactivateAllSystems done
SourceTV[0] shutting down (non-relay) due to server disconnecting game.
CHLTVServer::Shutdown
Completed SourceTV demo "replays/auto-20240502-1921-de_mirage-_____FFA____CS2_ONLY_MIRAGE______XXX.dem", recording time 1871.0, size 191727551 (1601 per tick)
SV:  Server shutting down: NETWORK_DISCONNECT_LOOPDEACTIVATE (55)
/home/servers/bin/games/CS2.sh: line 71: 2690873 Segmentation fault      start-stop-daemon --start --chuid $USER:$GROUP -m --pidfile $PID_FILE --chdir $USER_DIR/$BIN_DIR --exec $USER_DIR/$BIN_DIR/$BIN_NAME -- $GAME_PARAMS +sv_hibernate_when_empty 0

I'm using the updated version of this plugin (silent update).

szogun1910 commented 6 months ago

@Waterovsky can you manage to send me the updated plugin?

daffyyyy commented 6 months ago

https://github.com/Source2ZE/GOTVCrashFix/releases/tag/v1.0.0