[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
QEMU v6.2 riscv64 device crash
From: |
Yanfeng |
Subject: |
QEMU v6.2 riscv64 device crash |
Date: |
Wed, 20 Nov 2024 15:31:30 +0800 |
User-agent: |
Evolution 3.44.4-0ubuntu2 |
Dear experts,
I am running a rv64 binary program which uses hypervisor extension v0.6.1 on
QEMU with "virt" board. The same RiscV program can run on both QEMU v6.0 and
v6.1, but it led to crash of QEMU v6.2:
```
ERROR:../..target/riscv/translate.c:232:get_gpr: code should not be reached
Bail out! ERROR:../../target/riscv/translate.c:232:get_gpr: code should not be
reached
Aborted (core dumped)
```
>From GDB I can see the target is in VU mode, and the crash happens when the
>code
at 0x10152 is hit:
```
1014e <_start>:
1014e: 0069e197 auipc gp,0x69e
10152: 96218193 addi gp,gp,-1694 # 6adab0 <__global_pointer$>
```
Since I am too new to QEMU tracing, can someone teach how can I find out more
information?
Regards,
yf
- QEMU v6.2 riscv64 device crash,
Yanfeng <=