合并受阻
感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接。
Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.


start build


首次触发
门禁构建开始,包含静态检查、代码编译和测试【ohos-host_mini_tdd编译, x86_64_virt编译, dayu200测试, master_inner_build编译, dayu600_7885测试, dayu600_7885编译, dayu200_tdd编译, dayu200编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a8e8ba264650f998b28d9ce/runlist


代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a8e8ba264650f998b28d9ce/runlist
静态检查:
| # | check type | result | report |
|---|---|---|---|
| 1 | codeCheck | pass | >>> |
编译测试:
| # | Device | build result | test result | package |
|---|---|---|---|---|
| 1 | dayu200 | success | success | >>> |
| 2 | dayu200_tdd | success | NA | >>> |
| 3 | master_inner_build | failed(IGNORE)(联合门禁失败) | NA | >>> |
| 4 | ohos-host_mini_tdd | success | NA | >>> |
| 5 | dayu600_7885 | success | success | >>> |
| 6 | x86_64_virt | success | NA | >>> |


您好,Committer @mzyan @Lutao98 ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。
Hello, Committer @mzyan @Lutao98 . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.


修改说明
memLeakHasData_变量,修复 native leaks 文件缺失问题。DumpMemLeakInfo()中设置,但WaitMemLeakDoneIfNeeded()在客户端回传数据前就被调用,导致因该变量为 false 而提前返回,最终memleak-native-orphansnapshot-<pid>.txt文件无法生成。WaitMemLeakDoneIfNeeded()在native_orphansnapshots_enable为 true 且memLeakDumpDone_为 false 时会正确等待客户端数据(最多 30s)。涉及文件
device/plugins/native_daemon/include/hook_manager.h:删除memLeakHasData_声明device/plugins/native_daemon/src/hook_manager.cpp:删除DumpMemLeakInfo()中的赋值和WaitMemLeakDoneIfNeeded()中的条件判断