Raised This Month: $ Target: $400
 0% 

MEMORY LEAK DETECTED


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cmer
Member
Join Date: Apr 2009
Old 07-01-2011 , 13:31   MEMORY LEAK DETECTED
Reply With Quote #1

Hello,
I contact as I meet a lot of problems with your plugins zombie!
my server crash with error as

Code:
L 07/01/2011 - 19:10:59: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "zombiereloaded.smx")
L 07/01/2011 - 19:10:59: [SM] Unloading plugin to free 15332 handles.
L 07/01/2011 - 19:10:59: [SM] Contact the author(s) of this plugin to correct this error.
PreMinidumpCallback: updating dump comment
Uploading dump (in-process) [proxy '']
/tmp/dumps/crash_20110701191059_1.dmp
./srcds_run: line 372: 31857 Segmentation fault      $HL_CMD
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Fri Jul  1 19:10:59 CEST 2011: Server restart in 10 seconds
Here is an excerpt of fatal SourceMod log

http://supreme-elite.fr/cmer/sourcemod_fatal.log

some information about my dedicaced server

serveur Intel Core i5-2400
4x3.1+ GHz
16 Go DDR3
Intel SSD 320
2x 120 Go

kernel:
Code:
 uname -a
Linux css1.cmer.fr 2.6.38.5-2.6.38.5-std-hz300-ipv6-64 #2 SMP Thu May 5 16:22:56 CEST 2011 x86_64 GNU/Linux
Sourcemod and metamod information

Code:
[SM] Listing 42 plugins:
           01 "Reserved Slots" (1.3.1) by AlliedModders LLC
           02 "Spray Tracer" (5.8a) by Nican132, CptMoore, Lebson506th
           03 "SourceBans" (1.4.8) by SourceBans Development Team
           04 "Zombie Claws" (1.1) by FrozDark (HLModders.ru LLC)
           05 "Zombie:Reloaded" (3.0.0-b2) by Greyscale | Richard Helgeby
           06 "Ban disconnected players" (1.04) by mad_hamster
           07 "Menu !Guns" (02.00) by Cmer
           08 "AFK Manager" (3.4.1) by Rothgar
           09 "Anti insult" (1.0.0) by Petit Renard / mg-fr.com
           10 "Web Shortcuts" (1.0.1) by James "sslice" Gray
           11 "Raconte My Life" (1.0.0) by Petit Renard
           12 "Player Commands" (1.3.4) by AlliedModders LLC
           13 "Basic Commands" (1.3.6) by AlliedModders LLC
           14 "Extended Mapvote" (1.3.1) by exe.dll / Zerak / AlliedModders LLC
           15 "Advanced Client Redirect" (1.0) by Olly/Tobi
           16 "CD Announcer" (2.8) by Fredd, gH0sTy, MOPO3KO
           17 "Players Votes" (1.4.1) by The Resident, pZv!
           18 "Basic Info Triggers" (1.3.4) by AlliedModders LLC
           19 "Extended mapconfig package" (1.0) by Milo
           20 "Client Preferences" (1.3.4) by AlliedModders LLC
           21 "Noblock players and Nades" (1.2) by Originally by Tony G. Fixed by Rogue
           22 "Fun Votes" (1.3.4) by AlliedModders LLC
           23 "Show Damage" (1.0.6) by exvel
           24 "Map Nominations" (1.3.4) by AlliedModders LLC
           25 "Stop HintText Sound" (1.0.0) by Tauphi, exvel
           26 "cmd_blocker.smx"
           27 "Anti-Flood" (1.3.4) by AlliedModders LLC
           28 "Nextmap" (1.3.4) by AlliedModders LLC
           29 "Rock The Vote" (1.3.4) by AlliedModders LLC
           30 "gameME Plugin" (3.8) by TTS Oetzel & Goerz GmbH
           31 "RandomCycle" (1.3.4) by AlliedModders LLC
           32 "VIP Plugin" (1.0) by Raijojp
           33 "Radio Spam Block" (1.0.0) by exvel
           34 "SourceMod Anti-Cheat" (0.0.4.1) by psychonic, GoD-Tony, CodingDirect LLC
           35 "Game Description Override" (1.2) by psychonic
           36 "Weapon Menu" (01.01) by Natalya[AF]
           37 "Basic Comm Control" (1.3.4) by AlliedModders LLC
           38 "Basic Chat" (1.3.4) by AlliedModders LLC
           39 "Advertisements from Database" (1.2.100) by Tsunami and <eVa>Dog
           40 "Basic Votes" (1.3.4) by AlliedModders LLC
           41 "Admin Menu" (1.3.4) by AlliedModders LLC
           42 "Fun Commands" (1.3.4) by AlliedModders LLC

