etlegacy
etlegacy copied to clipboard
tv slave and "ETL DEMO STATS BOT" conflict crash
@ryzyk-krzysiek
if sv_etltv_maxslaves==1and sv_autodemo 1 then connecting tv slave conflicts with "ETL DEMO STATS BOT" and eventually crashes server later
setup:
etlded +set fs_homepath ... +map oasis +sv_etltv_password 3ttv +set sv_autodemo 1 +sv_etltv_maxslaves 1 +g_warmup 10
then right after run: etlded +set fs_homepath ... +tv connect localhost:27960 3ttv +wait 1000 +echo quitting +quit
tv slave will cause "ETL DEMO STATS BOT" to drop and when warmup countdown finishes and server tries to re-add "ETL DEMO STATS BOT", it SIGSEGVs at:
__memset_avx2_unaligned_erms 0x00007ffff7e2ffc9
ClientConnect g_client.c:2315
G_DemoStateChanged g_demo_legacy.c:79
vmMain g_main.c:824
VM_CallFunc vm.c:779
SV_DemoStateChanged sv_demo.c:2402
SV_DemoSupport sv_demo.c:2365
SV_GameSystemCalls sv_game.c:703
VM_DllSyscall vm.c:362
trap_DemoSupport g_syscalls.c:826
G_InitGame g_main.c:2435
vmMain g_main.c:770
VM_CallFunc vm.c:779
SV_InitGameVM sv_game.c:775
SV_RestartGameProgs sv_game.c:796
SV_MapRestart_f sv_ccmds.c:339
Cmd_ExecuteString cmd.c:1039
Cbuf_Execute cmd.c:279
Com_Frame common.c:3519
Sys_GameLoop sys_main.c:1079
main sys_main.c:1229