fokkonaut / F-DDrace

F-DDrace is a server-side modification of Teeworlds, developed by fokkonaut.
Other
12 stars 16 forks source link

wrong econ password crash #126

Open ChillerDragon opened 3 years ago

ChillerDragon commented 3 years ago
echo "/============= server start 2021-07-05 20:38:16 =============\"
echo "[2021-07-11 12:42:55][econ]: client accepted. cid=0 addr=<{51.210.171.47:50904}>'"
echo "[2021-07-11 12:42:55][chat-command]: 36 used /pause"
echo "[2021-07-11 12:42:56][chat-command]: 59 used /pause"
echo "[2021-07-11 12:42:57][chat-command]: 59 used /pause"
echo "[2021-07-11 12:42:57][chat-command]: 36 used /pause"
echo "[2021-07-11 12:42:58][chat-command]: 36 used /pause"
echo "[2021-07-11 12:42:58][game]: kill killer='51:YelloWorlD' victim='51:YelloWorlD' weapon=-2 special=0 killer_team:0 victim_team:0"
echo "[2021-07-11 12:42:58][chat-command]: 36 used /pause"
echo "[2021-07-11 12:42:58][chat-command]: 59 used /pause"
echo "[2021-07-11 12:42:59][econ]: client dropped. cid=0 addr=<{51.210.171.47:50904}> reason='Too many authentication tries'"
echo ""
echo "#0  __libc_send (flags=0, len=32, buf=0x7fffffffc1b0, fd=8) at ../sysdeps/unix/sysv/linux/send.c:28"
echo "#1  __libc_send (fd=8, buf=buf@entry=0x7fffffffc1b0, len=len@entry=32, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/send.c:23"
echo "#2  0x0000555555670159 in net_tcp_send (sock=..., data=data@entry=0x7fffffffc1b0, size=size@entry=32) at /home/fokko/git/F-DDrace/src/base/system.c:1453"
echo "#3  0x0000555555663a46 in CConsoleNetConnection::Send (this=0x7ffff739b9b0, pLine=<optimized out>) at /home/fokko/git/F-DDrace/src/engine/shared/network_console_conn.cpp:182"
echo "#4  0x0000555555663b2d in CConsoleNetConnection::Disconnect (this=0x7ffff739b9b0, pReason=pReason@entry=0x555555698067 \"Too many authentication tries\") at /home/fokko/git/F-DDrace/src/engine/shared/network_console_conn.cpp:47"
echo "#5  0x00005555556631bb in CNetConsole::Drop (this=this@entry=0x7ffff739b998, ClientID=<optimized out>, pReason=pReason@entry=0x555555698067 \"Too many authentication tries\") at /home/fokko/git/F-DDrace/src/engine/shared/network_console.cpp:54"
echo "#6  0x0000555555659c75 in CEcon::Update (this=this@entry=0x7ffff739b920) at /home/fokko/git/F-DDrace/src/engine/shared/econ.cpp:174"
echo "#7  0x000055555559abba in CServer::PumpNetwork (this=this@entry=0x7ffff55c0010) at /home/fokko/git/F-DDrace/src/engine/server/server.cpp:1927"
echo "#8  0x000055555559b2a2 in CServer::Run (this=0x7ffff55c0010) at /home/fokko/git/F-DDrace/src/engine/server/server.cpp:2209"
echo "#9  0x0000555555590158 in main (argc=2, argv=0x7fffffffd9d8) at /home/fokko/git/F-DDrace/src/engine/server/server.cpp:3020"
echo "\============= server stop  2021-07-11 12:42:59 =============/"
``` (gdb) bt full #0 __libc_send (flags=0, len=32, buf=0x7fffffffc1b0, fd=8) at ../sysdeps/unix/sysv/linux/send.c:28 resultvar = 18446744073709551584 sc_cancel_oldtype = 0 sc_ret = sc_ret = sc_ret = resultvar = resultvar = __arg6 = __arg5 = __arg4 = __arg3 = __arg2 = __arg1 = _a6 = _a5 = _a4 = _a3 = _a2 = _a1 = sc_cancel_oldtype = resultvar = resultvar = __arg6 = __arg5 = __arg4 = __arg3 = __arg2 = __arg1 = _a6 = _a5 = _a4 = _a3 = _a2 = _a1 = #1 __libc_send (fd=8, buf=buf@entry=0x7fffffffc1b0, len=len@entry=32, flags=flags@entry=0) at ../sysdeps/unix/sysv/linux/send.c:23 sc_ret = resultvar = resultvar = __arg6 = __arg5 = __arg4 = __arg3 = __arg2 = __arg1 = _a6 = _a5 = _a4 = _a3 = _a2 = _a1 = sc_cancel_oldtype = resultvar = resultvar = __arg6 = __arg5 = __arg4 = __arg3 = __arg2 = __arg1 = _a6 = _a5 = _a4 = _a3 = _a2 = _a1 = #2 0x0000555555670159 in net_tcp_send (sock=..., data=data@entry=0x7fffffffc1b0, size=size@entry=32) at /home/fokko/git/F-DDrace/src/base/system.c:1453 bytes = -1 #3 0x0000555555663a46 in CConsoleNetConnection::Send (this=0x7ffff739b9b0, pLine=) at /home/fokko/git/F-DDrace/src/engine/shared/network_console_conn.cpp:182 Send = aBuf = "Too many authentication tries\n", '\000' Length = 32 pData = 0x7fffffffc1b0 "Too many authentication tries\n" Send = #4 0x0000555555663b2d in CConsoleNetConnection::Disconnect (this=0x7ffff739b9b0, pReason=pReason@entry=0x555555698067 "Too many authentication tries") at /home/fokko/git/F-DDrace/src/engine/shared/network_console_conn.cpp:47 No locals. #5 0x00005555556631bb in CNetConsole::Drop (this=this@entry=0x7ffff739b998, ClientID=, pReason=pReason@entry=0x555555698067 "Too many authentication tries") at /home/fokko/git/F-DDrace/src/engine/shared/network_console.cpp:54 No locals. #6 0x0000555555659c75 in CEcon::Update (this=this@entry=0x7ffff739b920) at /home/fokko/git/F-DDrace/src/engine/shared/econ.cpp:174 aMsg = "Wrong password 3/3.", '\000' , "H\303", '\000' , "\200\215E", '\000' , "\200?", '\000' aBuf = "say [TEM] starting...", '\000' ... ClientID = 0 #7 0x000055555559abba in CServer::PumpNetwork (this=this@entry=0x7ffff55c0010) at /home/fokko/git/F-DDrace/src/engine/server/server.cpp:1927 Packet = {m_ClientID = 45, m_Address = {type = 1, ip = "\324źo", '\000' , port = 56071, reserved = 0}, m_Flags = 0, m_DataSize = 23, m_pData = 0x7ffff739a342, m_aExtraData = "Bz\000"} ResponseToken = 4294967295 Sevendown = false #8 0x000055555559b2a2 in CServer::Run (this=0x7ffff55c0010) at /home/fokko/git/F-DDrace/src/engine/server/server.cpp:2209 Now = NewTicks = true ShouldSnap = true Userdata = {m_pServer = 0x7ffff55c0010, m_aName = '\000' } BindAddr = {type = 3, ip = "3ҫ/", '\000' , port = 7303, reserved = 0} aBuf = "game version 0.7/0.6, 12.8.1\000d4\000ground'", '\000' , "-sr\367\377\177\000\000\360j\206UUU\000\000\000\000\000\000\000\000\000\000,\000\000\000\000\000\000\000>\367fUUU\000\000p\330\377\377\377\177\000\000\000}|y\235|\320\344\371\377\377\377\000\000\000\000u\000\000\000\000\000\000\000\240.\204UUU\000\000\260\364fUUU\000\000\000\000\000\000\000\000\000\000,\000\000\000\000\000\000\000dumps/TeeworldsLogs/fddrace/logs/fddrace"... #9 0x0000555555590158 in main (argc=2, argv=0x7fffffffd9d8) at /home/fokko/git/F-DDrace/src/engine/server/server.cpp:3020 UseDefaultConfig = false pServer = 0x7ffff55c0010 pKernel = 0x555555866050 FlagMask = 36 pEngine = 0x555555866970 pEngineMap = 0x5555558672e0 pGameServer = 0x7ffff4d7b010 pConsole = 0x5555558673d0 pEngineMasterServer = 0x5555558676e0 pStorage = 0x5555558983c0 pConfigManager = 0x55555589abe0 pEngineAntibot = 0x55555589c530 Ret = (gdb) info registers rax 0xffffffffffffffe0 -32 rbx 0x8 8 rcx 0xffffffffffffffff -1 rdx 0x20 32 rsi 0x7fffffffc1b0 140737488339376 rdi 0x8 8 rbp 0x0 0x0 rsp 0x7fffffffc130 0x7fffffffc130 r8 0x0 0 r9 0x0 0 r10 0x0 0 r11 0x246 582 r12 0x7fffffffc1b0 140737488339376 r13 0x20 32 r14 0x0 0 r15 0x7fffffffc630 140737488340528 rip 0x7ffff7a9a93e 0x7ffff7a9a93e <__libc_send+94> eflags 0x246 [ PF ZF IF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/20i $rip-20 0x7ffff7a9a92a <__libc_send+74>: mov r10d,r14d 0x7ffff7a9a92d <__libc_send+77>: mov ebp,eax 0x7ffff7a9a92f <__libc_send+79>: mov rdx,r13 0x7ffff7a9a932 <__libc_send+82>: mov rsi,r12 0x7ffff7a9a935 <__libc_send+85>: mov edi,ebx 0x7ffff7a9a937 <__libc_send+87>: mov eax,0x2c 0x7ffff7a9a93c <__libc_send+92>: syscall => 0x7ffff7a9a93e <__libc_send+94>: cmp rax,0xfffffffffffff000 0x7ffff7a9a944 <__libc_send+100>: ja 0x7ffff7a9a97c <__libc_send+156> 0x7ffff7a9a946 <__libc_send+102>: mov edi,ebp 0x7ffff7a9a948 <__libc_send+104>: mov QWORD PTR [rsp+0x8],rax 0x7ffff7a9a94d <__libc_send+109>: call 0x7ffff7a9a1f0 <__pthread_disable_asynccancel> 0x7ffff7a9a952 <__libc_send+114>: mov rax,QWORD PTR [rsp+0x8] 0x7ffff7a9a957 <__libc_send+119>: add rsp,0x10 0x7ffff7a9a95b <__libc_send+123>: pop rbx 0x7ffff7a9a95c <__libc_send+124>: pop rbp 0x7ffff7a9a95d <__libc_send+125>: pop r12 0x7ffff7a9a95f <__libc_send+127>: pop r13 0x7ffff7a9a961 <__libc_send+129>: pop r14 0x7ffff7a9a963 <__libc_send+131>: ret (gdb) list 23 in ../sysdeps/unix/sysv/linux/send.c (gdb) info threads Id Target Id Frame * 1 Thread 0x7ffff759b740 (LWP 26330) "fddrace" __libc_send (flags=0, len=32, buf=0x7fffffffc1b0, fd=8) at ../sysdeps/unix/sysv/linux/send.c:28 2 Thread 0x7ffff55bf700 (LWP 26402) "fddrace" 0x00007ffff766b720 in __GI___nanosleep (requested_time=requested_time@entry=0x7ffff55bee90, remaining=remaining@entry=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28 ```