redsunservers / SuperZombieFortress

Custom Team Fortress 2 Gamemode, inspired from Left 4 Dead
GNU General Public License v3.0
36 stars 27 forks source link

Random crash with team won all points. #133

Open HotoCocoaco opened 2 years ago

HotoCocoaco commented 2 years ago

https://crash.limetech.org/mriqffvqv62u

server_srv.so!CTeamControlPointMaster::TeamOwnsAllPoints(CTeamControlPoint*, int) + 0x92
server_srv.so!CTeamControlPointMaster::CheckWinConditions() + 0xf8

It randomly crashs when RED team cap all points after a few minutes. This is a old dump. But the new one that using S.M. 1.11 has the same crash dump.

FortyTwoFortyTwo commented 2 years ago

Which map is causing it to crash? If it's just szf_turtle_defense, then latest version is known to have frequent crashes.

HotoCocoaco commented 2 years ago

The same crashs happen to szf_steel and szf_normandy that related to server_srv.so!CTeamControlPointMaster::TeamOwnsAllPoints(CTeamControlPoint*, int) + 0x92

saxybois commented 1 year ago

Having the same problem, it happens randomly (it can crash on third or fourth round) on every SZF map when the round starts. (The version of gamemode on my server is 4.5.0) server_srv.so!CTeamControlPointMaster::TeamOwnsAllPoints(CTeamControlPoint*, int) + 0x92

Crash log on Accelerator: https://crash.limetech.org/nsjnspdvhgak

FortyTwoFortyTwo commented 10 months ago

Unfortunately I was not able to reproduce this bug, nor know why this crash would occur in SZF. You will have to investigate this yourself assuming that you're still able to crash it.

Though @Kenzzer was able to look further that it crashed at this line, where group variable is outside of array range, so it's either to do with one of team_control_point being invalid, or m_iCPGroup variable being out of range.