Attaching a QTest reproducer. ./i386-softmmu/qemu-system-i386 -device nec-usb-xhci -trace usb\* \ -device usb-audio -device usb-storage,drive=mydrive \ -drive id=mydrive,file=null-co://,size=2M,format=raw,if=none \ -nodefaults -nographic -qtest stdio < repro
Close to the crash: [email protected]:usb_xhci_slot_configure slotid 58 [email protected]:usb_xhci_ep_disable slotid 58, epid 2 [email protected]:usb_xhci_ep_enable slotid 58, epid 2 [email protected]:usb_xhci_ep_disable slotid 58, epid 6 [email protected]:usb_xhci_ep_enable slotid 58, epid 6 [email protected]:usb_xhci_ep_disable slotid 58, epid 24 [email protected]:usb_xhci_ep_enable slotid 58, epid 24 [email protected]:usb_xhci_ep_disable slotid 58, epid 25 [email protected]:usb_xhci_ep_enable slotid 58, epid 25 [email protected]:usb_xhci_ep_disable slotid 58, epid 29 [email protected]:usb_xhci_ep_enable slotid 58, epid 29 [email protected]:usb_xhci_ep_disable slotid 58, epid 30 [email protected]:usb_xhci_ep_enable slotid 58, epid 30 [email protected]:usb_xhci_fetch_trb addr 0x0000000000000b20, CR_ENABLE_SLOT, p 0x0000000000000000, s 0x00000000, c 0x00002700 [email protected]:usb_xhci_slot_enable slotid 59 [email protected]:usb_xhci_fetch_trb addr 0x0000000000000b30, CR_SET_TR_DEQUEUE, p 0x0000000000000000, s 0x00000000, c 0x00004300 [email protected]:usb_xhci_fetch_trb addr 0x0000000000000b40, CR_ENABLE_SLOT, p 0x0000000000000000, s 0x00000000, c 0x00002700 [email protected]:usb_xhci_slot_enable slotid 60 [email protected]:usb_xhci_fetch_trb addr 0x0000000000000b50, CR_EVALUATE_CONTEXT, p 0x0000000000000000, s 0x00000000, c 0x00003600 [email protected]:usb_xhci_fetch_trb addr 0x0000000000000b60, CR_STOP_ENDPOINT, p 0x0000000000000000, s 0x00000000, c 0x3afd3c00 [email protected]:usb_xhci_ep_stop slotid 58, epid 29 [email protected]:usb_xhci_ep_state slotid 58, epid 29, running -> stopped [email protected]:usb_xhci_fetch_trb addr 0x0000000000000b70, CR_ENABLE_SLOT, p 0x0000000000000000, s 0x00000000, c 0x00002700 [email protected]:usb_xhci_slot_enable slotid 61 [email protected]:usb_xhci_fetch_trb addr 0x0000000000000b80, CR_SET_TR_DEQUEUE, p 0x0000000000000000, s 0x00000000, c 0x3afd4300 [email protected]:usb_xhci_ep_set_dequeue slotid 58, epid 29, streamid 0, ptr 0x0000000000000000 qemu-system-i386: hw/usb/hcd-xhci.c:1016: XHCIStreamContext *xhci_find_stream(XHCIEPContext *, unsigned int, uint32_t *): Assertion `streamid != 0' failed. Aborted ** Attachment added: "repro" https://bugs.launchpad.net/qemu/+bug/1883729/+attachment/5400547/+files/repro -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1883729 Title: xhci_find_stream: Assertion `streamid != 0' failed. Status in QEMU: New Bug description: To reproduce run the QEMU with the following command line: ``` qemu-system-x86_64 -cdrom hypertrash_os_bios_crash.iso -nographic -m 100 -enable-kvm -device virtio-gpu-pci -device nec-usb-xhci -device usb-audio ``` QEMU Version: ``` # qemu-5.0.0 $ ./configure --target-list=x86_64-softmmu --enable-sanitizers; make $ x86_64-softmmu/qemu-system-x86_64 --version QEMU emulator version 5.0.0 Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers ``` To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1883729/+subscriptions
