Issue information

Issue ID
#2810
Status
Unable to Fix
Severity
None
Started
Hercules Elf Bot
Feb 27, 2009 19:21
Last Post
Hercules Elf Bot
Apr 18, 2012 15:43
Confirmation
N/A

Hercules Elf Bot - Feb 27, 2009 19:21

Originally posted by [b]AquaWolf[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2810

I was told today that the server was lagging as hell and then i went to check up, i found this going on non-stop:

CODE
[Error]: map_addobject: no free object id!
[Error]: map_addobject: no free object id!
[Error]: map_addobject: no free object id!
[Error]: map_addobject: no free object id!
[Error]: map_addobject: no free object id!
[Error]: map_addobject: no free object id!
[Error]: map_addobject: no free object id!
[Error]: map_addobject: no free object id!


I closed the server with @mapexit so i could update the server and put it back on. This is what i got next:


CODE
[Status]: Terminating...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208067888 (LWP 13005)]
0x080a5412 in npc_event_sub (sd=0xfc8e710, ev=0xb3bae594, eventname=0xb41c3cdc '�' <repeats 68 times>) at npc.c:663
warning: Source file is more recent than executable.
663             if( ev->nd->sc.option&OPTION_INVISIBLE )
(gdb) bt full
#0  0x080a5412 in npc_event_sub (sd=0xfc8e710, ev=0xb3bae594, eventname=0xb41c3cdc '�' <repeats 68 times>) at npc.c:663
        i = <value optimized out>
#1  0x080a54d2 in npc_script_event (sd=0xfc8e710, type=NPCE_LOGOUT) at npc.c:2974
        i = 1
#2  0x0804f9d8 in map_quit (sd=0xfc8e710) at map.c:1517
No locals.
#3  0x08050d38 in cleanup_sub (bl=0xfc8e710, ap=0xbfe82fec "") at map.c:3207
        __FUNCTION__ = "cleanup_sub"
#4  0x0804e93a in map_foreachinmap (func=0x8050c90 <cleanup_sub>, m=171, type=4095) at map.c:1120
        ap = 0xbfe82fec ""
        b = <value optimized out>
        bsize = <value optimized out>
        returnCount = 59
        bl = <value optimized out>
        blockcount = <value optimized out>
        i = 59
#5  0x0804fda5 in do_final () at map.c:3247
        i = 171
        j = <value optimized out>
        sd = <value optimized out>
        iter = <value optimized out>
        __FUNCTION__ = "do_final"
#6  0x0813ca10 in main (argc=1, argv=0xbfe830c4) at core.c:259
No locals.
(gdb)


Hope it helps out.

This post has been edited by AquaWolf: Feb 27 2009, 11:22 AM

Hercules Elf Bot - Dec 26, 2011 12:29

Originally posted by [b]Ind[/b]
Not able to fix with the information provided, it could be due to a custom script spawning monsters endlessly -- for example.