• 0
Sign in to follow this  
trickzjen23

Segmentation fault

Question

Hello devs,

I hope you guys would still be able to help me since rAthena is forked from eAthena. My servers crashes and this is what the gdb says.

 

This is what it says

Quote

 

Program terminated with signal 11, Segmentation fault.
#0  0x00000000004fce27 in battle_calc_damage (src=0x7f4fef043514,
    bl=0x7f4fe9f3213c, d=0x7fff740ed8c0, damage=3278, skill_num=8009,
    skill_lv=<value optimized out>) at battle.c:350
350                     if(!skill_db[skill_num].pneumaIgnore)
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.192.el6.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-57.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libselinux-2.0.94-7.el6.x86_64 mysql-libs-5.1.73-7.el6.x86_64 nss-softokn-freebl-3.14.3-23.3.el6_8.x86_64 openssl-1.0.1e-48.el6_8.3.x86_64 pcre-7.8-7.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb)

 

 

 
My battle.c line 350 is this
Quote

 

        if(!skill_db[skill_num].pneumaIgnore)
        if( sc->data[SC_PNEUMA] && (flag&(BF_MAGIC|BF_LONG)) == BF_LONG )
        {
            d->dmg_lv = ATK_BLOCK;
            return 0;
        }

 

How can i prevent it to crash? please help and thank you in advance!

Edited by trickzjen23

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this