14 Star 19 Fork 59

openEuler / gcc

 / 详情

【22.03 LTS】asan:结合npb测试存在泄露

已验收
缺陷
创建于  
2022-03-14 14:45

【环境信息】
[wd@localhost dailytest]$ uname -a
Linux localhost.localdomain 5.10.0-5.10.0.24.oe1.aarch64 #1 SMP Sun Sep 12 19:59:51 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
【问题复现步骤】
环境变量:

export PATH=/home/wd/dailytest/330_asan/install/bin:$PATH
export PATH=/home/wd/codedb/dependence/openmpi/openmpi-4.0.4/bin:$PATH
export LD_LIBRARY_PATH=/home/wd/codedb/dependence/openmpi/openmpi-4.0.4/lib:$LD_LIBRARY_PATH
export ASAN_OPTIONS="handle_segv=0:halt_on_error=0:use_sigaltstack=0:detect_leaks=1"

1.auto-profile.c和final.c步骤:

cd /home/wd/codedb/c_cpp/NPB_bolt/NPB3.4.1/NPB3.4-MPI
make BT CLASS=A NPROCS=96

2.tree-ssa-loop-prefetch.c步骤:

cd /home/wd/codedb/c_cpp/NPB_cache_2/NPB3.4.1/NPB3.4-MPI
make BT CLASS=A NPROCS=96

【预期结果】
无asan error
【实际结果】
gcc/final.c:4774
gcc/final.c:4781
gcc/final.c:4920
gcc/final.c:4949
gcc/final.c:5028
gcc/final.c:5107
gcc/tree-ssa-loop-prefetch.c:2198
gcc/tree-ssa-loop-prefetch.c:2407
gcc/tree-ssa-loop-prefetch.c:2415
gcc/tree-ssa-loop-prefetch.c:2482
gcc/tree-ssa-loop-prefetch.c:2503
gcc/tree-ssa-loop-prefetch.c:2578
gcc/tree-ssa-loop-prefetch.c:2697
【附件信息】
比如系统message日志/组件日志、dump信息、图片等

评论 (3)

erin_dan 创建了缺陷

Hi erin_dan, 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: Compiler, and any of the maintainers: @Noah , @Peixin Qiao , @wangyadong , @jiangfeilong , @Peilin Guo , @Haijian.Zhang , @eastb233 , @HsError , @guoge , @CharlieZhao95 , @Ryan Peng , @shihai1991 , @kuen

openeuler-ci-bot 添加了
 
sig/Compiler
标签
erin_dan 负责人设置为编译小伙
erin_dan 优先级设置为主要

已确认,预计今天即可提PR修复。

验证通过:
输入图片说明
commit id: 1ce3c807dc6f7233224211686259abbee1149e30
输入图片说明

erin_dan 任务状态已完成 修改为已验收

登录 后才可以发表评论

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

搜索帮助