This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
In the SharedMemory example, sometimes the publisher and subscriber topic cannot be matched #3599
Closed
1 task done
Is there an already existing issue for this?
Expected behavior
When a publisher and subscriber have the same topic, they should match every time.
Current behavior
Sometimes publisher and subscriber cannot match and communicate
Steps to reproduce
Fast DDS version/commit
2.6.X
Platform/Architecture
Other. Please specify in Additional context section.
Transport layer
UDPv4, Shared Memory Transport (SHM), Zero copy
Additional context
Platform: QNX7
I turned on the debug function of dds and compared the difference between connected and unconnected. Before printing out the "Subscriber matched." message, they differ in the following
Connected:
01.0f.ce.6a.1e.90.de.ae.01.00.00.00|0.0.1.c1 at MTTLoc: {UNICAST:[SHM:[]:7414]} DefLoc:{UNICAST:[SHM:[]:7415]} -> Function onNewCacheChangeAdded
[RTPS_TRANSPORT_SHM Info] (ID:5) Opening fastrtps_port7414 -> Function open_port_internal
[RTPS_TRANSPORT_SHM Info] (ID:5) Port 7414 (0d449125890005a2) OpenedWrite -> Function open_port_internal
Disconnected:
01.0f.ea.21.1e.10.f4.ef.01.00.00.00|0.0.1.c1 at MTTLoc: {} DefLoc:{} -> Function onNewCacheChangeAdded
XML configuration file
Relevant log output
Network traffic capture
No response
The text was updated successfully, but these errors were encountered: