Skip to contentSkip to conversation

aio_poll() assertion fail on Windows

DISCUSSION Mark Cave-Ayland 3 participants 3 messages Oct 16, 2020 – Oct 17, 2020

lore
Share & tools
lore
#0 lore raw

Whilst testing a Windows build of git master of qemu-system-ppc in MSYS2/MingW64 I noticed the following assertion message in the console after booting into OpenBIOS and then closing the GTK GUI window without booting a client OS:

$ ./qemu-system-ppc
**
ERROR:../util/aio-win32.c:337:aio_poll: assertion failed: (in_aio_context_home_thread(ctx))
Bail out! ERROR:../util/aio-win32.c:337:aio_poll: assertion failed: (in_aio_context_home_thread(ctx))

Has anyone else seen this at all?

ATB,

Mark.

#1 lore raw
Quoted 13 lines · Mark Cave-Ayland

Whilst testing a Windows build of git master of qemu-system-ppc in MSYS2/MingW64 I
noticed the following assertion message in the console after booting into OpenBIOS
and then closing the GTK GUI window without booting a client OS:

$ ./qemu-system-ppc
**
ERROR:../util/aio-win32.c:337:aio_poll: assertion failed:
(in_aio_context_home_thread(ctx))
Bail out! ERROR:../util/aio-win32.c:337:aio_poll: assertion failed:
(in_aio_context_home_thread(ctx))
Quoted 8 lines

Has anyone else seen this at all?

ATB,

Mark.

Same here with SDL and GTK.

C:\qemu-master-msys2>qemu-system-ppc.exe -L pc-bios -sdl -boot c -m 512 -M mac99,via=pmu
**
ERROR:../util/aio-win32.c:337:aio_poll: assertion failed:
(in_aio_context_home_thread(ctx))
Bail out! ERROR:../util/aio-win32.c:337:aio_poll: assertion failed:
(in_aio_context_home_thread(ctx))

Best,
Howard

#2 lore raw
In reply to Mark Cave-Ayland
Quoted 9 lines

Whilst testing a Windows build of git master of qemu-system-ppc in MSYS2/MingW64 I noticed the following assertion message in the console after booting into OpenBIOS and then closing the GTK GUI window without booting a client OS:

$ ./qemu-system-ppc
**
ERROR:../util/aio-win32.c:337:aio_poll: assertion failed: (in_aio_context_home_thread(ctx))
Bail out! ERROR:../util/aio-win32.c:337:aio_poll: assertion failed: (in_aio_context_home_thread(ctx))

Has anyone else seen this at all?

This error appears since commit 9ce44e2ce2 "qmp: Move dispatcher to a coroutine". I think I can see the problem, but I'll have to ask Kevin. I really don't know the qmp code.

With best regards,
Volker