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

  • #008479

  • 0 - None Assigned

  • New

Issue Confirmations

  • Yes (0)No (0)
Photo

Map server crashed -- related to @Channels

Posted by Jattington on 27 December 2014 - 11:51 PM

Hey guys me again!

We've solved the issue we had with our player count - however recently another issue has been arising with @channels.

Here's the log:

#1  0x0000000000422ebd in atcommand_channel (fd=1293, sd=0xba41e20, 
    command=<optimized out>, message=<optimized out>, info=<optimized out>)
    at atcommand.c:9130
        channel = <optimized out>
        subcmd = "leave\000\000\000\247\036=u\032+\000\000\000\000\000"
        sub1 = "#party\000\000@t X\377\177\000\000\000\000\000"
        sub2 = "\000v X\377\177\000\000pu X\377\177\000\000Xy X"
        sub3 = '\000' <repeats 16 times>, "x\325", <incomplete sequence \337>
        k = 0 '\000'
        FUNCTION = "atcommand_channel"
#2  0x00000000004273ab in atcommand_exec (fd=1293, sd=0xba41e20, 
    message=0x2b1a8d3c584b "@channel leave #party", 
    player_invoked=<optimized out>) at atcommand.c:10201
        charname = '\000' <repeats 23 times>
        params = "leave #party", '\000' <repeats 87 times>
        charname2 = '\000' <repeats 23 times>
        params2 = '\000' <repeats 40 times>, "'\000\000\000\036\000\000\000\001", '\000' <repeats 23 times>, "hw X\377\177\000\000Xv X\377\177\000\000\061\001\000\000\001\000\000\000\000\000\000"
        command = "@channel", '\000' <repeats 91 times>
        output = '\000' <repeats 24 times>, "\001\000\000\000\000\000\000\000xw X\377\177\000\000\070\305K\000\000\000\000\000@\336F\000\000\000\000\000\377\377\377\177", '\000' <repeats 12 times>, "\060\000\000\000\060\000\000\000\310x X\377\177\000\000\340w X\377\177\000\000\000\000\000\000\000\000\000\000\310w X\377\177\000\000@\336F", '\000' <repeats 13 times>, "\003\000\000\000\000\000\000\000@ҙ\000\000\000\000\000\020\340\257\017\000\000\000\000DUL", '\000' <repeats 29 times>, "\060\000\000\000\060\000\000\000\250x X\377\177\000\000\340"...
        atcmd_msg = "@channel leave #party\000\000\000\340w X\377\177", '\000' <repeats 186 times>...
        ssd = <optimized out>
        info = 0x2b1a795bb93c
#3  0x0000000000468d10 in clif_parse_GlobalMessage (fd=1293, sd=0xba41e20)
    at clif.c:9918
        text = 0x2b1a8d3c5840 "Skrillex : @channel leave #party"
        textlen = 33
        name = 0x2b1a8d3c5840 "Skrillex : @channel leave #party"
        message = 0x2b1a8d3c584b "@channel leave #party"
        fakename = 0x0
        namelen = 8
        messagelen = 22
        is_fake = <optimized out>
        FUNCTION = "clif_parse_GlobalMessage"
#4  0x000000000045b791 in clif_parse (fd=1293) at clif.c:18782
        parse_cmd_func = <optimized out>
        cmd = <optimized out>
        packet_len = <optimized out>
        sd = 0xba41e20
        pnum = 0
#5  0x00000000005e1475 in do_sockets (next=<optimized out>) at socket.c:885
        rfd = {fds_bits = {2097408, 281474976972800, 0, 0, 0, 0, 0, 0, 0, 
            1024, 0, 4, 67108864, -9223372036854775808, 0, 72057594040025088, 
            4611686018427388032, 0, 0, 0, 72057598332903424, 4947802324992, 
            0 <repeats 104 times>}}
        timeout = {tv_sec = 0, tv_usec = 49792}
        ret = 0
        i = 1293
#6  0x0000000000404479 in main (argc=<optimized out>, argv=<optimized out>)
    at core.c:259
        next = <optimized out>
        retval = 0
(gdb)

This is the 2nd time it's happened in two days. Player counts were both above 1600 at time and I also found this: https://rathena.org/...p-server-crash/ when looking around. We're disabling the command from players for now. Yesterday when it crashed the log we received was:

http://pastebin.com/KZSGNxqi

So they're pretty similar.

Any thoughts would be much appreciated.

Cheers

Edit:

We've applied a hotfix to it, testing it out now. Will update later.