Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17439

Crash on hot connecting a USB mouse a second time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Drivers: USB
    • Labels:

      Description

      Using ReactOS 0.4.15-x86-dev (Build 20210121-0.4.15-dev-1868-g6e57d50) (Commit 6e57d509475a1f09b568b601e235c8913c77c3a9) from https://iso.reactos.org/bootcd/ on the D531,

      hot pluging an USB mouse works one time. After disconnecting and then reconnecting, I get a

      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B4707740, USBDStatus - c0000005
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B4707740, USBDStatus - c0000005
      (/drivers/usb/usbport/usbport.c:2259) USBPORT_CompleteTransfer: Irp - B480E7E8 complete with Status - c0000001
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B470BB10, USBDStatus - c0000005
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B470BB10, USBDStatus - c0000005
      (/drivers/usb/usbport/usbport.c:2259) USBPORT_CompleteTransfer: Irp - B480D848 complete with Status - c0000001
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 1
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3AEC670, USBDStatus - c0000005
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3AEC670, USBDStatus - c0000005
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3AEC670, USBDStatus - c0000005
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3A6B130, USBDStatus - c0000005
      (/drivers/hid/hidusb/hidusb.c:368) [HIDUSB] ResetWorkerRoutine ResetPipe c0000001
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B4707740, USBDStatus - 80000600
      (/drivers/usb/usbport/urb.c:749) USBPORT_ValidateURB: Not valid pipe handle
      (/drivers/usb/usbport/urb.c:875) USBPORT_HandleSubmitURB: Not valid URB
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3A81570, USBDStatus - c0007000
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3A81570, USBDStatus - c0007000
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3A6C008, USBDStatus - c0007000
      (/drivers/hid/hidusb/hidusb.c:368) [HIDUSB] ResetWorkerRoutine ResetPipe c000009d
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B4707740, USBDStatus - 80000600
      (/drivers/usb/usbport/urb.c:749) USBPORT_ValidateURB: Not valid pipe handle
      (/drivers/usb/usbport/urb.c:875) USBPORT_HandleSubmitURB: Not valid URB
      (/drivers/usb/usbport/endpoint.c:603) USBPORT_ClosePipe
      (/drivers/usb/usbport/endpoint.c:230) USBPORT_FreeBandwidth: FIXME USBPORT_UpdateAllocatedBw
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbohci/usbohci.c:1924) PollAsyncEndpoint: IsResetOnHalt 0
      (/drivers/usb/usbport/endpoint.c:603) USBPORT_ClosePipe
      (/drivers/usb/usbport/endpoint.c:230) USBPORT_FreeBandwidth: FIXME USBPORT_UpdateAllocatedBw
      (/drivers/usb/usbport/endpoint.c:603) USBPORT_ClosePipe
      (/drivers/usb/usbport/endpoint.c:230) USBPORT_FreeBandwidth: FIXME USBPORT_UpdateAllocatedBw
      (/drivers/usb/usbport/endpoint.c:603) USBPORT_ClosePipe
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3B43538, USBDStatus - 80000600
      (/drivers/hid/hidusb/hidusb.c:368) [HIDUSB] ResetWorkerRoutine ResetPipe c000000d
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B4707740, USBDStatus - 80000600
      (/drivers/usb/usbport/urb.c:749) USBPORT_ValidateURB: Not valid pipe handle
      (/drivers/usb/usbport/urb.c:875) USBPORT_HandleSubmitURB: Not valid URB
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3A6B130, USBDStatus - 80000600
      (/drivers/hid/hidusb/hidusb.c:368) [HIDUSB] ResetWorkerRoutine ResetPipe c000000d
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B4707740, USBDStatus - 80000600
      (/drivers/usb/usbport/urb.c:749) USBPORT_ValidateURB: Not valid pipe handle
      (/drivers/usb/usbport/urb.c:875) USBPORT_HandleSubmitURB: Not valid URB
      (/drivers/usb/usbhub/usbhub.c:70) USBH_CompleteIrp: Irp - B3A6A478, CompleteStatus - C00000BB
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3B2AEE0, USBDStatus - 80000600
      (/drivers/hid/hidusb/hidusb.c:368) [HIDUSB] ResetWorkerRoutine ResetPipe c000000d
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B4707740, USBDStatus - 80000600
      (/drivers/usb/usbport/urb.c:749) USBPORT_ValidateURB: Not valid pipe handle
      (/drivers/usb/usbport/urb.c:875) USBPORT_HandleSubmitURB: Not valid URB
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3B43538, USBDStatus - 80000600
      (/drivers/hid/hidusb/hidusb.c:368) [HIDUSB] ResetWorkerRoutine ResetPipe c000000d
      (/drivers/hid/kbdhid/kbdhid.c:115) [KBDHID] ReadCompletion terminating read Status c000000d
      (/ntoskrnl/io/iomgr/device.c:448) Unloading driver '\Driver\kbdhid' (automatic)
      WARNING:  KbdHid_Unload at /drivers/hid/kbdhid/kbdhid.c:1030 is UNIMPLEMENTED!
      (/ntoskrnl/io/iomgr/driver.c:85) Deleting driver object '\Driver\kbdhid'
      (/ntoskrnl/mm/ARM3/sysldr.c:956) Leaking driver: kbdhid.sys
      (/ntoskrnl/mm/ARM3/sysldr.c:429) \SystemRoot\system32\drivers\hidparse.sys <hidparse.sys>
      (/drivers/usb/usbport/usbport.c:494) USBPORT_USBDStatusToNtStatus: Urb - B3A6B130, USBDStatus - 80000600
      (/drivers/hid/hidusb/hidusb.c:368) [HIDUSB] ResetWorkerRoutine ResetPipe c000000d
      (/drivers/hid/mouhid/mouhid.c:325) [MOUHID] ReadCompletion terminating read Status c000000d
      (/ntoskrnl/io/iomgr/device.c:448) Unloading driver '\Driver\mouhid' (automatic)
      WARNING:  MouHid_Unload at /drivers/hid/mouhid/mouhid.c:1229 is UNIMPLEMENTED!
      (/ntoskrnl/io/iomgr/driver.c:85) Deleting driver object '\Driver\mouhid'
      (/ntoskrnl/mm/ARM3/sysldr.c:956) Leaking driver: mouhid.sys
      (/ntoskrnl/mm/ARM3/sysldr.c:429) \SystemRoot\system32\drivers\hidparse.sys <hidparse.sys>
      (/ntoskrnl/io/iomgr/device.c:448) Unloading driver '\Driver\hidusb' (automatic)
      WARNING:  HidClassDriverUnload at /drivers/hid/hidclass/hidclass.c:129 is UNIMPLEMENTED!
      (/ntoskrnl/io/iomgr/driver.c:85) Deleting driver object '\Driver\hidusb'
      (/ntoskrnl/mm/ARM3/sysldr.c:956) Leaking driver: hidusb.sys
      (/ntoskrnl/mm/ARM3/sysldr.c:429) \SystemRoot\system32\drivers\hidclass.sys <hidclass.sys>
      (/ntoskrnl/mm/ARM3/sysldr.c:429) multi(0)disk(0)rdisk(0)partition(1)\ReactOS\system32\drivers\usbd.sys <usbd.sys>
      (/drivers/usb/usbccgp/fdo.c:396) [USBCCGP] FDO IRP_MN_REMOVE
      (/drivers/usb/usbhub/pnp.c:2325) USBH_PdoRemoveDevice: call IoWMIRegistrationControl UNIMPLEMENTED. FIXME
      (/ntoskrnl/io/iomgr/device.c:448) Unloading driver '\Driver\usbccgp' (automatic)
       
      *** Fatal System Error: 0x00000044
                             (0xB3A6A478,0x00000000,0x00000000,0x00000000)
       
       
      Entered debugger on embedded INT3 at 0x0008:0x80989473.
      kdb:> bt
      Eip:
      <ntoskrnl.exe:189474 (srv/buildbot/worker_data/Build_GCCLin_x86/build/sdk/lib/rtl/i386/debug_asm.S:56 (RtlpBreakWithStatusInstruction))>
      Frames:
      <ntoskrnl.exe:935b8 (ntoskrnl/ke/bug.c:1066 (KeBugCheckWithTf))>
      <ntoskrnl.exe:93b57 (ntoskrnl/ke/bug.c:1413 (KeBugCheckEx))>
      <ntoskrnl.exe:77e21 (ntoskrnl/io/iomgr/irp.c:1331 (IofCompleteRequest))>
      <usbccgp.sys:255a>
      <usbccgp.sys:2bed>
      <usbccgp.sys:63db>
      <ntoskrnl.exe:77163 (ntoskrnl/io/iomgr/irp.c:1286 (IofCallDriver))>
      <ntoskrnl.exe:840c4 (ntoskrnl/io/pnpmgr/pnpmgr.c:532 (IopSynchronousCall))>
      <ntoskrnl.exe:7db54 (ntoskrnl/io/pnpmgr/devaction.c:2006 (PiIrpSendRemoveCheckVpb))>
      <ntoskrnl.exe:7dc33 (ntoskrnl/io/pnpmgr/devaction.c:2020 (IopSendRemoveDevice))>
      <ntoskrnl.exe:80d51 (ntoskrnl/io/pnpmgr/devaction.c:2386 (PipDeviceActionWorker))>
      <ntoskrnl.exe:43e4d (ntoskrnl/ex/work.c:158 (ExpWorkerThreadEntryPoint))>
      <ntoskrnl.exe:130f27 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup))>
      <ntoskrnl.exe:14bd75 (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup))>
      <ntoskrnl.exe:130efa (ntoskrnl/ps/thread.c:63 (PspUserThreadStartup))>
      <ec835356>
      Couldn't access memory at 0x57E58959!
      

      And a bugcheck (0x00000044 (0xB3A6A478,0x0,0x0,0x0) - MULTIPLE_IRP_COMPLETE_REQUESTS)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mifritscher mifritscher
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: