redBorder / f2k

netflow 2 kafka translator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helgrind errors on tests

Bigomby opened this issue · comments

The following error is detected by Helgrind on an external library:

==29300== Thread #2: pthread_cond_{timed}wait called with un-held mutex
==29300==    at 0x4C35954: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==29300==    by 0x4C35A19: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==29300==    by 0x4E43C5C: rd_fifoq_pop0 (in /usr/local/lib/librd.so)
==29300==    by 0x410C55: popPacketFromQueue_timedwait (util.h:90)
==29300==    by 0x410C55: netFlowConsumerLoop (collect.c:1456)
==29300==    by 0x4C34DB6: ??? (in /usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so)
==29300==    by 0x50556F9: start_thread (pthread_create.c:333)
==29300==    by 0x6471B5C: clone (clone.S:109)

This would be a possible suppression:

{
   librd rdqueue 
   Helgrind:Misc
   obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so
   obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so
   fun:rd_fifoq_pop0
   fun:popPacketFromQueue_timedwait
   fun:netFlowConsumerLoop
   obj:/usr/lib/valgrind/vgpreload_helgrind-amd64-linux.so
   fun:start_thread
   fun:clone
}

Closing this