Code:
19:23:33 meta list
19:23:33 Listing 5 plugins:
           [01] SourceMod (1.4.0-dev) by AlliedModders LLC
           [02] Hotfix (1.0.0) by raydan, compiled by GoD-Tony
           [03] CS:S Tools (1.4.0-dev) by AlliedModders LLC
           [04] SDK Tools (1.4.0-dev) by AlliedModders LLC
           [05] SDK Hooks (2.0.0) by Tsunami, psychonic
If you need any other information I am listening to you, because it starts to be handicapping for my players

Thx,
__________________


cmer is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-01-2011 , 14:09   Re: MEMORY LEAK DETECTED
Reply With Quote #2

I noticed that your signature advertise a no-steam server. I consider this case closed unless other legal server admins can confirm the memory leak.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
cmer
Member
Join Date: Apr 2009
Old 07-01-2011 , 14:13   Re: MEMORY LEAK DETECTED
Reply With Quote #3

indicate there is no steam but the server is no steam.

It's just the name Jet forget to remove
__________________


cmer is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-01-2011 , 18:53   Re: MEMORY LEAK DETECTED
Reply With Quote #4

I'm having the exact same issue (Along with Random freezing). Are you running the latest patch?
KyleS is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-01-2011 , 19:41   Re: MEMORY LEAK DETECTED
Reply With Quote #5

Then I need the output from "zr_version". Also a handle dump after a few map changes would be useful: "sm_dump_handles handledump.txt". Upload the file here so we can analyze it.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
cmer
Member
Join Date: Apr 2009
Old 07-01-2011 , 20:08   Re: MEMORY LEAK DETECTED
Reply With Quote #6

Code:
Zombie:Reloaded
         Copyright (C) 2009  Greyscale, Richard Helgeby
         
         Version                 : 3.0.0-b2
         Compile date            : Thu, 23 Jun 2011 13:32:38 +0200
         License                 : GNU GPL, Version 3
         Build                   : 657:e5e66714cda6
         Development branch      : zr-3.0-b2
thank you for taking the time to find our problem
Attached Files
File Type: txt handledump.txt (63.5 KB, 227 views)
__________________


cmer is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-01-2011 , 20:27   Re: MEMORY LEAK DETECTED
Reply With Quote #7

Do another handle dump after letting the server running for a few maps. Then we can compare them.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
cmer
Member
Join Date: Apr 2009
Old 07-02-2011 , 09:01   Re: MEMORY LEAK DETECTED
Reply With Quote #8

Here is a new dump
Attached Files
File Type: txt handledump.txt (71.5 KB, 250 views)
__________________


cmer is offline
rhelgeby
Veteran Member
Join Date: Oct 2008
Location: 0x4E6F72776179
Old 07-02-2011 , 12:50   Re: MEMORY LEAK DETECTED
Reply With Quote #9

CellArrays were in identical amount. There were 15 more tries than the other one, and only three more timers.

Number of tries change along with numbers of players connected. I also checked the code to see if I found some obvious mistakes. Tries are only used in ZMarket (and its shopping list). A trie is created when a player connect, and destroyed when they disconnect.

I'm suspicious if this has something to do with players connecting and disconnecting. But this is just a random guess by me. If you have a busy server with many players and there is a leak in ZR then SM would detect it pretty fast.

What I find strange is why this wasn't reported before? ZR is used on more than 100 servers for the past 6 months. We haven't got a single report of memory leak bugs in a long time. As far as I know, we've fixed all those long time ago. Memory leaks isn't something that go by unnoticed, because the plugin is unloaded so the gameplay breaks.

KyleS use (as far as I know) some unknown/old revision from our old development branch and is probably missing some bug fixes we've released in the stable branch later.

I'd like some more people to confirm this if they see a memory leak in ZR.
__________________
Richard Helgeby

Zombie:Reloaded | PawnUnit | Object Library
(Please don't send private messages for support, they will be ignored. Use the forum.)
rhelgeby is offline
Send a message via MSN to rhelgeby
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-02-2011 , 15:23   Re: MEMORY LEAK DETECTED
Reply With Quote #10

I wonder if this has anything to do with those "phantom" players that was a bug in the last update - supposedly fixed, but still present - I had one this morning
TnTSCS is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode