From 0168ab6535028d1349b1645fa9fa8ab7693f0473 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 12 Jun 2021 14:41:53 +0200 Subject: [PATCH] Server queries must be always acknowledged. --- client/TracyProfiler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 81666e20..056146ef 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -3218,14 +3218,15 @@ static bool EnsureReadable( uintptr_t address ) void Profiler::HandleSymbolQuery( uint64_t symbol ) { #ifdef TRACY_HAS_CALLSTACK -#ifdef __ANDROID__ +# ifdef __ANDROID__ // On Android it's common for code to be in mappings that are only executable // but not readable. if( !EnsureReadable( symbol ) ) { + AckServerQuery(); return; } -#endif +# endif const auto sym = DecodeSymbolAddress( symbol ); SendSingleString( sym.file );