QEMU-Devel Archive on lore.kernel.org
 help / color / Atom feed
* aio_poll() assertion fail on Windows
@ 2020-10-16 11:32 Mark Cave-Ayland
  2020-10-16 12:29 ` Howard Spoelstra
  2020-10-17  7:01 ` Volker Rümelin
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Cave-Ayland @ 2020-10-16 11:32 UTC (permalink / raw)
  To: qemu-devel

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aio_poll() assertion fail on Windows
  2020-10-16 11:32 aio_poll() assertion fail on Windows Mark Cave-Ayland
@ 2020-10-16 12:29 ` Howard Spoelstra
  2020-10-17  7:01 ` Volker Rümelin
  1 sibling, 0 replies; 3+ messages in thread
From: Howard Spoelstra @ 2020-10-16 12:29 UTC (permalink / raw)
  To: Mark Cave-Ayland; +Cc: qemu-devel


[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

On Fri, Oct 16, 2020 at 1:32 PM Mark Cave-Ayland <
mark.cave-ayland@ilande.co.uk> wrote:

> 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.
>
>
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

[-- Attachment #2: Type: text/html, Size: 1457 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aio_poll() assertion fail on Windows
  2020-10-16 11:32 aio_poll() assertion fail on Windows Mark Cave-Ayland
  2020-10-16 12:29 ` Howard Spoelstra
@ 2020-10-17  7:01 ` Volker Rümelin
  1 sibling, 0 replies; 3+ messages in thread
From: Volker Rümelin @ 2020-10-17  7:01 UTC (permalink / raw)
  To: Mark Cave-Ayland, qemu-devel; +Cc: Howard Spoelstra

> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 11:32 aio_poll() assertion fail on Windows Mark Cave-Ayland
2020-10-16 12:29 ` Howard Spoelstra
2020-10-17  7:01 ` Volker Rümelin

QEMU-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/qemu-devel/0 qemu-devel/git/0.git
	git clone --mirror https://lore.kernel.org/qemu-devel/1 qemu-devel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 qemu-devel qemu-devel/ https://lore.kernel.org/qemu-devel \
		qemu-devel@nongnu.org
	public-inbox-index qemu-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.nongnu.qemu-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git