37 Star 73 Fork 80

openEuler / secGear

 / 详情

同一个enclave重复销毁2次,出现段错误

已完成
缺陷
创建于  
2021-02-23 10:49

【issue类型】
同一个enclave重复销毁
【issue描述(若是问题请描述重现步骤)】
同一个enclave重复销毁2次,出现段错误
cc_enclave_t *enclave1 = NULL;
cc_enclave_result_t result;
/重复销毁2次/
result = cc_enclave_create(ENCLAVE_1, AUTO_ENCLAVE_TYPE, 0, SECGEAR_DEBUG_FLAG, NULL, 0 , &enclave1);
result = cc_enclave_destroy(enclave1);
result = cc_enclave_destroy(enclave1);

结果:
[zhang@localhost debug]$ ./zlytest/LifeCycleInterface/test_life
+++++++++++++++++++++++++++++++++++++++++++++++ test_repeat_destroy ++++++++++++++++++++++++++++++++++

Segmentation fault (core dumped)

【预期结果】

【处理建议】

评论 (1)

zhangliuyan 创建了任务
zhangliuyan 关联仓库设置为openEuler/secGear
展开全部操作日志

Hey zhang_liu_yan, Welcome to openEuler Community.
All of the projects in openEuler Community are maintained by @openeuler-ci-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md to find the details.

zhangliuyan 修改了描述
zhangliuyan 任务类型任务 修改为缺陷
zhangliuyan 修改了描述
zhangliuyan 修改了描述
liwei3013 通过openeuler/secGear Pull Request !36任务状态待办的 修改为已完成
zhangliuyan 里程碑设置为openEuler 21.03-RC1

登录 后才可以发表评论

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

搜索帮助