id = 505 title = "QEMU crashes when reaching a hardware watchpoint" state = "closed" created_at = "2021-07-27T15:14:17.907Z" closed_at = "2021-12-09T18:25:20.156Z" labels = ["Closed::Fixed", "Regression", "accel: TCG", "target: i386"] url = "https://gitlab.com/qemu-project/qemu/-/issues/505" host-os = "Ubuntu 18.04" host-arch = "x86" qemu-version = "6.0.90" guest-os = "Debian live cd - see command line for details" guest-arch = "i386" description = """When using hardware watchpoints, qemu crashes when it hits the watch point. See https://github.com/zephyrproject-rtos/zephyr/issues/28613 for the same problem""" reproduce = """1. Download https://download.qemu.org/qemu-6.1.0-rc0.tar.xz 2. Download debian-live-10.10.0-i386-standard.iso from https://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid/ 3. Build qemu with /configure --target-list=i386-softmmu 4. Run build/qemu-system-i386 -boot d -cdrom debian-live-10.10.0-i386-standard.iso -m 512 -icount auto -gdb tcp:localhost:1234 -S -display none 5. Run gdb and inside gdb run "target remote localhost:1234" 6. In gdb, run "watch *0x0000fff0" and "cont" 7. qemu will crash with ```qemu: fatal: Raised interrupt while not in I/O function```""" additional = "n/a"