rsyslog/tests/tsan.supp
Rainer Gerhards 2ba1484a95
imptcp bugfix: received bytes counter improperly maintained
imptcp counts the number of bytes received. However, receives
happen on different worker thread. The access to the counter
was not synchronized, which can cause loss of updates. Also,
thread debuggers validly flag this as an error, which creates
problems under CI.

This commit fixes the situation via atomic operations and
falls back to mutex calls if they are not available.

Detected by LLVM thread sanitizer.

closes https://github.com/rsyslog/rsyslog/issues/3798
2019-08-09 10:39:57 +02:00

20 lines
335 B
Plaintext

#fun:resetResettableCtr
src:debug.c
src:queue.c
src:omprog.c
src:lookup.c
src:rainerscript.c
src:imdiag.c
fun:doSIGTTIN
# Queue code intentionally is not using atomics
#fun:
# actual bugs that should be fixed ASAP after TSAN is in place:
fun:TCPSessTblFindFreeSpot
fun:processWorksetItem
fun:doLogMsg
fun:setSuspendMessageConfVars