37 Star 73 Fork 79

openEuler / secGear

 / 详情

enclave销毁后再重新创建,出现段错误

已完成
缺陷
创建于  
2021-03-05 17:12

【issue类型】

【issue描述(若是问题请描述重现步骤)】

enclave销毁后再重新创建,出现段错误

[2021-03-05 10:23:09] root@localhost /opt/ETS/testcases/bin/TestEL_secGear/testEL_secGear_enclave_mutilprocess_samepath_001/debug

./bin/secGear_enclave_mutilprocess_samepath

+++++++++++++++++++++++++++++++++++++++++++++++ test_error_parameters ++++++++++++++++++++++++++++++++++

ERROR:[cc_enclave_create /home/liwei/secGear/src/host_src/enclave.c:207] Invalid enclave ID.
ERROR:[test_multi_enclave] ======= err==========
ERROR:[test_multi_enclave] ======= Test failure ==========
ERROR:[test_multi_enclave] ======= err end ==========
ERROR:[cc_enclave_destroy /home/liwei/secGear/src/host_src/enclave.c:284] Function context parameter error
ERROR:[test_multi_enclave] ======= Test failure ==========
ERROR:[test_multi_enclave] ======= destory failure 3 ==========
ERROR:[cc_enclave_create /home/liwei/secGear/src/host_src/enclave.c:207] Invalid enclave ID.
ERROR:[test_multi_enclave] ======= Test failure ==========
ERROR:[cc_enclave_create /home/liwei/secGear/src/host_src/enclave.c:207] Invalid enclave ID.
ERROR:[test_multi_enclave] ======= Test failure ==========
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 里程碑设置为openEuler 21.03-RC1
chenmaodong 负责人设置为chenmaodong
chenmaodong 计划截止日期设置为2021-03-11
Charlie_Li 任务类型任务 修改为缺陷
syyhao 添加协作者syyhao
chenmaodong 通过openeuler/secGear Pull Request !45任务状态待办的 修改为已完成
Charlie_Li 优先级设置为主要

登录 后才可以发表评论

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

搜索帮助