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

  • #008045

  • 0 - None Assigned

  • New

Issue Confirmations

  • Yes (0)No (0)
Photo

Map crash [Party ???]

Posted by FeNixZ on 22 February 2014 - 04:34 PM

#0  0x00000000004ce60d in clif_send (buf=0x7fff9a4cd8f0, len=35, bl=0xad895f0,
    type=PARTY) at clif.c:457
        i = <value optimized out>
        sd = 0x25bf9b30
        tsd = <value optimized out>
        p = 0x7ffcd026ca74
        g = 0x0
        bgd = 0x0
        x0 = 0
        x1 = 0
        y0 = 0
        y1 = 0
        fd = 1027202231
        iter = <value optimized out>
#1  0x00000000004c3122 in clif_party_message (p=<value optimized out>,
    account_id=2026307,
    mes=0x7ffcc74d3290 "Clyne'-::- : \276\325\350\301\322á»»\340\264\325\302", <incomplete sequence \307>, len=<value optimized out>) at clif.c:6722
        buf = "\t\001#\000C\353\036\000Clyne'-::- : \276\325\350\301\322á»»\340\264\325\302\307", '\000' <repeats 654 times>, "P\220\301\004\000\000\000\000\356pa", '\000' <repeats 13 times>"\320, \333L\232\377\177", '\000' <repeats 27 times>"\217, a\000\000\000\000\000\220\376y\024\000\000\000\000\000\217a\000\000\000\000\000\204d\222\066\000\000\000\000\320\345\230\000\000\000\000\000`\334L\232\---Type <return> to continue, or q <return> to quit---
377\177\000\000\000\217a\000\000\000\000\000x\207\301\004\000\000\000\000x\207\301\004\000\000\000\000@\334L\232\377\177\000\000\024\210[\232\377\177\000\000\200\334L\232\377\177\000\000\000\000\000\000\000\000\000\000`\334L\232\377\177\000\000\274\210[\232\377\177\000\000\070\004\000\000\000\000\000\000\366\017\000\000\000\000\000\000\n\000\000\000\000\000\000\000\212\312\t\230\070\000\000\000\200\334L\232\377\177\000\000\336,b\000\000\000\000\000b\320\bS\000\000\000\000\231:\004\000\000\000\000\000\260aa"...
        sd = 0xad895f0
        i = <value optimized out>
#2  0x0000000000532c59 in party_recv_message (party_id=<value optimized out>,
    account_id=2026307,
    mes=0x7ffcc74d3290 "Clyne'-::- : \276\325\350\301\322á»»\340\264\325\302", <incomplete sequence \307>, len=27) at party.c:808
        p = <value optimized out>
#3  0x0000000000532b6f in party_send_message (sd=0x275b2270,
    mes=0x7ffcc74d3290 "Clyne'-::- : \276\325\350\301\322á»»\340\264\325\302", <incomplete sequence \307>, len=27) at party.c:795
        __FUNCTION__ = "party_send_message"
#4  0x00000000004a6b30 in clif_parse_PartyMessage (fd=<value optimized out>,
    sd=0x275b2270) at clif.c:12178
        text = 0x7ffcc74d3290 "Clyne'-::- : \276\325\350\301\322á»»\340\264\325\302", <incomplete sequence \307>
        textlen = 27
---Type <return> to continue, or q <return> to quit---
        name = 0x7ffcc74d3290 "Clyne'-::- : \276\325\350\301\322á»»\340\264\325\302", <incomplete sequence \307>
        message = 0x7ffcc74d329d "\276\325\350\301\322á»»\340\264\325\302", <incomplete sequence \307>
        namelen = 10
        messagelen = 14
#5  0x00000000004c24df in clif_parse (fd=4696) at clif.c:18346
        parse_cmd_func = <value optimized out>
        cmd = <value optimized out>
        packet_len = <value optimized out>
        sd = 0x275b2270
        pnum = <value optimized out>
#6  0x0000000000621d3e in do_sockets (next=<value optimized out>)
    at socket.c:887
        rfd = {__fds_bits = {17592186044416, 0, 0, 0, 0, 0, 0, 0, 0,
            1125899906842624, 0 <repeats 40 times>, 2, 0 <repeats 11 times>,
            70368744177664, 18014398509481984, 0, 0, 0, 0, 0, 0, 0, 0, 0,
            16777216, 0, 4611686018427387904, 0 <repeats 84 times>}}
        timeout = {tv_sec = 0, tv_usec = 49481}
        ret = 0
        i = <value optimized out>
#7  0x000000000061e309 in main (argc=<value optimized out>,
    argv=<value optimized out>) at core.c:369
---Type <return> to continue, or q <return> to quit---
        next = <value optimized out>


I'm not being able to reproduce this crash, do you have any more info regarding it?

Really no idea.
Server online with 14500 CCU.
Very hard to specific check. But already ask character "Clyne'-::-" about it.
She was doing hunter jobchanging quest. And just talking with another member in the party.
Will it possible that cause by her name that contained ' character ?
Or will this patch already fix the bug ? -> https://github.com/H...5bebc0207e0f3e2
Because I have not apply it yet.

Will it possible that login-server , char-server hang or unreachable sometime and cause it ?
Because today login,char crashed. (both run on seperate servers.)
Sometime restarting login-server cause char-server to crash.

Core was generated by `./login-server'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000304c84812c in _IO_vfprintf_internal (s=<value optimized out>,
    format=<value optimized out>, ap=<value optimized out>) at vfprintf.c:1641
1641              process_string_arg (((struct printf_spec *) NULL));
Missing separate debuginfos, use: debuginfo-install keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-10.el6_4.6.x86_64 libcom_err-1.41.12-18.el6.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 mysql-libs-5.1.71-1.el6.x86_64 openssl-1.0.1e-16.el6_5.4.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt full
#0  0x000000304c84812c in _IO_vfprintf_internal (s=<value optimized out>,
    format=<value optimized out>, ap=<value optimized out>) at vfprintf.c:1641
        len = <value optimized out>
        string_malloced = <value optimized out>
        step0_jumps = {0, -1285, -1198, 3818, 3910, 3206, 3307, 4086, 1925,
          2133, 2249, 3731, 4474, -4059, -1109, -1062, 868, 956, 968, 980,
          -1505, -495, 665, 755, 827, -3962, 395, 4392, -4059, 3997}
        space = 0
        is_short = 0
        use_outdigits = 0
        step1_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 2133, 2249, 3731, 4474,
          -4059, -1109, -1062, 868, 956, 968, 980, -1505, -495, 665, 755, 827,
          -3962, 395, 4392, -4059, 0}
        group = 0
        prec = -1
        step2_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2249, 3731, 4474, -4059,
          -1109, -1062, 868, 956, 968, 980, -1505, -495, 665, 755, 827, -3962,
          395, 4392, -4059, 0}
        string = <value optimized out>
        left = 0
        is_long_double = 0
        width = 0
        step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2336, 0, 0, 0, -1109,
---Type <return> to continue, or q <return> to quit---
          -1062, 868, 956, 968, 0, 0, 0, 0, 755, 0, 0, 0, 0, 0, 0}
        alt = 0
        showsign = 0
        is_long = 0
        is_char = 0
        pad = 32 ' '
        step3b_jumps = {0 <repeats 11 times>, 4474, 0, 0, -1109, -1062, 868,
          956, 968, 980, -1505, -495, 665, 755, 827, -3962, 395, 0, 0, 0}
        step4_jumps = {0 <repeats 14 times>, -1109, -1062, 868, 956, 968, 980,
          -1505, -495, 665, 755, 827, -3962, 395, 0, 0, 0}
        is_negative = <value optimized out>
        base = <value optimized out>
        the_arg = {pa_wchar = 0 L'\000', pa_int = 0, pa_long_int = 0,
          pa_long_long_int = 0, pa_u_int = 0, pa_u_long_int = 0,
          pa_u_long_long_int = 0, pa_double = 0, pa_long_double = 0,
          pa_string = 0x0, pa_wstring = 0x0, pa_pointer = 0x0, pa_user = 0x0}
        spec = 115 's'
        _buffer = {__routine = 0x304cc0f6c0 <__funlockfile>,
          __arg = 0x304cb8e780, __canceltype = 0, __prev = 0x0}
        _avail = <value optimized out>
        thousands_sep = 0x0
        grouping = 0xffffffffffffffff <Address 0xffffffffffffffff out of bounds>
---Type <return> to continue, or q <return> to quit---
        done = 26
        f = 0x432ac3 "s, received pass: %s, ip: %s)\n"
        lead_str_end = 0x432ac2 "%s, received pass: %s, ip: %s)\n"
        end_of_spec = <value optimized out>
        work_buffer = "\300\027\237\376\377\177\000\000\026\000\000\000\000\000\000\000\220!\237\376\377\177\000\000\251%C\000\000\000\000\000\240\377\377\377\377\377\377\377\316D\204L0\000\000\000\252%C\000\000\000\000\000\001\000\000\000\000\000\000\000\001\000\000\000\000\000\000\000\250\025\237\376\377\177\000\000\000\000\000\000\000\000\000\000 \032\207L0\000\000\000\\\000\000\000\000\000\000\000\200\347\270L0\000\000\000\260\026\237\376\377\177\000\000\257\t\000\000\000\000\000\000\230%C\000\000\000\000\000)-C\000\000\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\000\000\000\000\034\027\237\376\377\177\000\000\070\027\237\376\377\177\000\000\000\000\000\000\000\000\000\000X\027\237\376\377\177\000\000\000\030\237\376", '\000' <repeats 12 times>, " GC\000\000\000\000\000\325-C\000\001", '\000' <repeats 11 times>"\257, \t\000\000\000\000\000\000\b-C\000\204\026\237\376\240\022\237\376\377\177\000\000\377\377\377\377\377\377\377\377\020\027\237\376\377\177\000\000\000\000\000\000\000\000\000\000\250"...
        workstart = 0x0
        workend = 0x7ffffe9f14b8 ""
        ap_save = {{gp_offset = 8, fp_offset = 48,
            overflow_arg_area = 0x7ffffe9f20f0,
            reg_save_area = 0x7ffffe9f2030}}
        nspecs_done = 0
