Issue information

Issue ID
#3144
Status
Unable to Fix
Severity
None
Started
Hercules Elf Bot
May 29, 2009 21:41
Last Post
Hercules Elf Bot
May 29, 2009 21:41
Confirmation
N/A

Hercules Elf Bot - May 29, 2009 21:41

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

Hello everybody,

Using the revision 13799 my server is a problem, the message appearing in Mapserver: [Error]: Server crash signal received! Attempting to save all online characters!

Viewing the coredump, encounter the following error:
CODE
Core was generated by `/home/ragnaone/emulador/map-server_sql /home/ragnaone/emulador/conf/map_athena.'.
Program terminated with signal 11, Segmentation fault.
#0  skill_unitsetting (src=0xb034199c, skillid=670, skilllv=1, x=18, y=171, flag=0) at skill.c:6675
6675            val2=(skilllv>6)?(skillid == PR_SANCTUARY?sd->status.base_level*100:1000):sd->status.base_level*100;
(gdb) bt full
#0  skill_unitsetting (src=0xb034199c, skillid=670, skilllv=1, x=18, y=171, flag=0) at skill.c:6675
    element = {110041086, 1179649, -897056597, 135191680, 670}
    group = <value optimized out>
    i = <value optimized out>
    limit = <value optimized out>
    val1 = 8
    val2 = <value optimized out>
    val3 = <value optimized out>
    target = 2031616
    interval = 1000
    range = 4
    unit_flag = 8
    layout = (struct s_skill_unit_layout *) 0x9aef7ec
    sd = (struct map_session_data *) 0x0
    status = (struct status_data *) 0xb0341b84
    sc = (struct status_change *) 0xb0341bd8
    active_flag = <value optimized out>
    subunt = <value optimized out>
    __FUNCTION__ = "skill_unitsetting"
#1  0x08101b0b in skill_castend_pos2 (src=0xb034199c, x=18, y=171, skillid=670, skilllv=1, tick=3699427976, flag=1) at skill.c:6122
    sd = (struct map_session_data *) 0x0
    sc = (struct status_change *) 0xb0341bd8
    sce = (struct status_change_entry *) 0x0
    sg = <value optimized out>
    type = SC_BLIND
    i = <value optimized out>
#2  0x08103806 in skill_castend_pos (tid=-1, tick=3699427976, id=110041086, data=0) at skill.c:5959
    src = (struct block_list *) 0xb034199c
    maxcount = <value optimized out>
    sd = (struct map_session_data *) 0x0
    ud = (struct unit_data *) 0xb03419b4
    md = (struct mob_data *) 0xb034199c
#3  0x0814b247 in unit_skilluse_pos2 (src=0xb034199c, skill_x=18, skill_y=171, skill_num=670, skill_lv=1, casttime=0, castcancel=1) at unit.c:1220
    sd = (struct map_session_data *) 0x0
    ud = (struct unit_data *) 0xb03419b4
    sc = (struct status_change *) 0xb0341bd8
    bl = {next = 0x29e, prev = 0xf5dcf30, id = -1232638968, m = 405, x = 18, y = 171, type = BL_NUL}
    tick = 3699427976
#4  0x080c64ff in mobskill_use (md=0xb034199c, tick=3699427976, event=-1) at mob.c:3010
    x = 18
    y = 171
    fbl = (struct block_list *) 0x0
    bl = <value optimized out>
    fmd = (struct mob_data *) 0x0
    i = 6
    j = <value optimized out>
    n = 6
#5  0x0814c395 in unit_attack_timer (tid=-1, tick=3699427976, id=110041086, data=0) at unit.c:1544
    bl = (struct block_list *) 0xb034199c
#6  0x0814c6a5 in unit_attack (src=0xb034199c, target_id=2077478, continuous=1) at unit.c:1313
    target = <value optimized out>
    ud = (struct unit_data *) 0xb03419b4
#7  0x080ca084 in mob_ai_sub_hard (md=0xb034199c, tick=3699427972) at mob.c:1496
    tbl = (struct block_list *) 0xb034199c
    abl = (struct block_list *) 0x0
    dist = 59
    mode = 129
    view_range = 10
    can_move = 0
#8  0x080caabe in mob_ai_sub_hard_timer (bl=0xb034199c, ap=0xbf846cf0 "„?€Ü°Ft(m„??0?]4m„?„?€Ü¦9") at mob.c:1536
    md = (struct mob_data *) 0x8
    tick = 3699427972
#9  0x0806bd22 in map_foreachinrange (func=0x80caaa0 <mob_ai_sub_hard_timer>, center=0xf5dcf30, range=16, type=<value optimized out>) at map.c:565
    ap = 0xbf846cf0 "„?€Ü°Ft(m„??0?]4m„?„?€Ü¦9"
    bx = <value optimized out>
    by = 24
    m = 405
    returnCount = 0
    bl = <value optimized out>
    blockcount = -1081840332
    i = 2
    x0 = <value optimized out>
    x1 = <value optimized out>
    y0 = 155
    y1 = 187
#10 0x080c5b66 in mob_ai_sub_foreachclient (sd=0xf5dcf30, ap=0xbf846d34 "„?€?Ëœm„?"X    ") at mob.c:1552
No locals.
#11 0x0806ac9d in map_foreachpc (func=0x80c5b30 <mob_ai_sub_foreachclient>) at map.c:1734
    args = 0xbf846d34 "„?€?Ëœm„?"X    "
    ret = <value optimized out>
    iter = (DBIterator *) 0xb7eec4ec
    sd = (struct map_session_data *) 0xf5dcf30
#12 0x080c5fc6 in mob_ai_hard (tid=9, tick=8, id=0, data=0) at mob.c:1644
No locals.
#13 0x08155822 in do_timer (tick=3699427976) at timer.c:330
    tid = 9
    diff = -4
    __FUNCTION__ = "do_timer"
#14 0x08152e84 in main (argc=7, argv=0xbf846e64) at core.c:253
    next = <value optimized out>



The line that appears in the skill.c error is:
QUOTE
VAL2 = (skilllv> 6)? (skillid == PR_SANCTUARY? sd-> status.base_level * 100:1000): sd-> status.base_level * 100,


Yes, it was modified by me following a tutorial about the forum. I did not know should ask here or in the support section, where the support section, sorry:)

This post has been edited by DiogoAsus: May 29 2009, 02:42 PM