Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

about demo examples\C++\DDS\HelloWorldExample

Open Jun1172 opened this issue 2 years ago • 3 comments

Is there an already existing issue for this?

  • [X] I have searched the existing issues

Expected behavior

It was compiled three days ago and can be used normally

Current behavior

Yesterday, only one subscriber or publisher could be created. I opened two command lines on windows. If a subscriber is created, publisher cannot be created. The reverse operation is the same. I am sure that exe is normal because it has been used before and has not been changed.

Try to reinstall fastdds2.6 and fastdds2.4, and recompile the demo. The same is true for exe. Only one subscriber or publisher can be run.

It is normal to reinstall windows today and take yesterday's exe.

I think there is something wrong with the computer environment, but I can't tell what is wrong.

I developed fastdds application on QT yesterday, and finally monitored it to get_ instance()->create_ The participant will get stuck, and the log indicates that there is a wild pointer.

The above is all information.

Steps to reproduce

xx

Fast DDS version/commit

xx

Platform/Architecture

Windows 10 Visual Studio 2019

Transport layer

Default configuration, UDPv4 & SHM

Additional context

No response

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

Jun1172 avatar Jun 08 '22 07:06 Jun1172

the same problem? when i debug the cmakelist helloworld example! it break at line participant_ = DomainParticipantFactory::get_instance()->create_participant(0, participantQos);

Exception at 0x7ffe589efaec, code: 0xe06d7363: C++ exception, flags=0x81 (first chance) in fastrtpsd_2_7!eprosima::fastrtps::rtps::ReaderProxyData::add_unicast_locator

nealwang123 avatar Sep 08 '22 02:09 nealwang123

Did you solve your problem?

nealwang123 avatar Sep 08 '22 02:09 nealwang123

@Jun1172 @nealwang123 First of all, sorry for the late response. I have never seen such exception when running the HelloWorld example.

Could you provide a step by step guide on how to reproduce this?

MiguelCompany avatar Oct 11 '22 10:10 MiguelCompany

According to out CONTRIBUTING.md guidelines, I am closing this issue due to inactivity.

Mario-DL avatar Nov 30 '22 15:11 Mario-DL