Warning! This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on GitHub Issues.
Issue information
Issue ID
#5741
Status
Needs more Info
Severity
None
Started
Hercules Elf Bot
May 13, 2012 7:12
Last Post
Hercules Elf Bot
May 13, 2012 13:45
Confirmation
N/A
Hercules Elf Bot - May 13, 2012 7:12
Originally posted by [b]ngek202[/b] after a Server restart I noticed a Memory Leak log:
[CODE]
Memory manager: Memory leaks found at 2012/05/12 22h59m08s (Revision 16091).
0001 : pc.c line 1876 size 21 address 0x0xaba90a54
0002 : pc.c line 1877 size 28 address 0x0xaba90f04[/CODE]
whats on pc.c line 1876 and 1877:
[CODE]
bonus[i].bonus_script = aStrdup(script);
bonus[i].other_script = other_script?aStrdup(other_script):NULL;
[/CODE]
Hercules Elf Bot - May 13, 2012 8:21
Originally posted by [b]Ind[/b] it's something in the autobonus stuff tho i'm not able to reproduce the bug, do you have any custom items with autobonus script or a modified autobonus script somewhere? if so please show me the item script so i may reproduce
Hercules Elf Bot - May 13, 2012 8:34
Originally posted by [b]ngek202[/b] Ind can you give me an example of Item with such script?
Hercules Elf Bot - May 13, 2012 8:42
Originally posted by [b]Ind[/b] for example [code]autobonus "{ bonus bAspd,2; }",10,7000,BF_WEAPON,"{ specialeffect2 EF_HASTEUP; }";[/code]
Hercules Elf Bot - May 13, 2012 13:45
Originally posted by [b]ngek202[/b] that's weird I don't remember modifying any item with an autobonus script.
I'm using CentOS anyway and using pre-re settings.
Actually I can't reproduce it too, it only popped when I needed to restart my Server for a Maintenance..
This post has been edited by
ngek202
on May 13, 2012 13:47