splewis / csgo-multi-1v1

CS:GO Sourcemod plugin to create multi-1v1 arena servers
GNU General Public License v3.0
278 stars 68 forks source link

Memory leaks multi1v1 #279

Open VestSmart opened 3 years ago

VestSmart commented 3 years ago

Expected behavior


Actual behavior

There are several people in one arena. Badly chooses opponents for the arena.

Steps to reproduce

---- I don't know...

Errors: `L 01/12/2021 - 11:33:13: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "multi1v1.smx") L 01/12/2021 - 11:33:13: [SM] Unloading plugin to free 13612 handles. L 01/12/2021 - 11:33:13: [SM] Contact the author(s) of this plugin to correct this error. L 01/12/2021 - 11:33:13: -------------------------------------------------------------------------- L 01/12/2021 - 11:33:13: Type IDatabase | Count 1 L 01/12/2021 - 11:33:13: Type Timer | Count 1 L 01/12/2021 - 11:33:13: Type GlobalFwd | Count 13 L 01/12/2021 - 11:33:13: Type CellArray | Count 13570 L 01/12/2021 - 11:33:13: Type Cookie | Count 27 L 01/12/2021 - 11:33:13: -- Approximately 609620 bytes of memory are in use by (13612) Handles.

L 01/12/2021 - 11:33:13: [SM] Exception reported: Memory leak L 01/12/2021 - 11:33:13: [SM] Blaming: csgo_agentschooser.smx L 01/12/2021 - 11:33:13: [SM] Call stack trace: L 01/12/2021 - 11:33:13: [SM] [0] CreateTimer L 01/12/2021 - 11:33:13: [SM] [1] Line 637, /home/forums/content/files/2/7/8/3/8/4/185547.attach::Event_PlayerSpawn L 01/12/2021 - 11:33:13: [SM] [3] CS_RespawnPlayer L 01/12/2021 - 11:33:13: [SM] [4] Line 769, multi1v1.sp::SetupPlayer L 01/12/2021 - 11:33:13: [SM] [5] Line 694, multi1v1.sp::Event_OnRoundPostStart L 01/12/2021 - 11:33:13: [SM] Exception reported: Could not create timer, no more handles L 01/12/2021 - 11:33:13: [SM] Blaming: csgo_agentschooser.smx L 01/12/2021 - 11:33:13: [SM] Call stack trace: L 01/12/2021 - 11:33:13: [SM] [0] CreateTimer L 01/12/2021 - 11:33:13: [SM] [1] Line 637, /home/forums/content/files/2/7/8/3/8/4/185547.attach::Event_PlayerSpawn L 01/12/2021 - 11:33:13: [SM] [3] CS_RespawnPlayer L 01/12/2021 - 11:33:13: [SM] [4] Line 769, multi1v1.sp::SetupPlayer L 01/12/2021 - 11:33:13: [SM] [5] Line 694, multi1v1.sp::Event_OnRoundPostStart L 01/12/2021 - 11:33:13: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "multi1v1.smx") L 01/12/2021 - 11:33:13: [SM] Unloading plugin to free 13613 handles. L 01/12/2021 - 11:33:13: [SM] Contact the author(s) of this plugin to correct this error. L 01/12/2021 - 11:33:13: -------------------------------------------------------------------------- L 01/12/2021 - 11:33:13: Type IDatabase | Count 1 L 01/12/2021 - 11:33:13: Type Timer | Count 2 L 01/12/2021 - 11:33:13: Type GlobalFwd | Count 13 L 01/12/2021 - 11:33:13: Type CellArray | Count 13570 L 01/12/2021 - 11:33:13: Type Cookie | Count 27 L 01/12/2021 - 11:33:13: -- Approximately 609620 bytes of memory are in use by (13613) Handles.

L 01/12/2021 - 11:33:13: [SM] Exception reported: Memory leak L 01/12/2021 - 11:33:13: [SM] Blaming: multi1v1.smx L 01/12/2021 - 11:33:13: [SM] Call stack trace: L 01/12/2021 - 11:33:13: [SM] [0] PrintToChat L 01/12/2021 - 11:33:13: [SM] [1] Line 222, multi1v1/natives.sp::Native_Multi1v1Message L 01/12/2021 - 11:33:13: [SM] [3] Multi1v1_Message L 01/12/2021 - 11:33:13: [SM] [4] Line 731, multi1v1.sp::Event_OnRoundPostStart L 01/12/2021 - 11:33:13: [SM] Exception reported: Invalid protobuf message handle 0 (error 4) L 01/12/2021 - 11:33:13: [SM] Blaming: FixHintColorMessages.smx L 01/12/2021 - 11:33:13: [SM] Call stack trace: L 01/12/2021 - 11:33:13: [SM] [0] Protobuf.ReadInt L 01/12/2021 - 11:33:13: [SM] [1] Line 42, E:\Github\FixHintColorMessages\FixHintColorMessages.sp::TextMsgHintTextHook L 01/12/2021 - 11:33:13: [SM] [3] PrintToChat L 01/12/2021 - 11:33:13: [SM] [4] Line 222, multi1v1/natives.sp::Native_Multi1v1Message L 01/12/2021 - 11:33:13: [SM] [6] Multi1v1_Message L 01/12/2021 - 11:33:13: [SM] [7] Line 731, multi1v1.sp::Event_OnRoundPostStart L 01/12/2021 - 11:33:13: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "multi1v1.smx") L 01/12/2021 - 11:33:13: [SM] Unloading plugin to free 13613 handles. L 01/12/2021 - 11:33:13: [SM] Contact the author(s) of this plugin to correct this error. L 01/12/2021 - 11:33:13: -------------------------------------------------------------------------- L 01/12/2021 - 11:33:13: Type IDatabase | Count 1 L 01/12/2021 - 11:33:13: Type Timer | Count 2 L 01/12/2021 - 11:33:13: Type GlobalFwd | Count 13 L 01/12/2021 - 11:33:13: Type CellArray | Count 13570 L 01/12/2021 - 11:33:13: Type Cookie | Count 27 L 01/12/2021 - 11:33:13: -- Approximately 609620 bytes of memory are in use by (13613) Handles.

L 01/12/2021 - 11:33:13: [SM] Exception reported: Memory leak L 01/12/2021 - 11:33:13: [SM] Blaming: multi1v1.smx L 01/12/2021 - 11:33:13: [SM] Call stack trace: L 01/12/2021 - 11:33:13: [SM] [0] CreateTimer L 01/12/2021 - 11:33:13: [SM] [1] Line 738, multi1v1.sp::Event_OnRoundPostStart L 01/12/2021 - 11:33:13: [SM] Exception reported: Could not create timer, no more handles L 01/12/2021 - 11:33:13: [SM] Blaming: multi1v1.smx L 01/12/2021 - 11:33:13: [SM] Call stack trace: L 01/12/2021 - 11:33:13: [SM] [0] CreateTimer L 01/12/2021 - 11:33:13: [SM] [1] Line 738, multi1v1.sp::Event_OnRoundPostStart L 01/12/2021 - 11:37:19: Error log file session closed. `

@splewis

brkvlr commented 2 years ago

i am having the same problem.

@splewis