86 Star 471 Fork 273

GVPopenEuler / iSulad

 / 详情

[CNI] PluginManager Lock存在死锁风险

已完成
缺陷 成员
创建于  
2023-02-17 19:52

【标题描述】PluginManager Lock存在死锁风险
【环境信息】
isulad 2.1.x/2.0.x

    PodLock *lock { nullptr };
    if (iter == m_pods.end()) {
        auto tmpLock = std::unique_ptr<PodLock>(new (std::nothrow) PodLock());
        if (tmpLock == nullptr) {
            error.SetError("Out of memory");
    // 未走unlock流程
            return;
        }
        lock = tmpLock.get();
        m_pods[fullPodName] = std::move(tmpLock);
    } else {
        lock = iter->second.get();
    }

【问题复现步骤】
NA
【预期结果】
NA
【实际结果】
NA
【附件信息】
NA

评论 (1)

haozi007 创建了缺陷

Hi duguhaotian, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: iSulad, and any of the maintainers: @haomintsai , @lifeng_isula , @JingWoo , @haozi007 , @jingxiaolu

openeuler-ci-bot 添加了
 
sig/iSulad
标签
haozi007 修改了描述
zhangxiaoyu 通过openeuler/iSulad Pull Request !1868任务状态待办的 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 5595769 duguhaotian 1605235330
C
1
https://gitee.com/openeuler/iSulad.git
git@gitee.com:openeuler/iSulad.git
openeuler
iSulad
iSulad

搜索帮助