qemu segfault running Wine's ntdll:exception test

qemu-system-x86_64 on Ubuntu Noble amd64 with a Windows 11 64-bit guest.

Linux ken 6.11.0-29-generic #29~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun 26 14:16:59 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ qemu-system-x86_64 -version
QEMU emulator version 11.1.0

Running Wine's winetest.exe causes Qemu to exit silently, possibly¹ due to a segfault, once it gets to the ntdll:exception test.

gdb backtrace

¹ There's a possible segfault in the Spice server.

Attaching today's build of the offending exe. ntdll_dll.exe exception to run.

ntdll_test.exe

From https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2163604

Edited by Ken Sharp