---Type <return> to continue, or q <return> to quit---
        save_errno = 0
        readonly_format = 0
        args_malloced = 0x0
        specs = 0x7ffffe9f163c
        specs_malloced = false
        jump_table = "\001\000\000\004\000\016\000\006\000\000\a\002\000\003\t\000\005\b\b\b\b\b\b\b\b\b\000\000\000\000\000\000\000\032\000\031\000\023\023\023\000\035\000\000\f\000\000\000\000\000\000\025\000\000\000\000\022\000\r\000\000\000\000\000\000\032\000\024\017\023\023\023\n\017\034\000\v\030\027\021\026\f\000\025\033\020\000\000\022\000\r"
#1  0x0000000000418fae in VFPRINTF (file=0x304cb8e780,
    fmt=0x432aa8 "Unknown account (account: %s, received pass: %s, ip: %s)\n",
    argptr=0x7ffffe9f1fc0) at showmsg.c:529
        p = <value optimized out>
        q = <value optimized out>
        tempbuf = {s_ = '\000' <repeats 2053 times>, d_ = 0x0, v_ = 0x0,
          l_ = 0}
#2  0x00000000004195a9 in _vShowMessage (flag=<value optimized out>,
    string=0x432aa8 "Unknown account (account: %s, received pass: %s, ip: %s)\n", ap=0x7ffffe9f2010) at showmsg.c:742
        apcopy = {{gp_offset = 16, fp_offset = 48,
            overflow_arg_area = 0x7ffffe9f20f0,
            reg_save_area = 0x7ffffe9f2030}}
---Type <return> to continue, or q <return> to quit---
        prefix = "\033[1;37m[Notice]\033[0m:\000\000\000\000\374\203\221\205\223\177\000\000\220\002m\000\000\000\000\000L\377\223\205\223\177\000\000x\205\214\205\223\177\000\000\260\250\332\000\000\000\000\000Pg\001\000\000\000\000\000\220\350\332\000\000\000\000\000\200\376\270L0\000\000\000p'\001\000\000\000\000\000\001\000\000"
#3  0x0000000000419da5 in ShowNotice (string=<value optimized out>)
    at showmsg.c:820
        ap = {{gp_offset = 8, fp_offset = 48,
            overflow_arg_area = 0x7ffffe9f20f0,
            reg_save_area = 0x7ffffe9f2030}}
#4  0x000000000041255a in mmo_auth (sd=0x5c5c5c5c5c5c5c30, isServer=false)
    at login.c:1008
        acc = {account_id = -1,
          userid = "\377\377\377\377\377\377\377\377\377\377\377\377", '\000' <repeats 11 times>, pass = '\000' <repeats 32 times>, sex = 0 '\000',
          email = '\000' <repeats 34 times>"\375, \023΄\223\177",
          mac_address = "\000\000è…Œ\205\223\177\000\000~\240\223\205\223\177\000\000\062", <incomplete sequence \331>, group_id = 32659, char_slots = 56 '8',
          state = 0, unban_time = 7144064, expiration_time = 140271565018080,
          logincount = 188, pincode_change = 0, pincode = "\256\000\000\000",
          lastlogin = "\000\000\000\305\000\000\000\000\000\000\000_\000\000\000\000\000\000\000\227\000\000\000",
          last_ip = "\000\000\000\333\000\000\000\000\000\000\000\240)d\000",
---Type <return> to continue, or q <return> to quit---
          birthdate = "\000\000\000bc:ae:c5"}
        len = <value optimized out>
        ip = "27.145.69.254\000\000"
#5  0x0000000000413208 in parse_login (fd=8) at login.c:1500
        command = <value optimized out>
        sd = 0x7f93858c854c
        result = -1
        ip = "27.145.69.254\000\000"
        ipl = 2240579000
        __FUNCTION__ = "parse_login"
#6  0x000000000041eb0e in do_sockets (next=<value optimized out>)
    at socket.c:887
        rfd = {__fds_bits = {256, 0 <repeats 159 times>}}
        timeout = {tv_sec = 0, tv_usec = 48779}
        ret = 0
        i = <value optimized out>
#7  0x000000000041b0d9 in main (argc=<value optimized out>,
    argv=<value optimized out>) at core.c:369
        next = <value optimized out>


Edited by FeNixZ, 23 February 2014 - 06:48 AM.