[问答]ActsNFSTest.bin会引起内核crash

阅读量0
0
4
【OpenHarmony】【轻内核子系统】集成测试ActsNFSTest.bin会引起内核崩溃该问题是怎么引起的?作用测试
重现步骤
1,加载下面版本4-9版本码云主干hispark-牛牛版本: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 /内核装入192.168.1.2: / NFS / test_root /内核NFS


3,编译ActsFSTest的用例,执行ActsNFSTest.bin HB构建-T //测试/ XTS /动作/ kernel_lite / fs_posix:ActsFSTest


报错信息

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

  18. fp = 0x42102d28
  19. R0 = 0x5
  20. R1 = 0x417b6eb0
  21. R2 = 0x417b71e3
  22. R3 = 0x4058ce28
  23. R4 = 0x4178f4f4
  24. R5 = 0x417b71e3
  25. R6 = 0x417b6eb0
  26. R7 = 0x406c4cc0
  27. R8 = 0x3cc97a6c
  28. R9 = 0x8777d51
  29. R10 = 0x8778960
  30. R11 = 0x42102d28
  31. R12 = 0x1
  32. CPSR = 0x20010013
  33. backtrace begin
  34. traceback fp fixed, trace using fp = 0x42102e60
  35. traceback 0 -- lr = 0x40579e60 fp = 0x42102e80
  36. traceback 1 -- lr = 0x405733b8 fp = 0x42102eb8
  37. traceback 2 -- lr = 0x40002cd8 fp = 0x0

  38. allCpu(%): 5.18 sys, 194.82 idle

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


回帖

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容图片侵权或者其他问题,请联系本站作侵删。 侵权投诉
链接复制成功,分享给好友