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

  • #007842

  • 0 - None Assigned

  • Invalid

Issue Confirmations

  • Yes (0)No (0)
Photo

HPMHooking System Crash

Posted by Jeffery on 19 November 2013 - 09:19 AM

I compile latest version of Hercules from GitHub
and enable plugin ("HPMHooking", "sample")
and map-server crash at the beginning.
#0  HPM_map_addToMSD (sd=0xb4debc22, data=0xb4deb360, id=3034493712, type=0,
    autofree=false) at HPMmap.c:54

warning: Source file is more recent than executable.
54                              ret->hdatac = &((struct map_session_data *)ptr)->hdatac;

bt full
#0  HPM_map_addToMSD (sd=0xb4debc22, data=0xb4deb360, id=3034493712, type=0,
    autofree=false) at HPMmap.c:54
        i = 0
        __FUNCTION__ = "HPM_map_addToMSD"
#1  0xb4deb556 in plugin_init () at sample.c:150
No locals.
#2  0x08240bfb in hplugin_trigger_event (type=HPET_INIT) at HPM.c:32
        i = 1
#3  0x0812ad40 in do_init (argc=1, argv=0xbf830364) at map.c:5558
        i = <value optimized out>
        __FUNCTION__ = "do_init"
#4  0x0823c98b in main (argc=1, argv=0xbf830364) at core.c:340
No locals.

Ind 
changed status to: Needs More Info

whats your operating system?

Ind 
changed status to: Started

Ind 
changed status to: Needs More Info

HPM_map_addToMSD (sd=0xb4debc22, data=0xb4deb360, id=3034493712, type=0,
autofree=false) this has been removed for a few weeks now, as the compiler pointed out
warning: Source file is more recent than executable.
which can be demonstrated simply by the following line
ret->hdatac = &((struct map_session_data *)ptr)->hdatac;
this line did not exist at the time HPM_map_addToMSD was available.
Can you run a 'make clean && make', and re-run map server on gdb and let me know if it still crashes (and if so can you paste the new gdb report?)
Thank you for your time

I used latest version of Hercules and it didn't crash anymore.
Thank you!

Ind 
changed status to: Invalid

thanks for the update.