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

DomainParticipantFactory destructor is stucked by win_iocp_io_context::shutdown when main exits using TcpV4 transport

Open chunyisong opened this issue 1 year ago • 0 comments

Is there an already existing issue for this?

  • [X] I have searched the existing issues

Expected behavior

DomainParticipantFactory should be destroyed normally when main exits. It happend when subscriber is using TcpV4 transport; It Now will happen on linux and windows;

Current behavior

DomainParticipantFactory destructor is stucked by win_iocp_io_context::shutdown when main exits. image

Steps to reproduce

Publisher and subscriber app matched with many topcis using tcpv4 transport,and transporting datas task works well ;After a moment publisher exit normaly,a few latter subscriber receive all the disconnect topic then destroy itself,and the DomainParticipantFactory destructor is stucked !

Fast DDS version/commit

v2.9.1 v2.10.1

Platform/Architecture

Windows 10 Visual Studio 2019

Ubuntu Focal 20.04 amd64

Transport layer

TCPv4

Additional context

No response

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

chunyisong avatar May 31 '23 08:05 chunyisong