summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2023-01-29 15:56:00 +0100
committerGitHub <noreply@github.com>2023-01-29 11:56:00 -0300
commitb3d4d36398f6cf84ea71eb2a1845bf00fb91b42e (patch)
tree22f82dcf7cc8c21fca0f81ca357d96e40465ab42 /apps
parentf8d7f360d6febb261e2ea18698584815d05a959b (diff)
chore(Valgrind): Move Valgrind from data folder to apps folder (#14778)
Diffstat (limited to 'apps')
-rw-r--r--apps/valgrind/helgrind.supp116
1 files changed, 116 insertions, 0 deletions
diff --git a/apps/valgrind/helgrind.supp b/apps/valgrind/helgrind.supp
new file mode 100644
index 0000000000..930a264faf
--- /dev/null
+++ b/apps/valgrind/helgrind.supp
@@ -0,0 +1,116 @@
+{
+ [1] ACE_Future::ready() race in WorldSession::ProcessQueryCallbacks(), a lock is used anyway in ACE_Future::get()/set()
+ Helgrind:Race
+ ...
+ fun:_ZN14ACE_Future_RepIN7Trinity7AutoPtrI17PreparedResultSet16ACE_Thread_MutexEEE3setERKS4_R10ACE_FutureIS4_E
+ fun:_ZN10ACE_FutureIN7Trinity7AutoPtrI17PreparedResultSet16ACE_Thread_MutexEEE3setERKS4_
+ fun:_ZN21PreparedStatementTask7ExecuteEv
+}
+{
+ [1] ACE_Future::ready() race in WorldSession::ProcessQueryCallbacks(), a lock is used anyway in ACE_Future::get()/set()
+ Helgrind:Race
+ ...
+ fun:_ZN14ACE_Future_RepIP14SQLQueryHolderE3setERKS1_R10ACE_FutureIS1_E
+ fun:_ZN10ACE_FutureIP14SQLQueryHolderE3setERKS1_
+ fun:_ZN18SQLQueryHolderTask7ExecuteEv
+}
+{
+ [2] ACE_Future::ready() race in WorldSession::ProcessQueryCallbacks(), a lock is used anyway in ACE_Future::get()/set()
+ Helgrind:Race
+ ...
+ fun:_ZNK14ACE_Future_RepIP14SQLQueryHolderE5readyEv
+ fun:_ZNK10ACE_FutureIP14SQLQueryHolderE5readyEv
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [3] ACE_Future::attach()/detach() false positive in WorldSession::HandleCharEnumOpcode()
+ Helgrind:Race
+ ...
+ fun:_ZN14ACE_Future_RepIN7Trinity7AutoPtrI17PreparedResultSet16ACE_Thread_MutexEEE6attachERPS5_
+}
+{
+ [4] ACE_Future::get() race in WorldSession::ProcessQueryCallbacks() , a lock is used anyway in ACE_Future::get()/set(), the only case when this is a race is if the same ACE_Future is reused by another thread
+ Helgrind:Race
+ ...
+ fun:_ZNK14ACE_Future_RepIP14SQLQueryHolderE3getERS1_P14ACE_Time_Value
+ fun:_ZNK10ACE_FutureIP14SQLQueryHolderE3getERS1_P14ACE_Time_Value
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [4] ACE_Future::get() race in WorldSession::ProcessQueryCallbacks() , a lock is used anyway in ACE_Future::get()/set(), the only case when this is a race is if the same ACE_Future is reused by another thread
+ Helgrind:Race
+ ...
+ fun:_ZNK10ACE_FutureIN7Trinity7AutoPtrI17PreparedResultSet16ACE_Thread_MutexEEE5readyEv
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [5] Race in WorldSession::ProcessQueryCallbacks(), added ASSERT(!m_result.ready())
+ Helgrind:Race
+ ...
+ fun:_ZN6Player10LoadFromDBEjP14SQLQueryHolder
+ fun:_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [5] Race in WorldSession::ProcessQueryCallbacks(), added ASSERT(!m_result.ready())
+ Helgrind:Race
+ ...
+ fun:_ZN14SQLQueryHolder17GetPreparedResultEm
+ fun:_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [5] Race in WorldSession::ProcessQueryCallbacks(), added ASSERT(!m_result.ready())
+ Helgrind:Race
+ ...
+ fun:_ZN12WorldSession15LoadAccountDataEN7Trinity7AutoPtrI17PreparedResultSet16ACE_Thread_MutexEEj
+ fun:_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [5] Race in WorldSession::ProcessQueryCallbacks(), added ASSERT(!m_result.ready())
+ Helgrind:Race
+ ...
+ fun:_ZNK17PreparedResultSet5FetchEv
+ fun:_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [5] Race in WorldSession::ProcessQueryCallbacks(), added ASSERT(!m_result.ready())
+ Helgrind:Race
+ ...
+ fun:_ZNK5Field9GetUInt32Ev
+ fun:_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [5] Race in WorldSession::ProcessQueryCallbacks(), added ASSERT(!m_result.ready())
+ Helgrind:Race
+ ...
+ fun:_ZNK5Field8GetUInt8Ev
+ fun:_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [6] False positive of possible race about ACE_Strong_Bound_Ptr
+ Helgrind:Race
+ ...
+ fun:_ZN17PreparedResultSetD1Ev
+ fun:_ZN20ACE_Strong_Bound_PtrI17PreparedResultSet16ACE_Thread_MutexED1Ev
+ fun:_ZN7Trinity7AutoPtrI17PreparedResultSet16ACE_Thread_MutexED1Ev
+ fun:_ZN12WorldSession17HandlePlayerLoginEP16LoginQueryHolder
+ fun:_ZN12WorldSession21ProcessQueryCallbacksEv
+}
+{
+ [7] Race condition on bool in ACE, ignore
+ Helgrind:Race
+ fun:_ZN11WorldSocket12handle_closeEim
+ fun:_ZN20ACE_Dev_Poll_Reactor16remove_handler_iEimP17ACE_Event_Handler
+}
+{
+ [7] Race condition on bool in ACE, ignore
+ Helgrind:Race
+ fun:_ZNK11WorldSocket8IsClosedEv
+ fun:_ZN12WorldSession6UpdateEjR12PacketFilter
+ fun:_ZN5World14UpdateSessionsEj
+}