Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #008594

  • 4 - High

  • Confirmed

Issue Confirmations

  • Yes (3)No (0)
Photo

Mapserver crash

Posted by vBrenth on 29 March 2015 - 07:20 AM

#0  pop_stack (st=0x7ffff37c5664, start=0, end=0) at script.c:3326
        stack = 0x0
        data = <optimized out>
        i = <optimized out>
        __FUNCTION__ = "pop_stack"
#1  0x000000000059088a in run_func (st=0x7ffff37c5664) at script.c:4001
        data = <optimized out>
        i = <optimized out>
        start_sp = <optimized out>
        end_sp = <optimized out>
        func = 238
#2  0x000000000059b304 in run_script_main (st=0x7ffff37c5664) at script.c:4236
        c = <optimized out>
        cmdcount = 655351
        gotocount = 2048
        sd = <optimized out>
        stack = 0x7ffff008a3a4
        nd = <optimized out>
#3  0x0000000000568b57 in run_script_timer (tid=<optimized out>,
    tick=<optimized out>, id=153745, data=<optimized out>) at script.c:4086
        sd = <optimized out>
        st = 0x7ffff37c5664
#4  0x0000000000641932 in do_timer (tick=2028067395) at timer.c:398
---Type <return> to continue, or q <return> to quit---
script.c:3326 (this line)
if( end > stack->sp )
Happen like 7 times now.

Really want this to get fixed.

Well i use this temporaly fix:

in npc.c function "npc_event_sub", change the last line:

    script->run(ev->nd->u.scr.script,ev->pos,sd->bl.id,ev->nd->bl.id);
for this:

    if( !sd->state.autotrade )
        script->run(ev->nd->u.scr.script,ev->pos,sd->bl.id,ev->nd->bl.id);

Hope this helps until the official fix.

Regards.