Crash creating a discovery server participant when built with VS2019 #3144
Replies: 3 comments
-
I could not reproduce the issue with the information provided, the output I obtained was the help being printed in the console. I also tried running it with |
Beta Was this translation helpful? Give feedback.
-
Hi @Mario-DL, I am sorry for late reply. |
Beta Was this translation helpful? Give feedback.
-
Hello @VladimirVassiliev I double checked with FastDDS 2.6.2 in Debug mode with MVSC 2019 v142 and the issue does not occur. As the configuration of your compiler is unknown i will move this conversation to the corresponding forum according to our CONTRIBUTING.md guidelines. Nonetheless, we thank you for the proposed fix and we are aware in case it happens in the future. |
Beta Was this translation helpful? Give feedback.
-
Is there an already existing issue for this?
Expected behavior
Not crash.
Current behavior
Memory assess violation when calling eprosima::fastrtps::Domain::createParticipant() with discoveryProtocol set to SERVER.
The problem is the following code in
PDPServer::initializeParticipantProxyData()
(PDPServer.cpp):Doing the following fixes the problem:
The same code also exists in PDPClient.cpp.
Steps to reproduce
Fast DDS version/commit
2.6.2
Platform/Architecture
Windows 10 Visual Studio 2019
Transport layer
UDPv4
Additional context
No response
XML configuration file
No response
Relevant log output
No response
Network traffic capture
No response
Beta Was this translation helpful? Give feedback.
All reactions