!analyze -v output is as follows
0: kd> !analyze -v
*******************************************************************************
*
*
* Bugcheck Analysis
*
*
*
*******************************************************************************
SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD (d4)
A driver unloaded without cancelling lookaside lists, DPCs, worker threads,
etc.
The broken driver’s name is displayed on the screen.
When possible, the guilty driver’s name (Unicode string) is printed on
the bugcheck screen and saved in KiBugCheckDriver.
An attempt was made to access the driver at raised IRQL after it unloaded.
If kernel debugger is available get stack backtrace.
Arguments:
Arg1: fffff8800159f1d0, memory referenced
Arg2: 0000000000000002, IRQL
Arg3: 0000000000000001, value 0 = read operation, 1 = write operation
Arg4: fffff80002ab03e1, address which referenced memory
Debugging Details:
FAULTING_IP:
MyMiniFilterDriver+b1d0
fffff880`0159f1d0 ?? ???
DEFAULT_BUCKET_ID: WIN7_DRIVER_FAULT
BUGCHECK_STR: 0xD4
PROCESS_NAME: System
CURRENT_IRQL: 2
ANALYSIS_VERSION: 6.3.9600.17237 (debuggers(dbg).140716-0327) amd64fre
STACK_TEXT:
fffff880028a0d48 fffff800
02bb9d92 : fffff8800159f1d0 fffffa80
0eadcb60
0000000000000065 fffff800
02b0e178 : nt!RtlpBreakWithStatusInstruction
fffff880028a0d50 fffff800
02bbab7e : 0000000000000003 00000000
00000000
fffff80002b0ea20 fffff880
028a13b0 : nt!KiBugCheckDebugBreak+0x12
fffff880028a0db0 fffff800
02ad2744 : 0000000000000000 abd00000
26b3c882
fffffa80000a0600 fffff800
02a7c790 : nt!KeBugCheck2+0x71e
fffff880028a1480 fffff800
02ad1be9 : 000000000000000a fffff880
0159f1d0
0000000000000002 00000000
00000001 : nt!KeBugCheckEx+0x104
fffff880028a14c0 fffff800
02ad0860 : fffff6fc50000a38 00000980
00000000
0000007ffffffff8 fffffa80
0edf3aa8 : nt!KiBugCheckDispatch+0x69
fffff880028a1600 fffff800
02ab03e1 : 0000000000000000 00000000
00000000
0000000000000000 00000000
00000000 : nt!KiPageFault+0x260
fffff880028a1790 fffff880
01235e70 : fffffa800edf39c0 fffff800
02c6f600
fffffa800edf39c0 fffffa80
0ed53180 : nt!ExDeleteResourceLite+0xd1
fffff880028a17f0 fffff880
012b91ce : fffff880028a18b0 fffff800
02c6f600
fffffa800edf39c0 fffffa80
0fb90e40 : Ntfs!NtfsFreeNonpagedDataFcb+0x20
fffff880028a1820 fffff880
01235972 : fffff80002c6f600 fffff880
028a1a01
fffff880028a18a1 fffff8a0
005bd2f0 : Ntfs!NtfsDeleteFcb+0x3be
fffff880028a1880 fffff880
012bb63c : fffffa800fb90e40 fffffa80
0ed53180
fffff8a0005bd2f0 fffff8a0
005bd688 : Ntfs!NtfsTeardownFromLcb+0x1e2
fffff880028a1910 fffff880
0123d0e2 : fffffa800fb90e40 fffffa80
0fb90e40
fffff8a0005bd2f0 00000000
00000000 : Ntfs!NtfsTeardownStructures+0xcc
fffff880028a1990 fffff880
012cb193 : fffffa800fb90e40 fffff800
02c6f600
fffff8a0005bd2f0 00000000
00000009 : Ntfs!NtfsDecrementCloseCounts+0xa2
fffff880028a19d0 fffff880
012ba357 : fffffa800fb90e40 fffff8a0
005bd420
fffff8a0005bd2f0 fffffa80
0ed53180 : Ntfs!NtfsCommonClose+0x353
fffff880028a1aa0 fffff800
02adca21 : 0000000000000000 fffff800
02dc8f00
fffff80002cd1101 fffffa80
00000002 : Ntfs!NtfsFspClose+0x15f
fffff880028a1b70 fffff800
02d6fcce : fffffa8000000001 fffffa80
0eadcb60
0000000000000080 fffffa80
0cd5f040 : nt!ExpWorkerThread+0x111
fffff880028a1c00 fffff800
02ac3fe6 : fffff880009ea180 fffffa80
0eadcb60
fffffa800f236060 fffff880
01241384 : nt!PspSystemThreadStartup+0x5a
fffff880028a1c40 00000000
00000000 : fffff880028a2000 fffff880
0289c000
fffff880028a1000 00000000
00000000 : nt!KiStartSystemThread+0x16
STACK_COMMAND: .bugcheck ; kb
FOLLOWUP_IP:
MyMiniFilterDriver+b1d0
fffff880`0159f1d0 ?? ???
SYMBOL_NAME: MyMiniFilterDriver+b1d0
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: MyMiniFilterDriver
IMAGE_NAME: MyMiniFilterDriver.sys
DEBUG_FLR_IMAGE_TIMESTAMP: 0
FAILURE_BUCKET_ID: X64_0xD4_VRF_UNLOADED_MODULE_MyMiniFilterDriver+b1d0
BUCKET_ID: X64_0xD4_VRF_UNLOADED_MODULE_MyMiniFilterDriver+b1d0
ANALYSIS_SOURCE: KM
FAILURE_ID_HASH_STRING:
km:x64_0xd4_vrf_unloaded_module_MyMiniFilterDriver+b1d0
FAILURE_ID_HASH: {b4c71f67-fcc9-dd7c-498c-b8a89e2ce0db}
Followup: MachineOwner
On Thu, Dec 3, 2015 at 8:02 PM, Scott Noone wrote:
> You need to post the !analyze –v output if anyone is going to have a
> chance of helping you.
>
> -scott
> OSR
> @OSRDrivers
>
> “Madhusudhana Narayanappa” wrote in
> message news:xxxxx@ntdev…
>
> Hi,
> I am getting this bug check
> 0xD4(SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD) while
> uninstalling the driver. This driver is a minifilter.
>
> This never occurred until recent changes where I fixed IRQL issues caught
> by driver verifier. The changes are as below.
>
> 1. Handling post create operation at passive level by creating workitem
> when IRQL>=DISPATCH_LEVEL
> 2. Changing the reader write locks from SpinLock to ResourceLite lock
> since prefix table APIs were use while lock is acquired.
> 3. Disabling APCs while using resource locks`
>
> Any clue how I can debug this issue.
>
>
> regards,
> Madhusudhana
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list online at: <
> http://www.osronline.com/showlists.cfm?list=ntdev>
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at <
> http://www.osronline.com/page.cfm?name=ListServer>
></http:>