none
Bluescreen on USB Shutdown ...BUGCODE_USB_DRIVER, IRP_URB_DOUBLE_SUBMIT RRS feed

  • Question

  • Have a very repeatable bluescreen on shutting down win7/64.

    It looks to be happening in the usbport.sys driver, and obviously only happens when a device using the CDC class is connected. 

    What is more puzzling is that it only happens when our own PCIe card and driver is installed.

    I'm assuming this driver must be doing something on shutdown but I sure can't see it implicated in looking at the kernel dump.  All I see is Microsoft provided drivers in the output if !analyze -v. 

    Anyone have any ideas.  I'm guessing ACPI somehow involved.  Debug info below.

    Our App uses a lot of non paged pool hence the warning on that.  Bluescreen happens even with just our driver loaded and no app running too. 

    Thanks!

    Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.


    Loading Dump File [c:\MEMORY.DMP]
    Kernel Summary Dump File: Only kernel address space is available

    Symbol search path is: srv*c:\mss*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows 7 Kernel Version 7601 (Service Pack 1) MP (4 procs) Free x64
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 7601.18113.amd64fre.win7sp1_gdr.130318-1533
    Machine Name:
    Kernel base = 0xfffff800`02c52000 PsLoadedModuleList = 0xfffff800`02e95670
    Debug session time: Mon Jun 17 13:57:57.235 2013 (UTC - 7:00)
    System Uptime: 0 days 4:38:52.078
    Loading Kernel Symbols
    ...............................................................
    ................................................................
    ........................
    Loading User Symbols

    Loading unloaded module list
    ...................
    *******************************************************************************
    *                                                                             *
    *                        Bugcheck Analysis                                    *
    *                                                                             *
    *******************************************************************************

    Use !analyze -v to get detailed debugging information.

    BugCheck FE, {4, fffffa8007d92a10, fffffa8006b647a0, fffffa8003b6ec00}

    Probably caused by : usbser.sys ( usbser!RestartNotifyRead+cb )

    Followup: MachineOwner
    ---------

    3: kd> !analyze -v
    *******************************************************************************
    *                                                                             *
    *                        Bugcheck Analysis                                    *
    *                                                                             *
    *******************************************************************************

    BUGCODE_USB_DRIVER (fe)
    USB Driver bugcheck, first parameter is USB bugcheck code.
    Arguments:
    Arg1: 0000000000000004, IRP_URB_DOUBLE_SUBMIT The caller has submitted an irp
        that is already pending in the USB bus driver.
    Arg2: fffffa8007d92a10, Address of IRP
    Arg3: fffffa8006b647a0, Address of URB
    Arg4: fffffa8003b6ec00

    Debugging Details:
    ------------------


    DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT

    BUGCHECK_STR:  0xFE

    PROCESS_NAME:  System

    CURRENT_IRQL:  2

    LAST_CONTROL_TRANSFER:  from fffff880053a5f4b to fffff80002cc7c00

    STACK_TEXT:  
    fffff880`096ec368 fffff880`053a5f4b : 00000000`000000fe 00000000`00000004 fffffa80`07d92a10 fffffa80`06b647a0 : nt!KeBugCheckEx
    fffff880`096ec370 fffff880`053b144a : fffffa80`064f6000 fffffa80`08651550 00000000`00000000 fffffa80`064f6050 : USBPORT!USBPORT_Core_DetectActiveUrb+0x127
    fffff880`096ec3c0 fffff880`053b9e74 : fffffa80`07d92a10 fffffa80`06780009 fffffa80`07d92a10 fffffa80`06b647a0 : USBPORT!USBPORT_ProcessURB+0xad6
    fffff880`096ec470 fffff880`05393af4 : 00000000`00000000 fffffa80`06780050 fffffa80`073f7a10 fffffa80`07d92a10 : USBPORT!USBPORT_PdoInternalDeviceControlIrp+0x138
    fffff880`096ec4b0 fffff880`00e0b7a7 : fffffa80`07d92a10 fffffa80`06781830 fffffa80`07d92a10 fffffa80`07d92a10 : USBPORT!USBPORT_Dispatch+0x1dc
    fffff880`096ec4f0 fffff880`00e13789 : fffff880`00e31b50 fffff880`096ec5b0 fffffa80`07d92d68 fffffa80`07d92d68 : ACPI!ACPIDispatchForwardIrp+0x37
    fffff880`096ec520 fffff880`00e0ba3f : fffff880`00e31b50 fffffa80`036a5510 fffffa80`07d92a10 fffffa80`07636050 : ACPI!ACPIIrpDispatchDeviceControl+0x75
    fffff880`096ec550 fffff880`04c03566 : 00000000`00000000 00000000`00000004 fffffa80`07636050 fffffa80`082cc060 : ACPI!ACPIDispatchIrp+0x12b
    fffff880`096ec5d0 fffff880`04c33d8f : 00000000`00000000 00000000`00000000 fffffa80`082cc060 fffffa80`07442060 : usbhub!UsbhFdoUrbPdoFilter+0xde
    fffff880`096ec600 fffff880`04c01fb7 : fffffa80`07d92a10 fffffa80`07d64a40 fffffa80`07d92a10 fffffa80`07d92a10 : usbhub!UsbhPdoInternalDeviceControl+0x373
    fffff880`096ec650 fffff880`00e0b7a7 : fffffa80`07d92a10 00000000`00000000 00000000`00000000 00000000`00000801 : usbhub!UsbhGenDispatch+0x57
    fffff880`096ec680 fffff880`00e13789 : fffff880`00e31b50 00000000`00000000 fffffa80`03f65898 fffffa80`07d92d68 : ACPI!ACPIDispatchForwardIrp+0x37
    fffff880`096ec6b0 fffff880`00e0ba3f : fffff880`00e31b50 fffffa80`086aa2f0 fffffa80`07d92a10 fffffa80`03f65898 : ACPI!ACPIIrpDispatchDeviceControl+0x75
    fffff880`096ec6e0 fffff880`0819dec4 : 00000000`00000000 fffffa80`081562b8 fffffa80`03f65898 00000000`00000000 : ACPI!ACPIDispatchIrp+0x12b
    fffff880`096ec760 fffff880`0819a812 : fffffa80`03f65898 fffffa80`07d92a10 fffff800`00000324 fffffa80`07d92a10 : usbccgp!UsbcForwardIrp+0x30
    fffff880`096ec790 fffff880`0819aaba : fffffa80`081561b8 00000000`00220003 fffffa80`07d92a10 fffffa80`03f65898 : usbccgp!DispatchPdoUrb+0xfa
    fffff880`096ec7d0 fffff880`0819872e : 00000000`0000000f fffffa80`03f65890 fffffa80`03f65898 fffffa80`07d92a10 : usbccgp!DispatchPdoInternalDeviceControl+0x17a
    fffff880`096ec800 fffff880`081cca87 : fffffa80`03f65740 00000000`00000001 fffffa80`085ea000 fffffa80`085ea300 : usbccgp!USBC_Dispatch+0x2de
    fffff880`096ec880 fffff880`081cb824 : fffffa80`085ea36b fffffa80`03a77390 fffffa80`03a77240 fffffa80`085ea36b : usbser!RestartNotifyRead+0xcb
    fffff880`096ec8c0 fffff800`02ccb5c1 : fffffa80`085ea36b 00000000`00000002 fffffa80`03a77240 fffff800`02d59da1 : usbser!UsbSer_DevicePowerIrp_Complete+0x6c
    fffff880`096ec8f0 fffff880`081a0433 : 00000000`44707200 00000000`00000000 fffffa80`085ea368 00000000`00000000 : nt!IopfCompleteRequest+0x341
    fffff880`096ec9e0 fffff880`081aca44 : fffffa80`085ea010 fffffa80`03f65890 fffffa80`03f65898 fffffa80`03f65898 : usbccgp!DispatchPdoPower+0x227
    fffff880`096eca20 fffff880`08198715 : 00000000`00000016 fffffa80`03f65890 fffffa80`03f65898 fffffa80`085ea010 : usbccgp!USBC_Power+0xd8
    fffff880`096eca60 fffff800`02dcb9d2 : fffffa80`03f65740 00000000`00000001 fffffa80`085ea000 fffffa80`085ea001 : usbccgp!USBC_Dispatch+0x2c5
    fffff880`096ecae0 fffff880`081cb602 : 00000000`00000001 00000000`00000000 fffffa80`085ea010 fffffa80`085ea010 : nt!IopPoHandleIrp+0x32
    fffff880`096ecb10 fffff800`02de3e95 : 00000000`00000001 00000000`00000000 fffffa80`03a77240 fffffa80`085ea0b8 : usbser!UsbSer_ProcessPowerIrp+0xbe
    fffff880`096ecb50 fffff800`02f65ede : ffffffff`fa0a1f00 fffffa80`07442060 00000000`00000080 800000d7`c0000001 : nt!PopIrpWorker+0x3c5
    fffff880`096ecc00 fffff800`02cb8906 : fffff880`03365180 fffffa80`07442060 fffff880`0336ffc0 80000000`000000a0 : nt!PspSystemThreadStartup+0x5a
    fffff880`096ecc40 00000000`00000000 : fffff880`096ed000 fffff880`096e7000 fffff880`096ec610 00000000`00000000 : nt!KxStartSystemThread+0x16


    STACK_COMMAND:  kb

    FOLLOWUP_IP:
    usbser!RestartNotifyRead+cb
    fffff880`081cca87 85c0            test    eax,eax

    SYMBOL_STACK_INDEX:  12

    SYMBOL_NAME:  usbser!RestartNotifyRead+cb

    FOLLOWUP_NAME:  MachineOwner

    MODULE_NAME: usbser

    IMAGE_NAME:  usbser.sys

    DEBUG_FLR_IMAGE_TIMESTAMP:  4ce7a66d

    FAILURE_BUCKET_ID:  X64_0xFE_usbser!RestartNotifyRead+cb

    BUCKET_ID:  X64_0xFE_usbser!RestartNotifyRead+cb

    Followup: MachineOwner
    ---------

    Tuesday, June 18, 2013 5:04 PM

Answers

  • usbser is sending an urn down the stack that is already pending. Contact Microsoft support


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, June 18, 2013 7:46 PM

All replies

  • usbser is sending an urn down the stack that is already pending. Contact Microsoft support


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, June 18, 2013 7:46 PM
  • Hi, how did you solve this? I also have the problem  that blue screen happened  once shutdown.

    windbg log:

    -------------------------------------------


    Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.


    Loading Dump File [C:\Users\3th1nk\Desktop\Minidump\102914-8626-01.dmp]
    Mini Kernel Dump File: Only registers and stack trace are available

    Symbol search path is: SRV*C:\Symbols*http://msdl.microsoft.com/download/symbols
    Executable search path is:
    Windows 7 Kernel Version 7601 (Service Pack 1) MP (2 procs) Free x86 compatible
    Product: WinNt, suite: TerminalServer SingleUserTS
    Built by: 7601.18409.x86fre.win7sp1_gdr.140303-2144
    Machine Name:
    Kernel base = 0x8484a000 PsLoadedModuleList = 0x849935b0
    Debug session time: Wed Oct 29 08:54:19.682 2014 (UTC + 8:00)
    System Uptime: 0 days 0:04:29.752
    Loading Kernel Symbols
    ...............................................................
    ................................................................
    ..........................................
    Loading User Symbols
    Loading unloaded module list
    .............
    1: kd> !analyze -v
    *******************************************************************************
    *                                                                             *
    *                        Bugcheck Analysis                                    *
    *                                                                             *
    *******************************************************************************

    BUGCODE_USB_DRIVER (fe)
    USB Driver bugcheck, first parameter is USB bugcheck code.
    Arguments:
    Arg1: 00000004, IRP_URB_DOUBLE_SUBMIT The caller has submitted an irp
     that is already pending in the USB bus driver.
    Arg2: 898674b0, Address of IRP
    Arg3: 8991d8dc, Address of URB
    Arg4: 89929008

    Debugging Details:
    ------------------

    *************************************************************************
    ***                                                                   ***
    ***                                                                   ***
    ***    Your debugger is not using the correct symbols                 ***
    ***                                                                   ***
    ***    In order for this command to work properly, your symbol path   ***
    ***    must point to .pdb files that have full type information.      ***
    ***                                                                   ***
    ***    Certain .pdb files (such as the public OS symbols) do not      ***
    ***    contain the required information.  Contact the group that      ***
    ***    provided you with these symbols if you need this command to    ***
    ***    work.                                                          ***
    ***                                                                   ***
    ***    Type referenced: usbport!_DEVICE_EXTENSION                     ***
    ***                                                                   ***
    *************************************************************************

    CUSTOMER_CRASH_COUNT:  1

    DEFAULT_BUCKET_ID:  VISTA_DRIVER_FAULT

    BUGCHECK_STR:  0xFE

    PROCESS_NAME:  System

    CURRENT_IRQL:  2

    LAST_CONTROL_TRANSFER:  from 9654b3c1 to 84928bfc

    STACK_TEXT: 
    807c78f4 9654b3c1 000000fe 00000004 898674b0 nt!KeBugCheckEx+0x1e
    807c7928 9654903b 88685028 898674b0 8991d8dc USBPORT!USBPORT_Core_DetectActiveUrb+0x149
    807c796c 9654952c 88714028 00000000 898674b0 USBPORT!USBPORT_ProcessURB+0x705
    807c7994 96546a34 88714028 898674b0 87f6b9f8 USBPORT!USBPORT_PdoInternalDeviceControlIrp+0xfb
    807c79bc 84880c1e 88714028 887142cc ffef3ff7 USBPORT!USBPORT_Dispatch+0x18a
    807c79d4 8dcd63da ffef3ff7 807c79f4 8dcdcc20 nt!IofCallDriver+0x63
    807c79e0 8dcdcc20 88771020 898674b0 8986761c ACPI!ACPIDispatchForwardIrp+0x2a
    807c79f4 8dcd6664 88771020 898674b0 895da028 ACPI!ACPIIrpDispatchDeviceControl+0xa4
    807c7a24 84880c1e 88771020 8749ee60 898674b0 ACPI!ACPIDispatchIrp+0x198
    807c7a3c 96c69c8e 898674b0 899220e8 00000000 nt!IofCallDriver+0x63
    807c7a50 96c69ee5 895da0e0 89922030 898674b0 usbhub!UsbhFdoUrbPdoFilter+0x68
    807c7a74 96c69b91 89922030 8986761c 89922030 usbhub!UsbhPdoInternalDeviceControl+0xf6
    807c7a88 84880c1e 89922030 898674b0 ffef3ff7 usbhub!UsbhGenDispatch+0x4a
    807c7aa0 8dcd63da ffef3ff7 807c7ac0 8dcdcc20 nt!IofCallDriver+0x63
    807c7aac 8dcdcc20 89920f08 898674b0 8986761c ACPI!ACPIDispatchForwardIrp+0x2a
    807c7ac0 8dcd6664 89920f08 898674b0 8992b458 ACPI!ACPIIrpDispatchDeviceControl+0xa4
    807c7af0 84880c1e 89920f08 8749e460 8992b0f0 ACPI!ACPIDispatchIrp+0x198
    807c7b08 9b018b8d 89a687b8 8992b0f0 8992b1e8 nt!IofCallDriver+0x63
    807c7b1c 9b01855d 8992b0f0 89a68927 89a687b8 usbser!RestartNotifyRead+0x73
    807c7b34 848c1dd3 8992b038 89a687b8 8992b038 usbser!UsbSer_DevicePowerIrp_Complete+0x53
    807c7b78 96c7f8f7 89a687b8 899220e8 00000000 nt!IopfCompleteRequest+0x128
    807c7b98 96c7fdf7 895da028 89922030 89a687b8 usbhub!UsbhPdoDevicePowerState+0x377
    807c7bb8 96c69b91 89922030 89a687b8 89a687b8 usbhub!UsbhPdoPower_SetPower+0x99
    807c7bcc 8486086f 89922030 89a687b8 00000016 usbhub!UsbhGenDispatch+0x4a
    807c7be4 84880c10 89a687b8 89922030 807c7bfc nt!IopPoHandleIrp+0x28
    807c7bf4 84860cbd 807c7c10 8dcd64b0 89922030 nt!IofCallDriver+0x55
    807c7bfc 8dcd64b0 89922030 89a687b8 8749e460 nt!PoCallDriver+0x10
    807c7c10 8dcd563f 89920f08 89a687b8 00000000 ACPI!ACPIDispatchForwardPowerIrp+0x46
    807c7c24 8dcd5f12 8749e460 89a687b8 00000000 ACPI!ACPIDeviceIrpForwardRequest+0x37
    807c7c54 8dcd7e23 89920f08 89a687b8 8dcd5608 ACPI!ACPIDeviceIrpDeviceRequest+0x48
    807c7c78 8dcd6664 89920f08 00000000 89a687b8 ACPI!ACPIFilterIrpSetPower+0xb3
    807c7ca8 8486086f 89920f08 8749e460 00000016 ACPI!ACPIDispatchIrp+0x198
    807c7cc0 84880c10 89a68964 89920f08 807c7cd8 nt!IopPoHandleIrp+0x28
    807c7cd0 84860cbd 807c7cf8 9b01877a 89920f08 nt!IofCallDriver+0x55
    807c7cd8 9b01877a 89920f08 89a687b8 8992b038 nt!PoCallDriver+0x10
    807c7cf8 8485fe79 8992b038 89a687b8 00000000 usbser!UsbSer_ProcessPowerIrp+0x8e
    807c7d50 84a53141 00000000 a7bb7949 00000000 nt!PopIrpWorker+0x351
    807c7d90 848fa559 8485fb28 00000000 00000000 nt!PspSystemThreadStartup+0x9e
    00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x19


    STACK_COMMAND:  kb

    FOLLOWUP_IP:
    usbser!RestartNotifyRead+73
    9b018b8d 85c0            test    eax,eax

    SYMBOL_STACK_INDEX:  12

    SYMBOL_NAME:  usbser!RestartNotifyRead+73

    FOLLOWUP_NAME:  MachineOwner

    MODULE_NAME: usbser

    IMAGE_NAME:  usbser.sys

    DEBUG_FLR_IMAGE_TIMESTAMP:  521e9fe6

    FAILURE_BUCKET_ID:  0xFE_usbser!RestartNotifyRead+73

    BUCKET_ID:  0xFE_usbser!RestartNotifyRead+73

    Followup: MachineOwner
    ---------

    Thursday, October 30, 2014 6:13 AM