319 Star 2.1K Fork 1K

OpenHarmony / kernel_liteos_a

 / 详情

【OpenHarmony】【20210409】【轻内核子系统】集成测试ActsNFSTest.bin会引起内核crash

已完成
缺陷
创建于  
2021-04-09 14:53

该问题是怎么引起的?

acts测试

重现步骤

1、加载下面版本
4-9版本
码云主干
hispark-taurus版本:
https://hm-verify.obs.cn-north-4.myhuaweicloud.com/version/Daily_Version/2021-04-09_00-06-53/hispark_taurus.tar.gz

2、mkdir test_root
mkdir /test_root/kernel

mount 192.168.1.2:/nfs /test_root/kernel nfs

3、编译ActsFSTest的用例,执行ActsNFSTest.bin
hb build -T //test/xts/acts/kernel_lite/fs_posix:ActsFSTest

报错信息

OHOS # ./ActsNFSTest.bin --get test_filter=testReaddir
OHOS # [ERR]OsVmPageFaultHandler 352 ##################excFrom: kernel!###################
cpu0 is in exc.
cpu1 is halted.
The current handling the exception is cpu0 !
data_abort fsr:0x5, far:0x00000005
Abort caused by a read instruction. Translation fault, section
excType: data abort
processName = ActsNFSTest.bin
processID = 13
process aspace = 0x01000000 -> 0x3f000000
taskName = ActsNFSTest.bin
taskID = 77
task user stack = 0x3cb98000 -> 0x3cc98000
pc = 0x4058ce38
klr = 0x4055bc88
ksp = 0x42102d00

fp = 0x42102d28
R0 = 0x5
R1 = 0x417b6eb0
R2 = 0x417b71e3
R3 = 0x4058ce28
R4 = 0x4178f4f4
R5 = 0x417b71e3
R6 = 0x417b6eb0
R7 = 0x406c4cc0
R8 = 0x3cc97a6c
R9 = 0x8777d51
R10 = 0x8778960
R11 = 0x42102d28
R12 = 0x1
CPSR = 0x20010013
backtrace begin
traceback fp fixed, trace using fp = 0x42102e60
traceback 0 -- lr = 0x40579e60 fp = 0x42102e80
traceback 1 -- lr = 0x405733b8 fp = 0x42102eb8
traceback 2 -- lr = 0x40002cd8 fp = 0x0

allCpu(%): 5.18 sys, 194.82 idle

PID PPID PGID UID Status CPUUSE CPUUSE10s CPUUSE1s Policy Priority MTID TaskTotal Mode PName
1 -1 1 0 Pending 0.1 0.0 0.0 RR 28 23 1 user init
2 -1 2 0 Running 1.95 1.33 1.9 RR 0 0 24 kernel KProcess
3 1 1 2 Pending 0.8 0.46 0.0 RR 15 4 3 user shell
4 1 4 4 Pending 0.2 0.0 0.0 RR 28 24 1 user apphilogcat
5 1 5 7 Pending 0.10 0.5 0.5 RR 28 25 17 user foundation
6 1 6 8 Pending 0.0 0.0 0.0 RR 28 26 4 user bundle_daemon
7 1 7 1 Pending 0.4 0.0 0.0 RR 28 27 5 user appspawn
8 1 8 5 Pending 0.1 0.0 0.0 RR 28 28 1 user media_server
9 1 9 0 Pending 0.93 0.92 0.91 RR 28 29 8 user wms_server
10 1 10 0 Pending 0.0 0.0 0.0 RR 28 30 4 user sensor_service
11 1 11 9 Pending 0.0 0.0 0.0 RR 28 31 4 user ai_server
12 7 7 101 Pending 0.99 0.91 0.88 RR 28 74 3 user com.huawei.launcher
13 3 13 2 Running 0.0 0.0 0.0 RR 15 77 1 user ActsNFSTest.bin

评论 (1)

揣振中 创建了缺陷
揣振中 负责人设置为JING
揣振中 添加协作者aiyongfu
揣振中 修改了描述
野生毛霉君 通过openharmony/third_party_NuttX Pull Request !17任务状态待办的 修改为已验收
aiyongfu 添加了
 
Integration_Test
标签
聂欣 添加协作者揣振中
揣振中 任务状态已验收 修改为已完成
展开全部操作日志
揣振中 修改了标题

登录 后才可以发表评论

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

搜索帮助