Basically, I installed ros-humble on a remote server, compiled it with thread sanitizer, And when I start to boot the ros2 system and try to testing it, by running the test_executor demon, I get the following tsan report.
Fast DDS version/commit
Operating System:
Ubuntu 22.04
Installation type:
source code
Version or commit hash:
humble
DDS implementation:
FastRTPS
Client library (if applicable):
RCLCPP
Platform/Architecture
Other. Please specify in Additional context section.
auto fill_active_conditions = [&]()
{
bool ret_val = false;
active_conditions.clear();
for (const Condition* c : entries_)
{
if (c->get_trigger_value())
{
ret_val = true;
active_conditions.push_back(const_cast<Condition*>(c));
}
}
return ret_val;
};
It would be so nice of you to review this bug report. Thank you again for taking the time. Any suggestions or feedback you can provide would be helpful.
Is there an already existing issue for this?
Expected behavior
The system start without error.
Current behavior
System emit an tsan report
Steps to reproduce
Basically, I installed ros-humble on a remote server, compiled it with thread sanitizer, And when I start to boot the ros2 system and try to testing it, by running the test_executor demon, I get the following tsan report.
Fast DDS version/commit
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
Default configuration, UDPv4 & SHM
Additional context
the following is the tsan report: https://pastebin.com/e2TEaq6q
it seems that there is a race condition happened between the following two code section:
It would be so nice of you to review this bug report. Thank you again for taking the time. Any suggestions or feedback you can provide would be helpful.
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response