diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-05-21 21:21:26 +0200 |
| commit | 4b927bc37359dec23f67d3427fc982945f24f404 (patch) | |
| tree | 245449ef9146942dc7fffd0235b48b7e70a00bf2 /gitlab/issues/target_arm/host_missing/accel_HVF/1073.toml | |
| parent | aa8bd79cec7bf6790ddb01d156c2ef2201abbaab (diff) | |
| download | emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.tar.gz emulator-bug-study-4b927bc37359dec23f67d3427fc982945f24f404.zip | |
add gitlab issues in toml format
Diffstat (limited to 'gitlab/issues/target_arm/host_missing/accel_HVF/1073.toml')
| -rw-r--r-- | gitlab/issues/target_arm/host_missing/accel_HVF/1073.toml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gitlab/issues/target_arm/host_missing/accel_HVF/1073.toml b/gitlab/issues/target_arm/host_missing/accel_HVF/1073.toml new file mode 100644 index 00000000..5085cc2c --- /dev/null +++ b/gitlab/issues/target_arm/host_missing/accel_HVF/1073.toml @@ -0,0 +1,37 @@ +id = 1073 +title = "SIGABRT with -M raspi3b,accel=hvf on macOS" +state = "closed" +created_at = "2022-06-12T00:36:27.428Z" +closed_at = "2022-06-27T22:55:20.049Z" +labels = ["Closed::Fixed", "accel: HVF", "target: arm"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1073" +host-os = "macOS 12.4" +host-arch = "arm64" +qemu-version = "QEMU emulator version 7.0.50 (v7.0.0-1760-g30796f5567-dirty)" +guest-os = "N/A" +guest-arch = "N/A" +description = """There is a `SIGUSR2` or `SIGUSR1` raised which causes QEMU to abort: +``` +(lldb) bt +* thread #3, stop reason = signal SIGUSR2 + * frame #0: 0x0000000184c384a4 libsystem_kernel.dylib`__sigsuspend + 8 + frame #1: 0x0000000100b7ff34 qemu-system-aarch64`qemu_coroutine_new at coroutine-sigaltstack.c:221:9 + frame #2: 0x0000000100b91f0c qemu-system-aarch64`qemu_coroutine_create(entry=(qemu-system-aarch64`monitor_qmp_dispatcher_co at qmp.c:211), opaque=0x0000000000000000) at qemu-coroutine.c:90:14 + frame #3: 0x0000000100a833d8 qemu-system-aarch64`monitor_init_globals_core at monitor.c:707:25 +``` + +I tried skipping over it with `lldb`: +``` +(lldb) b main +(lldb) r +(lldb) process handle SIGUSR1 -s false -p true +(lldb) process handle SIGUSR2 -s false -p true +(lldb) c +qemu-system-aarch64: Unknown Error +``` + +I investigated the Unknown Error and and it's actually `HV_ILLEGAL_GUEST_STATE` which is unhandled in the `assert_hvf_ok` function. From here the VM will fail.""" +reproduce = """1. Get a fake disk. Or create a fake one with: `qemu-img create -f qcow2 zero.qcow2 2G` +2. Run QEMU with the HVF accelerator: `qemu-system-aarch64 -M raspi3b,accel=hvf -drive id=card0,if=none,format=qcow2,index=0,file=./zero.qcow2 -device sd-card,drive=card0 -serial stdio +`""" +additional = """""" |
