Browse Source

valgrind: suppress multi-thread (false positive) condition

Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
multithread
Eduardo Silva 9 months ago
parent
commit
ec1a5ac124
  1. 19
      valgrind.supp

19
valgrind.supp

@ -93,3 +93,22 @@
fun:pthread_cancel_init
fun:_Unwind_ForcedUnwind
}
# Thread Pool (multi-worker mode in output instance). When the thread pool interface
# starts, the flb_output_thread.c allocate a context. Valgrind complains about it
# but in reality it's only used inside the thread.
{
<insert_a_suppression_name_here>
Helgrind:Race
fun:flb_output_thread_pool_flush
fun:flb_output_task_flush
fun:tasks_start
fun:flb_engine_dispatch
fun:flb_engine_flush
fun:flb_engine_handle_event
fun:flb_engine_start
fun:flb_lib_worker
obj:/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_helgrind-amd64-linux.so
fun:start_thread
fun:clone
}

Loading…
Cancel
Save