Hey guys!
Im not a C/C++ developer or owner of server, but im helping a server/community to keep your existence. Currently we are facing some random crashes after few months of last source update.
We are needing help to fix it, so we can continue to do few changes to keep people playing and enjoying the game. We enabled the GDB to try to understand, but nothing until now.
It starts with this
[1;31m[Error][0m: parse_char: Received unknown packet [1;37m0x3[0m from ip '[1;37m185.202.2.191[0m'! Disconnecting!
[1;31m[Error][0m: parse_char: Received unknown packet [1;37m0x3[0m from ip '[1;37m5.188.206.46[0m'! Disconnecting!
[1;31m[Error][0m: Server received crash signal! Attempting to save all online characters!
At end of characters disconnect
Program received signal SIGPIPE, Broken pipe.
0x00007ffff6d3195b in __libc_send (fd=fd@entry=17, buf=0x5646cb0, n=9,
flags=-153937573, flags@entry=0)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:31
31 ../sysdeps/unix/sysv/linux/x86_64/send.c: No such file or directory.
(gdb) bt full
#0 0x00007ffff6d3195b in __libc_send (fd=fd@entry=17, buf=0x5646cb0, n=9,
flags=-153937573, flags@entry=0)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:31
resultvar = 44
oldtype = 0
#1 0x0000000000506890 in send_from_fifo (fd=17) at socket.c:341
len = <optimizedout>
#2 0x0000000000505bab in flush_fifo (fd=fd@entry=17) at socket.c:370
No locals.
#3 do_close (fd=fd@entry=17) at socket.c:1127
No locals.
#4 0x000000000043602c in clif_parse (fd=17) at clif.c:14940
cmd = <optimizedout>
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---
* Documentation: https://help.ubuntu.com/
System information as of Tue Jan 28 16:37:45 -03 2020
System load: 0.0 Processes: 136
Usage of /: 9.2% of 45.34GB Users logged in: 0
Memory usage: 15%
Swap usage: 0%
Graph this data and manage this system at:
https://landscape.canonical.com/
New release '16.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Your Hardware Enablement Stack (HWE) is supported until April 2019.
*** System restart required ***
Last login: Tue Jan 28 16:37:45 2020 from 191.55.138.222
root@200-98-128-233:~# screen -r
#1 0x0000000000506890 in send_from_fifo (fd=17) at socket.c:341
len = <optimizedout>
#2 0x0000000000505bab in flush_fifo (fd=fd@entry=17) at socket.c:370
No locals.
#3 do_close (fd=fd@entry=17) at socket.c:1127
No locals.
#4 0x000000000043602c in clif_parse (fd=17) at clif.c:14940
cmd = <optimizedout>
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---Quit
(gdb)
#0 0x00007ffff6d3195b in __libc_send (fd=fd@entry=17, buf=0x5646cb0, n=9,
flags=-153937573, flags@entry=0)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:31
resultvar = 44
oldtype = 0
#1 0x0000000000506890 in send_from_fifo (fd=17) at socket.c:341
len = <optimizedout>
#2 0x0000000000505bab in flush_fifo (fd=fd@entry=17) at socket.c:370
No locals.
#3 do_close (fd=fd@entry=17) at socket.c:1127
No locals.
#4 0x000000000043602c in clif_parse (fd=17) at clif.c:14940
cmd = <optimizedout>
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---
* Documentation: https://help.ubuntu.com/
System information as of Tue Jan 28 16:37:45 -03 2020
System load: 0.0 Processes: 136
Usage of /: 9.2% of 45.34GB Users logged in: 0
Memory usage: 15%
Swap usage: 0%
Graph this data and manage this system at:
https://landscape.canonical.com/
New release '16.04.6 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Your Hardware Enablement Stack (HWE) is supported until April 2019.
*** System restart required ***
Last login: Tue Jan 28 16:37:45 2020 from 191.55.138.222
root@200-98-128-233:~# screen -r
#1 0x0000000000506890 in send_from_fifo (fd=17) at socket.c:341
len = <optimizedout>
#2 0x0000000000505bab in flush_fifo (fd=fd@entry=17) at socket.c:370
No locals.
#3 do_close (fd=fd@entry=17) at socket.c:1127
No locals.
#4 0x000000000043602c in clif_parse (fd=17) at clif.c:14940
cmd = <optimizedout>
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---Quit
(gdb)
#0 0x00007ffff6d3195b in __libc_send (fd=fd@entry=17, buf=0x5646cb0, n=9,
flags=-153937573, flags@entry=0)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:31
resultvar = 44
oldtype = 0
#1 0x0000000000506890 in send_from_fifo (fd=17) at socket.c:341
len = <optimizedout>
#2 0x0000000000505bab in flush_fifo (fd=fd@entry=17) at socket.c:370
No locals.
#3 do_close (fd=fd@entry=17) at socket.c:1127
No locals.
#4 0x000000000043602c in clif_parse (fd=17) at clif.c:14940
cmd = <optimizedout>
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---Quit
(gdb)
#0 0x00007ffff6d3195b in __libc_send (fd=fd@entry=17, buf=0x5646cb0, n=9,
flags=-153937573, flags@entry=0)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:31
resultvar = 44
oldtype = 0
#1 0x0000000000506890 in send_from_fifo (fd=17) at socket.c:341
len = <optimizedout>
#2 0x0000000000505bab in flush_fifo (fd=fd@entry=17) at socket.c:370
No locals.
#3 do_close (fd=fd@entry=17) at socket.c:1127
No locals.
#4 0x000000000043602c in clif_parse (fd=17) at clif.c:14940
cmd = <optimizedout>
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---Quit
(gdb)
#0 0x00007ffff6d3195b in __libc_send (fd=fd@entry=17, buf=0x5646cb0, n=9,
flags=-153937573, flags@entry=0)
at ../sysdeps/unix/sysv/linux/x86_64/send.c:31
resultvar = 44
oldtype = 0
#1 0x0000000000506890 in send_from_fifo (fd=17) at socket.c:341
len = <optimizedout>
#2 0x0000000000505bab in flush_fifo (fd=fd@entry=17) at socket.c:370
No locals.
#3 do_close (fd=fd@entry=17) at socket.c:1127
No locals.
#4 0x000000000043602c in clif_parse (fd=17) at clif.c:14940
cmd = <optimizedout>
packet_ver = <optimizedout>
packet_len = <optimizedout>
err = 0
sd = 0x59feef0
pnum = <optimizedout>
#5 0x00000000005069c5 in send_shortlist_do_sends () at socket.c:1380
fd = 17
i = 0
#6 0x0000000000506bb6 in do_sockets (next=<optimizedout>) at socket.c:748
rfd = {__fds_bits = {131072, 0 <repeats 15 times>}}
---Type <return> to continue, or q <return> to quit---
timeout = {tv_sec = 0, tv_usec = 46200}
ret = 0
i = <optimizedout>
#7 0x00000000004037b3 in main (argc=1, argv=0x7fffffffe158) at core.c:254
next = <optimizedout>
(gdb)
If you have an idea of how identify or understand or solve, we are willing to pay for this. And maybe also for future changes/fixes if needed.
Question
Chopps
Hey guys!
Im not a C/C++ developer or owner of server, but im helping a server/community to keep your existence. Currently we are facing some random crashes after few months of last source update.
We are needing help to fix it, so we can continue to do few changes to keep people playing and enjoying the game. We enabled the GDB to try to understand, but nothing until now.
It starts with this
[1;31m[Error][0m: parse_char: Received unknown packet [1;37m0x3[0m from ip '[1;37m185.202.2.191[0m'! Disconnecting! [1;31m[Error][0m: parse_char: Received unknown packet [1;37m0x3[0m from ip '[1;37m5.188.206.46[0m'! Disconnecting! [1;31m[Error][0m: Server received crash signal! Attempting to save all online characters!
At end of characters disconnect
If you have an idea of how identify or understand or solve, we are willing to pay for this. And maybe also for future changes/fixes if needed.
We are running Gepard Shield 2.0!
@edit
Edited by ChoppsTrying to improve the title
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.