How exciting! Can you give me some more information on what occurred? - What is your operating system? - What were you in the process of doing at the time? (It looks like it died during the initial connection attempt) - Did this happen inside of another application, or a script you wrote, or in the/a Python REPL? - Is this reproducible, or does it appear to be a race condition or something that only triggers occasionally?
Thank you for reporting back! --js On Fri, Apr 4, 2025 at 6:11 AM Anton Hvornum <tor...@archlinux.org> wrote: > 2025-04-04 12:07:59,172 archtest CRITICAL Unexpected bottom half > exception. This is a bug in the QMP library. Please report it to > <qemu-devel@nongnu.org> <qemu-devel@nongnu.org> and CC: John Snow > <js...@redhat.com> <js...@redhat.com>.: > | Traceback (most recent call last): > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 462, in _session_guard > | yield > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 417, in connect > | await self._establish_session() > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/qmp_client.py", > line 297, in _establish_session > | self._greeting = await self._get_greeting() > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/qmp_client.py", > line 317, in _get_greeting > | msg = await self._recv() > | ^^^^^^^^^^^^^^^^^^ > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 1046, in _recv > | message = await self._do_recv() > | ^^^^^^^^^^^^^^^^^^^^^ > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/qmp_client.py", > line 449, in _do_recv > | msg_bytes = await self._readline() > | ^^^^^^^^^^^^^^^^^^^^^^ > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 1014, in _readline > | raise EOFError > | EOFError > | > | During handling of the above exception, another exception occurred: > | > | Traceback (most recent call last): > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 468, in _session_guard > | await self.disconnect() > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 436, in disconnect > | await self._wait_disconnect() > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 758, in _wait_disconnect > | self._cleanup() > | ~~~~~~~~~~~~~^^ > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/qmp_client.py", > line 385, in _cleanup > | super()._cleanup() > | ~~~~~~~~~~~~~~~~^^ > | File > "/home/anton/.local/lib/python3.13/site-packages/qemu/qmp/protocol.py", > line 772, in _cleanup > | assert self.runstate == Runstate.DISCONNECTING > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > | AssertionError > > >