From be4c2715abfd286c6b8c789c2ac11583c7c42b85 Mon Sep 17 00:00:00 2001 From: Mark Roszko Date: Fri, 21 Jun 2024 11:20:17 +0000 Subject: [PATCH] Don't use message as part of the assert dedup kimath overflow can generate thousands of unique messages in one run lolol (cherry picked from commit acec5552c012198ec2f2d497e91b812a183dbbfc) Co-authored-by: Marek Roszko --- common/pgm_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 79d9e55b9e..cdaad56da2 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -989,7 +989,7 @@ void PGM_BASE::HandleAssert( const wxString& aFile, int aLine, const wxString& a { static std::set assertCache; - SENTRY_ASSERT_CACHE_KEY key = { aFile, aLine, aFunc, aCond, aMsg }; + SENTRY_ASSERT_CACHE_KEY key = { aFile, aLine, aFunc, aCond }; if( assertCache.find( key ) == assertCache.end() ) {