.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > IvPBot
IvPBot Another PODBot's evil descendance by KaCaT Counter-Strike

Reply
 
Thread Tools
Memory crash?
Old
  (#1)
Aragon
Guest
 
Status:
Posts: n/a
Default Memory crash? - 04-05-2004

Hi! Ive got a strange problem. Ive tried the search the forums
but so far no luck...
My dedicated CS server (hlds_amd) on my debian box are eating memory....
Have anyone seen this...??

If I run this configuration my memory slowly grows.
In the end the server will crash..
hlguard v1.50
amx v0.16
metamodx v1.7X3
chicken v1.0.5.1
ivpbot 1.1.1

in my debug.log I get:
CRASH: Tue May 4 18:36 CEST 2004
Start Line: ./hlds_amd -game cstrike ....etc.....
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./hlds_amd -game cstrike ....etc.....
Program terminated with signal 11, Segmentation fault.
#0 0x438d544d in ?? ()
#0 0x438d544d in ?? ()
End of crash report


Ive tried different versions of metamod! The original one, valve´s and metamodx
valve´s and metamodx work best but the server still crash!! The same happends
with amxmod and amxmodx.

If I dont load ivpbot when starting the server the memory grows
slower and it takes longer time for the server to crash.. But it still crash..

Have anyone else noticed this problem?

Last edited by Aragon; 04-05-2004 at 19:43..
  
Reply With Quote
Re: Memory crash?
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Memory crash? - 09-05-2004

Perhaps you have to wait for kacat come back and release a new version if you still want to use ivpbot
and btw, what's that "valve's version" of Metamod ?
  
Reply With Quote
Re: Memory crash?
Old
  (#3)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Memory crash? - 09-05-2004

There are known memory leaks in the POD-bot 2.6 source code ; maybe they haven't been fixed in IvPBot. KaCaT can look in PB2.6mm for the fix.
There might be memory leaks within metamod as well...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Memory crash?
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Memory crash? - 11-05-2004

"There are known memory leaks in the POD-bot 2.6 source code"
...but I have tested my current code with borland's codeguard and found no memory leak ? I never fixed any memory leaks in purpose. So would you please tell me where the memory leak is ? Thanks.
  
Reply With Quote
Re: Memory crash?
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Memory crash? - 11-05-2004

ouch, this is gonna get tricky. There have been so many changes over here to the source code that I can't remember exactly what it was like in its original form.

There is one in the function that builds the stringnodes for the Eliza chatter bot.
There is one with the waypoint loading process
When the waypoints are loaded (for ex. for a new map), there is also at least one memory chunk that is freed twice.
That's all I can remember, but sorry I can't be more explicit, I would have to go and dig that myself in the genuine PB26 source code again...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com