mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
Running SITL with the Gazebo bridge under ThreadSanitizer reports many data races inside libzmq and gz-transport (and the GZBridge glue) - third-party simulation transport that is not in the flight path or the SIH-based CI and that we cannot fix. Add a suppressions file so the TSan signal stays usable for finding real races. Use via TSAN_OPTIONS="suppressions=test/sitl_tsan.supp".
18 lines
672 B
Plaintext
18 lines
672 B
Plaintext
# ThreadSanitizer suppressions for SITL runs that use the Gazebo bridge.
|
|
#
|
|
# These are races inside the third-party simulation transport (ZeroMQ and
|
|
# gz-transport) and the PX4<->Gazebo bridge glue. None of it is in the flight
|
|
# code path or the SIH-based CI, and we can't fix the prebuilt libraries -
|
|
# suppressing it keeps TSan usable for finding real races in flight code.
|
|
#
|
|
# Do NOT add flight-code symbols here. Use: TSAN_OPTIONS="suppressions=<this file>"
|
|
|
|
# ZeroMQ internals (background ZMQbg/IO threads)
|
|
called_from_lib:libzmq.so.5
|
|
|
|
# gz-transport library
|
|
race:gz::transport
|
|
|
|
# PX4 <-> Gazebo bridge glue (simulation only, not flight, not in SIH CI)
|
|
race:GZBridge
|