/ 详情

[openEuler 20.03 LTS SP1/arm64] debug_perf_jit_interface_t用例scenes_hugetlbfs_14.sh失败

Done
Task
Opened this issue  
2021-04-30 09:53

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
【环境信息】
硬件信息:
1) 裸机场景提供出问题的硬件信息;
2) 虚机场景提供虚机XML文件或者配置信息
[root@localhost bin]# lscpu
Architecture: aarch64
CPU op-mode(s): 64-bit
Byte Order: Little Endian
CPU(s): 96
On-line CPU(s) list: 0-95
Thread(s) per core: 1
Core(s) per socket: 48
Socket(s): 2
NUMA node(s): 4
Vendor ID: HiSilicon
Model: 0
Model name: Kunpeng-920
Stepping: 0x1
软件信息:
1) OS版本及分支
[root@localhost bin]# cat /etc/openEuler-release
openEuler release 20.03 (LTS-SP1)
2) 内核信息
3) 发现问题的组件版本信息
如果有特殊组网,请提供网络拓扑图
【问题复现步骤】
具体操作步骤
cd /home/install/kernel_test_bin/bin/debug_perf_jit_interface_t/testcases/bin
./scenes_hugetlbfs_14.sh
出现概率(是否必现,概率性错误)
【预期结果】
pass
【实际结果】
[root@localhost bin]# ./scenes_hugetlbfs_14.sh
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.071 MB /tmp/perf.data (1373 samples) ]
./scenes_hugetlbfs_14.sh: line 62: 415760 Segmentation fault (core dumped) perf record -o $datafile -e cycles ./hugetlbfs_test > /dev/null

【附件信息】
比如系统message日志/组件日志、dump信息、图片等

Attachments

Comments (3)

汪可可 created任务
汪可可 set related repository to openEuler/kernel
展开全部操作日志

Hey wang_keke, 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.

不同的基础页对应的的默认大页是不同的,4k对应2M,64k对应512M,本用例将固定地址的代码拷贝到内存中又利用大页建立映射,在64K基础页的情况对应大页为512M,导致地址偏移,和原来的地址不同,因此产生coredump,修改固定分配大页的大小为2M才可能重新对原来的地址进行映射。

修改后的用例pass

汪可可 changed issue state from 待办的 to 已完成

Sign in to comment

状态
Assignees
Projects
Milestones
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
确定
参与者(3)
5329419 openeuler ci bot 1578984659