Skip to content

fastrtps 启动过程中发生死锁 #82

@tingzhenli

Description

@tingzhenli

系统开机自启,多个应用程序会自启动。存在概率性死锁问题。
通过添加打印,发现程序:
一方面:"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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions