Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * thread #1: tid = 32226, 0x000055555559348c zcatch_srv`vector2_base<float>::operator=(this=0x000055555581e684, v=0x000000020000002c) + 26 at vmath.h:34, name = 'zcatch_srv', stop reason = signal SIGSEGV: invalid address (fault address: 0x20000002c)
- * frame #0: 0x000055555559348c zcatch_srv`vector2_base<float>::operator=(this=0x000055555581e684, v=0x000000020000002c) + 26 at vmath.h:34
- frame #1: 0x00005555555af88f zcatch_srv`CPlayer::PostTick(this=0x000055555581e670) + 427 at player.cpp:169
- frame #2: 0x000055555559a111 zcatch_srv`CGameContext::OnTick(this=0x0000555555892f20) + 479 at gamecontext.cpp:518
- frame #3: 0x0000555555589c70 zcatch_srv`CServer::Run(this=0x00007ffff597a010) + 2518 at server.cpp:1424
- frame #4: 0x000055555558bb6b zcatch_srv`main(argc=1, argv=0x00007fffffffe238) + 1179 at server.cpp:1880
- frame #5: 0x00007ffff696a2e1 libc.so.6`__libc_start_main + 241
- frame #6: 0x0000555555582e4a zcatch_srv`_start + 42
- thread #2: tid = 32251, 0x00007ffff6a0228d libc.so.6`nanosleep + 45, name = 'zcatch_srv'
- frame #0: 0x00007ffff6a0228d libc.so.6`nanosleep + 45
- frame #1: 0x00007ffff6a2bdc4 libc.so.6`usleep + 52
- frame #2: 0x00005555555e59f9 zcatch_srv`thread_sleep(milliseconds=10) + 27 at system.c:512
- frame #3: 0x00005555555d069e zcatch_srv`CJobPool::WorkerThread(pUser=0x0000555555892800) + 276 at jobs.cpp:56
- frame #4: 0x00005555555e58d6 zcatch_srv`thread_run(user=0x0000555555892d90) + 68 at system.c:452
- frame #5: 0x00007ffff79af4a4 libpthread.so.0`start_thread + 196
- frame #6: 0x00007ffff6a32d0f libc.so.6`clone + 63
- void CPlayer::PostTick()
- {
- // update latency value
- if(m_PlayerFlags&PLAYERFLAG_SCOREBOARD)
- {
- for(int i = 0; i < MAX_CLIENTS; ++i)
- {
- if(GameServer()->m_apPlayers[i] && GameServer()->m_apPlayers[i]->GetTeam() != TEAM_SPECTATORS)
- m_aActLatency[i] = GameServer()->m_apPlayers[i]->m_Latency.m_Min;
- }
- }
- // update view pos for spectators and dead players
- if((m_Team == TEAM_SPECTATORS || m_DeadSpecMode) && m_SpecMode != SPEC_FREEVIEW)
- {
- if(m_pSpecFlag)
- m_ViewPos = m_pSpecFlag->GetPos();
- else if (GameServer()->m_apPlayers[m_SpectatorID])
- m_ViewPos = GameServer()->m_apPlayers[m_SpectatorID]->m_ViewPos; // <--------------------
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement