Two days ago I had the first BSOD ever on my Win7 x64 system, original install date 20/09/2010, while using VS2010 to debug a GHI G120 module over USB. I moved the USB from an extern USB3.0/2.0 hub to a front panel USB2.0, and it has just happened again.
WinDbg dump analysis points to GHI_NETMF_Interface.sys
I had previously been debugging over COM1, but it seemed to be quite sporadic, working sometimes and not others, often the debugger would fail to attach on a “step into new…”, and then after a board reset would display board debug output.
Attaching TeraTerm to the COM port shows normal startup to the first GC and then continuous exceptions and register dumps, I’m wondering if the same on USB is causing an overflow somewhere?
The same system has been used for developing/debugging debugging EMX boards (over USB and COM) for well over a year with no problems.
Here is the WinDBG analysis of the memory dump, with stack trace, pointing to GHI_NETMF_Interface.sys as the culprit. No symbols available for GHI_NETMF_Interface.sys unfortunately, that would have made it easier to locate exactly where in the module the problem occurred.
Microsoft (R) Windows Debugger Version 6.11.0001.404 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Windows\MEMORY.DMP]
Kernel Summary Dump File: Only kernel address space is available
Symbol search path is: SRV*\\sonic\ossymbols*http://msdl.microsoft.com/download/symbols;SRV*\\sonic\productsymbols;C:\windows\system32
Executable search path is:
Windows 7 Kernel Version 7601 (Service Pack 1) MP (8 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 7601.18113.amd64fre.win7sp1_gdr.130318-1533
Machine Name:
Kernel base = 0xfffff800`0364e000 PsLoadedModuleList = 0xfffff800`03891670
Debug session time: Sat Jun 8 10:31:09.091 2013 (GMT+10)
System Uptime: 1 days 16:40:42.005
Loading Kernel Symbols
...............................................................
................................................................
................................................................
......
Loading User Symbols
Loading unloaded module list
..........................................
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck 7F, {8, 80050031, 6f8, fffff800037f7c21}
*** ERROR: Module load completed but symbols could not be loaded for GHI_NETMF_Interface.sys
*** ERROR: Module load completed but symbols could not be loaded for hcmon.sys
Probably caused by : GHI_NETMF_Interface.sys ( GHI_NETMF_Interface+2df5 )
Followup: MachineOwner
---------
1: kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
UNEXPECTED_KERNEL_MODE_TRAP (7f)
This means a trap occurred in kernel mode, and it's a trap of a kind
that the kernel isn't allowed to have/catch (bound trap) or that
is always instant death (double fault). The first number in the
bugcheck params is the number of the trap (8 = double fault, etc)
Consult an Intel x86 family manual to learn more about what these
traps are. Here is a *portion* of those codes:
If kv shows a taskGate
use .tss on the part before the colon, then kv.
Else if kv shows a trapframe
use .trap on that value
Else
.trap on the appropriate frame will show where the trap was taken
(on x86, this will be the ebp that goes with the procedure KiTrap)
Endif
kb will then show the corrected stack.
Arguments:
Arg1: 0000000000000008, EXCEPTION_DOUBLE_FAULT
Arg2: 0000000080050031
Arg3: 00000000000006f8
Arg4: fffff800037f7c21
Debugging Details:
------------------
BUGCHECK_STR: 0x7f_8
DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
PROCESS_NAME: System
CURRENT_IRQL: 2
LAST_CONTROL_TRANSFER: from fffff800036c31a9 to fffff800036c3c00
STACK_TEXT:
fffff880009efde8 fffff800
036c31a9 : 000000000000007f 00000000
00000008 0000000080050031 00000000
000006f8 : nt!KeBugCheckEx
fffff880009efdf0 fffff800
036c1672 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : nt!KiBugCheckDispatch+0x69
fffff880009eff30 fffff800
037f7c21 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : nt!KiDoubleFaultAbort+0xb2
fffff88003115f60 fffff880
0a8a9df5 : 0101010000000000 311b1416
0c070804 fffffa800a4e90c0 00000000
000000c0 : nt!ExAllocatePoolWithTag+0x11
fffff88003116050 fffff880
0a8a787c : fffffa8012b0b1d8 00000000
00000000 fffffa8018ff8970 fffffa80
12b0b1d8 : GHI_NETMF_Interface+0x2df5
fffff88003116090 fffff880
0a8a9d54 : fffffa8012b0b180 00000000
00000000 fffffa8012b0b030 00000000
000000ca : GHI_NETMF_Interface+0x87c
fffff880031160e0 fffff800
036c75c1 : fffffa80127b0dbb 00000000
00000050 0000000000000000 00000000
000007ff : GHI_NETMF_Interface+0x2d54
fffff88003116110 fffff880
05989c13 : 0000000000000000 fffffa80
0bb08000 fffffa800bb08050 00000000
00000000 : nt!IopfCompleteRequest+0x341
fffff88003116200 fffff880
05992e74 : fffffa80127b0c10 fffffa80
0bf70009 fffffa80127b0c10 fffffa80
0a4e9010 : USBPORT!USBPORT_ProcessURB+0x29f
fffff880031162b0 fffff880
0596caf4 : 0000000000000000 fffffa80
0bf78050 fffffa800d52b700 fffffa80
127b0c10 : USBPORT!USBPORT_PdoInternalDeviceControlIrp+0x138
fffff880031162f0 fffff880
072750aa : fffffa800a4e9010 00000000
00000000 fffffa800cd101b0 fffffa80
127b0c10 : USBPORT!USBPORT_Dispatch+0x1dc
fffff88003116330 fffff880
05ed2566 : fffffa800bf7a050 fffffa80
098db2a0 fffffa80127b0c10 fffffa80
098db3f0 : hcmon+0x30aa
fffff88003116380 fffff880
05f02d8f : 0000000000000000 00000000
00000000 fffffa80098db2a0 00000000
00000000 : usbhub!UsbhFdoUrbPdoFilter+0xde
fffff880031163b0 fffff880
05ed0fb7 : fffffa80127b0c10 fffffa80
12b0b180 fffffa8012b0b030 fffffa80
12329b20 : usbhub!UsbhPdoInternalDeviceControl+0x373
fffff88003116400 fffff880
0a8a9f14 : 00000000000000ca fffffa80
127b0c10 fffffa800a4e90c0 00000000
000007ff : usbhub!UsbhGenDispatch+0x57
fffff88003116430 fffff880
0a8a787c : fffffa8012b0b1d8 00000000
00000000 fffffa80127b0c10 fffffa80
12b0b1d8 : GHI_NETMF_Interface+0x2f14
fffff88003116470 fffff880
0a8a9d54 : fffffa8012b0b180 00000000
00000000 fffffa8012b0b030 00000000
000000ca : GHI_NETMF_Interface+0x87c
fffff880031164c0 fffff800
036c75c1 : fffffa8012329ccb 00000000
00000050 0000000000000000 00000000
000007ff : GHI_NETMF_Interface+0x2d54
fffff880031164f0 fffff880
05989c13 : 0000000000000000 fffffa80
0bb08000 fffffa800bb08050 00000000
00000000 : nt!IopfCompleteRequest+0x341
fffff880031165e0 fffff880
05992e74 : fffffa8012329b20 fffffa80
0bf70009 fffffa8012329b20 fffffa80
0a4e9010 : USBPORT!USBPORT_ProcessURB+0x29f
fffff88003116690 fffff880
0596caf4 : 0000000000000000 fffffa80
0bf78050 fffffa800d52b700 fffffa80
12329b20 : USBPORT!USBPORT_PdoInternalDeviceControlIrp+0x138
fffff880031166d0 fffff880
072750aa : fffffa800a4e9010 00000000
00000000 fffffa800cd101b0 fffffa80
12329b20 : USBPORT!USBPORT_Dispatch+0x1dc
fffff88003116710 fffff880
05ed2566 : fffffa800bf7a050 fffffa80
098db2a0 fffffa8012329b20 fffffa80
098db3f0 : hcmon+0x30aa
fffff88003116760 fffff880
05f02d8f : 0000000000000000 00000000
00000000 fffffa80098db2a0 bd53cfb5
49be9d32 : usbhub!UsbhFdoUrbPdoFilter+0xde
fffff88003116790 fffff880
05ed0fb7 : fffffa8012329b20 fffffa80
12b0b180 fffffa8012b0b030 fffffa80
11c981f0 : usbhub!UsbhPdoInternalDeviceControl+0x373
fffff880031167e0 fffff880
0a8a9f14 : 00000000000000ca fffffa80
12329b20 fffffa800a4e90c0 00000000
000007ff : usbhub!UsbhGenDispatch+0x57
fffff88003116810 fffff880
0a8a787c : fffffa8012b0b1d8 00000000
00000000 fffffa8012329b20 fffffa80
12b0b1d8 : GHI_NETMF_Interface+0x2f14
fffff88003116850 fffff880
0a8a9d54 : fffffa8012b0b180 00000000
00000000 fffffa8012b0b030 00000000
000000ca : GHI_NETMF_Interface+0x87c
fffff880031168a0 fffff800
036c75c1 : fffffa8011c9839b 00000000
00000050 0000000000000000 00000000
000007ff : GHI_NETMF_Interface+0x2d54
fffff880031168d0 fffff880
05989c13 : 0000000000000000 fffffa80
0bb08000 fffffa800bb08050 00000000
00000000 : nt!IopfCompleteRequest+0x341
fffff880031169c0 fffff880
05992e74 : fffffa8011c981f0 fffffa80
0bf70009 fffffa8011c981f0 fffffa80
0a4e9010 : USBPORT!USBPORT_ProcessURB+0x29f
fffff88003116a70 fffff880
0596caf4 : 0000000000000000 fffffa80
0bf78050 fffffa800d52b700 fffffa80
11c981f0 : USBPORT!USBPORT_PdoInternalDeviceControlIrp+0x138
fffff88003116ab0 fffff880
072750aa : fffffa800a4e9010 00000000
00000000 fffffa800cd101b0 fffffa80
11c981f0 : USBPORT!USBPORT_Dispatch+0x1dc
fffff88003116af0 fffff880
05ed2566 : fffffa800bf7a050 fffffa80
098db2a0 fffffa8011c981f0 fffffa80
098db3f0 : hcmon+0x30aa
fffff88003116b40 fffff880
05f02d8f : 0000000000000000 00000000
00000000 fffffa80098db2a0 00000000
00000000 : usbhub!UsbhFdoUrbPdoFilter+0xde
fffff88003116b70 fffff880
05ed0fb7 : fffffa8011c981f0 fffffa80
12b0b180 fffffa8012b0b030 fffffa80
0aef3010 : usbhub!UsbhPdoInternalDeviceControl+0x373
fffff88003116bc0 fffff880
0a8a9f14 : 00000000000000ca fffffa80
11c981f0 fffffa800a4e90c0 00000000
000007ff : usbhub!UsbhGenDispatch+0x57
fffff88003116bf0 fffff880
0a8a787c : fffffa8012b0b1d8 00000000
00000000 fffffa8011c981f0 fffffa80
12b0b1d8 : GHI_NETMF_Interface+0x2f14
fffff88003116c30 fffff880
0a8a9d54 : fffffa8012b0b180 00000000
00000000 fffffa8012b0b030 00000000
000000ca : GHI_NETMF_Interface+0x87c
fffff88003116c80 fffff800
036c75c1 : fffffa800aef31bb 00000000
00000050 0000000000000000 00000000
000007ff : GHI_NETMF_Interface+0x2d54
fffff88003116cb0 fffff880
05989c13 : 0000000000000000 fffffa80
0bb08000 fffffa800bb08050 00000000
00000000 : nt!IopfCompleteRequest+0x341
fffff88003116da0 fffff880
05992e74 : fffffa800aef3010 fffffa80
0bf70009 fffffa800aef3010 fffffa80
0a4e9010 : USBPORT!USBPORT_ProcessURB+0x29f
fffff88003116e50 fffff880
0596caf4 : 0000000000000000 fffffa80
0bf78050 fffffa800d52b700 fffffa80
0aef3010 : USBPORT!USBPORT_PdoInternalDeviceControlIrp+0x138
fffff88003116e90 fffff880
072750aa : fffffa800a4e9010 00000000
00000000 fffffa800cd101b0 fffffa80
0aef3010 : USBPORT!USBPORT_Dispatch+0x1dc
fffff88003116ed0 fffff880
05ed2566 : fffffa800bf7a050 fffffa80
098db2a0 fffffa800aef3010 fffffa80
098db3f0 : hcmon+0x30aa
fffff88003116f20 fffff880
05f02d8f : 0000000000000000 00000000
00000000 fffffa80098db2a0 00000000
00000000 : usbhub!UsbhFdoUrbPdoFilter+0xde
fffff88003116f50 fffff880
05ed0fb7 : fffffa800aef3010 fffffa80
12b0b180 fffffa8012b0b030 fffffa80
0aed9c10 : usbhub!UsbhPdoInternalDeviceControl+0x373
fffff88003116fa0 fffff880
0a8a9f14 : 00000000000000ca fffffa80
0aef3010 fffffa800a4e90c0 00000000
000007ff : usbhub!UsbhGenDispatch+0x57
fffff88003116fd0 fffff880
0a8a787c : fffffa8012b0b1d8 00000000
00000000 fffffa800aef3010 fffffa80
12b0b1d8 : GHI_NETMF_Interface+0x2f14
fffff88003117010 fffff880
0a8a9d54 : fffffa8012b0b180 00000000
00000000 fffffa8012b0b030 00000000
000000ca : GHI_NETMF_Interface+0x87c
fffff88003117060 fffff800
036c75c1 : fffffa800aed9dbb 00000000
00000050 0000000000000000 00000000
000007ff : GHI_NETMF_Interface+0x2d54
fffff88003117090 fffff880
05989c13 : 0000000000000000 fffffa80
0bb08000 fffffa800bb08050 00000000
00000000 : nt!IopfCompleteRequest+0x341
fffff88003117180 fffff880
05992e74 : fffffa800aed9c10 fffffa80
0bf70009 fffffa800aed9c10 fffffa80
0a4e9010 : USBPORT!USBPORT_ProcessURB+0x29f
fffff88003117230 fffff880
0596caf4 : 0000000000000000 fffffa80
0bf78050 fffffa800d52b700 fffffa80
0aed9c10 : USBPORT!USBPORT_PdoInternalDeviceControlIrp+0x138
fffff88003117270 fffff880
072750aa : fffffa800a4e9010 00000000
00000000 fffffa800cd101b0 fffffa80
0aed9c10 : USBPORT!USBPORT_Dispatch+0x1dc
fffff880031172b0 fffff880
05ed2566 : fffffa800bf7a050 fffffa80
098db2a0 fffffa800aed9c10 fffffa80
098db3f0 : hcmon+0x30aa
fffff88003117300 fffff880
05f02d8f : 0000000000000000 00000000
00000000 fffffa80098db2a0 00000000
00000000 : usbhub!UsbhFdoUrbPdoFilter+0xde
fffff88003117330 fffff880
05ed0fb7 : fffffa800aed9c10 fffffa80
12b0b180 fffffa8012b0b030 fffffa80
103e6c10 : usbhub!UsbhPdoInternalDeviceControl+0x373
fffff88003117380 fffff880
0a8a9f14 : 00000000000000ca fffffa80
0aed9c10 fffffa800a4e90c0 00000000
000007ff : usbhub!UsbhGenDispatch+0x57
fffff880031173b0 fffff880
0a8a787c : fffffa8012b0b1d8 00000000
00000000 fffffa800aed9c10 fffffa80
12b0b1d8 : GHI_NETMF_Interface+0x2f14
fffff880031173f0 fffff880
0a8a9d54 : fffffa8012b0b180 00000000
00000000 fffffa8012b0b030 00000000
000000ca : GHI_NETMF_Interface+0x87c
fffff88003117440 fffff800
036c75c1 : fffffa80103e6dbb 00000000
00000050 0000000000000000 00000000
000007ff : GHI_NETMF_Interface+0x2d54
fffff88003117470 fffff880
05989c13 : 0000000000000000 fffffa80
0bb08000 fffffa800bb08050 00000000
00000000 : nt!IopfCompleteRequest+0x341
fffff88003117560 fffff880
05992e74 : fffffa80103e6c10 fffffa80
0bf70009 fffffa80103e6c10 fffffa80
0a4e9010 : USBPORT!USBPORT_ProcessURB+0x29f
fffff88003117610 fffff880
0596caf4 : 0000000000000000 fffffa80
0bf78050 fffffa800d52b700 fffffa80
103e6c10 : USBPORT!USBPORT_PdoInternalDeviceControlIrp+0x138
fffff88003117650 fffff880
072750aa : fffffa800a4e9010 00000000
00000000 fffffa800cd101b0 fffffa80
103e6c10 : USBPORT!USBPORT_Dispatch+0x1dc
fffff88003117690 fffff880
05ed2566 : fffffa800bf7a050 fffffa80
098db2a0 fffffa80103e6c10 fffffa80
098db3f0 : hcmon+0x30aa
fffff880031176e0 fffff880
05f02d8f : 0000000000000000 00000000
00000000 fffffa80098db2a0 0b061619
0e2d331c : usbhub!UsbhFdoUrbPdoFilter+0xde
fffff88003117710 fffff880
05ed0fb7 : fffffa80103e6c10 fffffa80
12b0b180 fffffa8012b0b030 fffffa80
10cb2c10 : usbhub!UsbhPdoInternalDeviceControl+0x373
fffff88003117760 fffff880
0a8a9f14 : 00000000000000ca fffffa80
103e6c10 fffffa800a4e90c0 00000000
000007ff : usbhub!UsbhGenDispatch+0x57
fffff88003117790 fffff880
0a8a787c : fffffa8012b0b1d8 00000000
00000000 fffffa80103e6c10 fffffa80
12b0b1d8 : GHI_NETMF_Interface+0x2f14
fffff880031177d0 fffff880
0a8a9d54 : fffffa8012b0b180 00000000
00000000 fffffa8012b0b030 00000000
000000ca : GHI_NETMF_Interface+0x87c
fffff88003117820 fffff800
036c75c1 : fffffa8010cb2dbb 00000000
00000050 0000000000000000 00000000
000007ff : GHI_NETMF_Interface+0x2d54
fffff88003117850 fffff880
05989c13 : 0000000000000000 fffffa80
0bb08000 fffffa800bb08050 00000000
00000000 : nt!IopfCompleteRequest+0x341
fffff88003117940 fffff880
05992e74 : fffffa8010cb2c10 fffffa80
0bf70009 fffffa8010cb2c10 fffffa80
0a4e9010 : USBPORT!USBPORT_ProcessURB+0x29f
STACK_COMMAND: kb
FOLLOWUP_IP:
GHI_NETMF_Interface+2df5
fffff880`0a8a9df5 4c8be0 mov r12,rax
SYMBOL_STACK_INDEX: 4
SYMBOL_NAME: GHI_NETMF_Interface+2df5
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: GHI_NETMF_Interface
IMAGE_NAME: GHI_NETMF_Interface.sys
DEBUG_FLR_IMAGE_TIMESTAMP: 4b0adff3
FAILURE_BUCKET_ID: X64_0x7f_8_GHI_NETMF_Interface+2df5
BUCKET_ID: X64_0x7f_8_GHI_NETMF_Interface+2df5
Followup: MachineOwner
---------
1: kd> lmvm GHI_NETMF_Interface
start end module name
fffff880`0a8a7000 fffff880`0a8adc00 GHI_NETMF_Interface (no symbols)
Loaded symbol image file: GHI_NETMF_Interface.sys
Image path: \SystemRoot\system32\DRIVERS\GHI_NETMF_Interface.sys
Image name: GHI_NETMF_Interface.sys
Timestamp: Tue Nov 24 06:18:11 2009 (4B0ADFF3)
CheckSum: 000133F2
ImageSize: 00006C00
Translations: 0000.04b0 0000.04e4 0409.04b0 0409.04e4