This is filter manager verifier breaking into the debugger because you
have a leaked resource somewhere. There should be a message in the
debugger telling you what command to use to get more information about
what you have leaked.
If you cannot find that use: "!fltkd.filter
8 1"
Regards,
Sarosh.
File System Filter Lead
Microsoft Corp
This posting is provided "AS IS" with no warranties, and confers no Rights
xxxxx@hotmail.com wrote:
> Thanks for your replies,
>
> In short, I'd like to trace back the bug in my code related to dangling references. I'm simply using free build of Vista and Driver verifier with I/O verification turned on. As I described in my OP, I don't receive FILTER VERIFIER ERROR bugcheck during minifilter unload, which I need to start debugging. And that's the problem I've got and the point of discussion in this thread.
>
> It seems like I don't know what everybody knows. What are the testing environment you guys have? Vista checked build? (If so, could you tell me how to set it up properly? None of the descriptions I found on the web doesn't seem to work...) My minifilter crashes about 20 sec after 'fltmc unload mydriver' got executed.
>
> Any suggestions will be appreciated.
> I'm attaching the stack trace (which I think isn't useful at all). Remember I'm just debugging locally (no firewire, usb, etc) investigating local memory dump.
>
> Regards,
> Sean Park
>
> SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (7e)
> This is a very common bugcheck. Usually the exception address pinpoints
> the driver/function that caused the problem. Always note this address
> as well as the link date of the driver/image that contains this address.
> Arguments:
> Arg1: 80000003, The exception code that was not handled
> Arg2: 81f12855, The address that the exception occurred at
> Arg3: 853659b0, Exception Record Address
> Arg4: 853656ac, Context Record Address
>
> Debugging Details:
> ------------------
>
>
> EXCEPTION_CODE: (HRESULT) 0x80000003 (2147483651) - One or more arguments are invalid
>
> FAULTING_IP:
> nt!DbgPrompt+46
> 81f12855 cc int 3
>
> EXCEPTION_RECORD: 853659b0 -- (.exr 0xffffffff853659b0)
> ExceptionAddress: 81f12855 (nt!DbgPrompt+0x00000046)
> ExceptionCode: 80000003 (Break instruction exception)
> ExceptionFlags: 00000000
> NumberParameters: 3
> Parameter[0]: 00000002
> Parameter[1]: 8295c060
> Parameter[2]: 0000001f
>
> CONTEXT: 853656ac -- (.cxr 0xffffffff853656ac)
> eax=00000002 ebx=85365ab4 ecx=8295c060 edx=0000001f esi=8295c061 edi=00000002
> eip=81f12855 esp=85365a78 ebp=85365a94 iopl=0 nv up ei pl nz ac po nc
> cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000212
> nt!DbgPrompt+0x46:
> 81f12855 cc int 3
> Resetting default scope
>
> DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT
>
> BUGCHECK_STR: 0x7E
>
> PROCESS_NAME: System
>
> CURRENT_IRQL: 0
>
> ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint has been reached.
>
> EXCEPTION_PARAMETER1: 00000002
>
> EXCEPTION_PARAMETER2: 8295c060
>
> EXCEPTION_PARAMETER3: 0000001f
>
> LAST_CONTROL_TRANSFER: from 8295ad65 to 81f12855
>
> STACK_TEXT:
> 85365a94 8295ad65 8295c060 85365ab4 00000002 nt!DbgPrompt+0x46
> 85365cc0 8295b2c5 00000029 891172b8 90defb20 fltmgr!FltpvPrintErrors+0xeb
> 85365d44 81e6e445 85361b18 00000000 840e5580 fltmgr!FltpvDoLostObjectCheck+0x14d
> 85365d7c 8200bb18 85361b18 c11f9a68 00000000 nt!ExpWorkerThread+0xfd
> 85365dc0 81e64a2e 81e6e348 00000001 00000000 nt!PspSystemThreadStartup+0x9d
> 00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16
>
>
> FOLLOWUP_IP:
> nt!DbgPrompt+46
> 81f12855 cc int 3
>
> SYMBOL_STACK_INDEX: 0
>
> SYMBOL_NAME: nt!DbgPrompt+46
>
> FOLLOWUP_NAME: MachineOwner
>
> MODULE_NAME: nt
>
> IMAGE_NAME: ntkrpamp.exe
>
> DEBUG_FLR_IMAGE_TIMESTAMP: 48d1b7fa
>
> STACK_COMMAND: .cxr 0xffffffff853656ac ; kb
>
> FAILURE_BUCKET_ID: 0x7E_VRF_nt!DbgPrompt+46
>
> BUCKET_ID: 0x7E_VRF_nt!DbgPrompt+46
>
> Followup: MachineOwner
> ---------
>
> 0: kd> .exr 0xffffffff853659b0
> ExceptionAddress: 81f12855 (nt!DbgPrompt+0x00000046)
> ExceptionCode: 80000003 (Break instruction exception)
> ExceptionFlags: 00000000
> NumberParameters: 3
> Parameter[0]: 00000002
> Parameter[1]: 8295c060
> Parameter[2]: 0000001f
> 0: kd> .cxr 0xffffffff853656ac
> eax=00000002 ebx=85365ab4 ecx=8295c060 edx=0000001f esi=8295c061 edi=00000002
> eip=81f12855 esp=85365a78 ebp=85365a94 iopl=0 nv up ei pl nz ac po nc
> cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000212
> nt!DbgPrompt+0x46:
> 81f12855 cc int 3
> 0: kd> .cxr 0xffffffff853656ac ; kb
> eax=00000002 ebx=85365ab4 ecx=8295c060 edx=0000001f esi=8295c061 edi=00000002
> eip=81f12855 esp=85365a78 ebp=85365a94 iopl=0 nv up ei pl nz ac po nc
> cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00000212
> nt!DbgPrompt+0x46:
> 81f12855 cc int 3
> *** Stack trace for last set context - .thread/.cxr resets it
> ChildEBP RetAddr Args to Child
> 85365a94 8295ad65 8295c060 85365ab4 00000002 nt!DbgPrompt+0x46
> 85365cc0 8295b2c5 00000029 891172b8 90defb20 fltmgr!FltpvPrintErrors+0xeb
> 85365d44 81e6e445 85361b18 00000000 840e5580 fltmgr!FltpvDoLostObjectCheck+0x14d
> 85365d7c 8200bb18 85361b18 c11f9a68 00000000 nt!ExpWorkerThread+0xfd
> 85365dc0 81e64a2e 81e6e348 00000001 00000000 nt!PspSystemThreadStartup+0x9d
> 00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16
>