alliedmodders / sourcemod

SourceMod - Source Engine Scripting and Administration
http://www.sourcemod.net/
985 stars 423 forks source link

Fake clients improperly triggering OnClientDisconnect on server hibernation #861

Closed geominorai closed 3 years ago

geominorai commented 6 years ago

Environment

Description

I have servers running plugins that spawn and control puppet bots, but after all players leave, hibernation mode automatically kicks the bots and seems to trigger OnClientDisconnect in a weird way that even the clientprefs extension gets passed an invalid client entity and segfaults.

Steps to Reproduce

  1. Start the server
  2. Connect to server
  3. Leave the server

Logs

https://crash.limetech.org/efgkq4pieq5u

Additional notes:

asherkin commented 3 years ago

I'm not able to reproduce this with the latest version of SM and TF2, hopefully it's been fixed over these last many years.