ApolloAuto/apollo-platform

fastrtps 启动过程中发生死锁

Opened this issue · 0 comments

系统开机自启,多个应用程序会自启动。存在概率性死锁问题。
通过添加打印,发现程序:
一方面:"BuiltinProtocols::initBuiltinProtocols ---> WLP::initWL --> WLP::createEndpoints --> RTPSParticipantImpl::createAndAssociateReceiverswithEndpoint --> RTPSParticipantImpl::assignEndpoint2LocatorList-->MessageReceiver::associateEndpoint " and can not get the mtx locker.
同时另一个线程调用 MessageReceiver::processCDRMsg call MessageReceiver::proc_Submsg_Data but this function not return.