View Single Post
ekshon
Junior Member
Join Date: Nov 2020
Old 12-05-2020 , 22:47   Re: [ANY/CSGO] cutlrbtree overflow, memory access
Reply With Quote #8

Quote:
Originally Posted by Dragokas View Post
Just FYI,
I think your topic could be related to a similar issue in L4D2: [L4D2] Script Command Swap - Mem Leak Fix,
caused by using the console command to create VScript instead of logic_script entity.

Sorry for hijacking your topic.

I also have a problem with 1 time per week crash related to CUtlRBTree overflow.
But, my game is Left 4 Dead 1. There is no VScript system at all.

I'm just curious didn't you try to use CStringPool::FreeAll() method on MapEnd?
No, I never tried to call "FreeAll" on map end. I think there are more lists using CUtlRBTree type, not only "gamestringpool". But this one is the most common that causes crash. You can dump it with commands:

Code:
sv_cheats 1
developer 1
dumpgamestringtable
The limit is 65536. Try mp_restartgame 1 and look if it's leaking. Also, you might using some map which creates entities in run time with unique names, etc. Or, you're using game_text to print some uniqe strings on player's screen.
ekshon is offline