代码拉取完成,页面将自动刷新
【模块名_概率】简要描述:
【环境信息】:
# hb env
[OHOS INFO] Necessary package: bison, ccache, default-jdk, flex, gcc-arm-linux-gnueabi, gcc-arm-none-eabi, genext2fs, libssl-dev, libtinfo5, mtd-utils, mtools, ruby, scons, u-boot-tools, zip
[OHOS INFO] Installed package: bison, ccache, default-jdk, flex, gcc-arm-linux-gnueabi, gcc-arm-none-eabi, genext2fs, libssl-dev, libtinfo5, mtd-utils, mtools, ruby, scons, u-boot-tools, zip
[OHOS INFO] Uninstalled package:
[OHOS INFO] root path: /home/openharmony
[OHOS INFO] board: riscv32_virt
[OHOS INFO] kernel: liteos_m
[OHOS INFO] product: qemu_riscv_mini_system_demo
[OHOS INFO] product path: /home/openharmony/vendor/ohemu/qemu_riscv32_mini_system_demo
[OHOS INFO] device path: /home/openharmony/device/qemu/riscv32_virt/liteos_m
[OHOS INFO] device company: qemu
# qemu-system-riscv32 --version
QEMU emulator version 6.2.0
【预置条件】:
【测试步骤】:
【预期结果】:进入系统
【实际结果】:报告Oops
【恢复手段】:运行./qemu-run
【出现概率】:100%
【定位信息】:
# ./qemu-run
board: riscv32_virt
Enter to start qemu[y/n]:y
OHOS start
entering kernel init...
Fb init begin...
Fb int end
DeviceManagerStart start ...
E 02500/HDF_LOG_TAG: DeviceManagerStart in
I 02500/devmgr_service: start svcmgr result 0
I 02500/hcs_blob_if: CheckHcsBlobLength: the blobLength: 1844, byteAlign: 1
I 02500/device_node: launch devnode HDF_PLATFORM_CFI_0
D 02500/device_node: node HDF_INPUT_MANAGER property empty, match attr:
I 02500/device_node: launch devnode hdf_input_host
I 02500/HDF_LOG_TAG: HdfInputManagerInit: enter
I 02500/HDF_LOG_TAG: HdfInputManagerInit: exit succ
D 02500/device_node: node HDF_VIRTIO_MOUSE property empty, match attr:
I 02500/device_node: launch devnode hdf_virtio_mouse
I 02500/HDF_LOG_TAG: RegisterInputDevice: enter
I 02500/HDF_LOG_TAG: CreateDeviceNode: prepare to register hdf device
I 02500/device_node: launch devnode
I 02500/HDF_LOG_TAG: LoadCachedHid: exit
I 02500/HDF_LOG_TAG: HidRegisterHdfDevice: svcName is hdf_input_event2, devName = virtinput
I 02500/HDF_LOG_TAG: CreateDeviceNode: create node succ, devId is 2
E 02500/HDF_LOG_TAG: HotPlugNotify: send event failed
I 02500/HDF_LOG_TAG: RegisterInputDevice: exit succ, devCount is 1
D 02500/device_node: node HDF_HID property empty, match attr:
I 02500/device_node: launch devnode event2
D 02500/device_node: node HDF_VIRTIO_GPU property empty, match attr:
I 02500/device_node: launch devnode hdf_virtio_gpu
I 02500/HDF_LOG_TAG: HdfVirtgpuInit begin!......
I 02500/HDF_LOG_TAG: HdfVirtgpuInit end!......
E 02500/HDF_LOG_TAG: HdfDriverManagerGetDriver:driver HDF_DISP not found
E 02500/devhost_service_clnt: failed to AddDevice hdf_disp, ret = -207
DeviceManagerStart end ...
tcpip_init start
tcpip_init end
netif init start...
[ERR][(null)]virtio-mmio ID=1 device not found
[ERR][(null)]add virtio-mmio net device failed
netif init failed!
[ERR][(null)]mount failed, target /data.
[ERR][(null)]Mount Littlefs error:0xffffffff
hilog will init.
hievent will init.
hievent init success.
Entering scheduler
OHOS # 01-01 00:00:00.046 0 120 I 1/SAMGR: Init service 0x801e5060 <time: 4294967256ms> success!
hiview init success.
01-01 00:00:00.048 0 248 I 1/SAMGR: Init service 0x80228c2c <time: 4294967256ms> success!
01-01 00:00:00.048 0 248 I 1/SAMGR: Initialized all core system services!
01-01 00:00:00.049 0 120 I 5/AAFWK: ams starts
01-01 00:00:00.049 0 120 I 5/AAFWK: ams feature init
01-01 00:00:00.050 0 120 I 1/SAMGR: Bootstrap system and application services(count:1).
01-01 00:00:00.050 0 120 I 1/SAMGR: Init service:0x801e5090
01-01 00:00:00.051 0 248 I 1/SAMGR: Init service 0x801e5090 <time: 0ms> success!
01-01 00:00:00.051 0 248 I 1/SAMGR: Initialized all system and application services!
01-01 00:00:00.052 0 120 I 1/SAMGR: Bootstrap dynamic registered services(count:0).
I 02500/HDF_LOG_TAG: LayerInitialize: success
D 02500/HDF_LOG_TAG: GetDisplayInfo: width = 800, height = 480, rotAngle = 0
I 02500/HDF_LOG_TAG: CreateLayer: open layer success
D 02500/HDF_LOG_TAG: GetLayerBuffer: fenceId = 0, width = 800, height = 480, pixFormat = 12, pitch = 3200
I 02500/HDF_LOG_TAG: GetInputInterface: exit succ
I 02500/HDF_LOG_TAG: OpenInputDevice: open dev2 succ, service name = hdf_input_event2
I 02500/HDF_LOG_TAG: RegisterReportCallback: device2 register callback succ, evtCallbackNum = 1
W 00000/(null): SetTtfName failed
01-01 00:00:01.103 0 120 I 4/APP: start ability with input data
01-01 00:00:01.107 0 248 I 5/AAFWK: StartAbility
01-01 00:00:01.108 0 248 I 5/AAFWK: JsAbilityThread init done
01-01 00:00:01.109 0 120 I 5/AAFWK: start ability with data
E 03900/ACE: invalid app path
01-01 00:00:01.111 0 120 I 5/AAFWK: foreground ability with data
E 03900/ACE: Must trigger Launch first
Exception Information
Exc type : Oops - Load access fault!
taskName = AppTask
taskID = 9
system mem addr:0x805ede40
mepc = 0x8002e1da
mstatus = 0x1800
mtval = 0x10
mcause = 0x5
ra = 0x8002ea38
sp = 0x0
gp = 0x8023b3c0
tp = 0x0
t0 = 0x8
t1 = 0x8000faf8
t2 = 0xffff0002
s0 = 0x80a7c7e8
s1 = 0x805ede40
a0 = 0x805ede40
a1 = 0x14
a2 = 0x87fffff8
a3 = 0x34
a4 = 0x0
a5 = 0x0
a6 = 0x0
a7 = 0x0
s2 = 0xffffffff
s3 = 0x88
s4 = 0x805eb000
s5 = 0x80a744e4
s6 = 0x3
s7 = 0x1
s8 = 0x4
s9 = 0x6060606
s10 = 0x5050505
s11 = 0x4040404
t3 = 0x0
t4 = 0x30001
t5 = 0x0
t6 = 0x7
----- traceback start -----
[ERR][AppTask][pthread_exit:515] This task 9 is not a posix thread!!!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
我发现 foundation/ability/ability_lite/frameworks/want_lite/BUILD.gn 中只有在内核不是 liteos_m 的情况下,才会开启 OHOS_APPEXECFWK_BMS_BUNDLEMANAGER
开关。
但是,在vendor/ohemu/qemu_riscv32_mini_system_demo/config.json
文件中 "enable_ohos_appexecfwk_feature_ability = true",
导致开启了开关,导致最终的内核崩溃,修改为false
后可进入系统。
foundation/arkui/ace_engine_lite/frameworks/BUILD.gn
文件中表明了 enable_ohos_appexecfwk_feature_ability
和 OHOS_APPEXECFWK_BMS_BUNDLEMANAGER
之间的关系:
登录 后才可以发表评论