Skip to content

Win32s crashes qemu (regression, bisected)

Host environment

  • Operating system: Fedora 39
  • OS/kernel version: 6.6.2-201.fc39.x86_64
  • Architecture: x86_64
  • QEMU flavor: qemu-system-i386
  • QEMU version: 8.0.50
  • QEMU command line:
    qemu-system-i386 -machine type=pc -m 8 -drive media=disk,file=cirrus-clean-wfw311.qcow,index=0

Emulated/Virtualized environment

  • Operating system: DOS 6.22/WfW 3.11

Description of problem

Whenever I start a Win32s application (FREECELL.EXE), qemu says "qemu: Bad ram pointer 0x7f4b13a80000" and aborts. I tried a few different versions of Win32s (I specifically remember 1.15a and 1.25a), but it does not seem to matter. I am using only the standard VGA driver and nothing else that would not be present in a standard install of the guest components.

Steps to reproduce

  1. Run any Win32s application

Additional information

It worked fine before this commit, both on stable-8.1 as well as the master branch:

4f8f4127 accel: Replace target_ulong with vaddr in probe_*()

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information