I am trying to track down what exactly is causing a driver crash I am getting. I most likely has something to do with the WdfMemoryCreate call. Running my application, I can cause the crash to happen in seconds. If I turn on the verifier on, it runs without crashing (it ran for over 12 hours). I am not sure how to go about finding what in my driver is causing this crash.
Here is the crash info:
*** Fatal System Error: 0x0000001a
(0x00041287,0x00000080,0x00000000,0x00000000)
Break instruction exception - code 80000003 (first chance)
2: kd> !analyze -v
Connected to Windows 7 7601 x86 compatible target at (Wed Feb 25 07:59:37.179 2015 (UTC - 5:00)), ptr64 FALSE
Loading Kernel Symbols
…
Press ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.
Run !sym noisy before .reload to track down problems loading symbols.
…
…
…
Loading User Symbols
…
Press ctrl-c (cdb, kd, ntsd) or ctrl-break (windbg) to abort symbol loads that take too long.
Run !sym noisy before .reload to track down problems loading symbols.
…
…
Loading unloaded module list
…
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
MEMORY_MANAGEMENT (1a)
Any other values for parameter 1 must be individually examined.
Arguments:
Arg1: 00041287, An illegal page fault occurred while holding working set synchronization.
Parameter 2 contains the referenced virtual address.
Arg2: 00000080
Arg3: 00000000
Arg4: 00000000
Debugging Details:
BUGCHECK_STR: 0x1a_41287
DEFAULT_BUCKET_ID: WIN7_DRIVER_FAULT
PROCESS_NAME: svchost.exe
CURRENT_IRQL: 2
ANALYSIS_VERSION: 6.3.9600.17298 (debuggers(dbg).141024-1500) x86fre
TRAP_FRAME: 8cdc378c – (.trap 0xffffffff8cdc378c)
ErrCode = 00000000
eax=00000080 ebx=00001000 ecx=00020007 edx=00020008 esi=00000000 edi=00000001
eip=82651e1d esp=8cdc3800 ebp=82745308 iopl=0 nv up ei pl nz na po nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000 efl=00010202
nt!ExpInterlockedPopEntrySListFault:
82651e1d 8b18 mov ebx,dword ptr [eax] ds:0023:00000080=???
Resetting default scope
LAST_CONTROL_TRANSFER: from 826ef083 to 8268b110
STACK_TEXT:
8cdc32d4 826ef083 00000003 215bc59c 00000065 nt!RtlpBreakWithStatusInstruction
8cdc3324 826efb81 00000003 84c177f8 86542030 nt!KiBugCheckDebugBreak+0x1c
8cdc36e8 8269e41b 0000001a 00041287 00000080 nt!KeBugCheck2+0x68b
8cdc3774 826513d8 00000000 00000080 00000000 nt!MmAccessFault+0x106
8cdc3774 82651e1d 00000000 00000080 00000000 nt!KiTrap0E+0xdc
8cdc3808 827304df 00000000 82747940 00001000 nt!ExpInterlockedPopEntrySListFault
8cdc3868 826ab674 00000000 00001000 00000ff0 nt!MiAllocatePoolPages+0x77
8cdc38c0 82731132 00000000 00000000 00001000 nt!ExpAllocateBigPool+0xa6
8cdc3924 826adae4 00000000 00001000 63416d4d nt!ExAllocatePoolWithTag+0x12d
8cdc3948 82695b87 c03a54b8 83e7a1c0 c0803a9c nt!MiAllocateAccessLog+0x9b
8cdc3994 826957ff c03a54b8 86542220 8cdc3b74 nt!MiLogPageAccess+0x40
8cdc3b10 8269094b 86542220 00000001 00000001 nt!MiAgeWorkingSet+0x251
8cdc3b5c 82690610 00000002 00000001 00000000 nt!MiProcessWorkingSets+0x25b
8cdc3b88 82688f2f 00000000 84c177f8 00000000 nt!MmWorkingSetManager+0xa4
8cdc3c50 82819f5e 00000000 215bca28 00000000 nt!KeBalanceSetManager+0x1af
8cdc3c90 826c1219 82688d80 00000000 00000000 nt!PspSystemThreadStartup+0x9e
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x19
STACK_COMMAND: kb
FOLLOWUP_IP:
nt!KiTrap0E+dc
826513d8 85c0 test eax,eax
SYMBOL_STACK_INDEX: 4
SYMBOL_NAME: nt!KiTrap0E+dc
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: nt
IMAGE_NAME: ntkrpamp.exe
DEBUG_FLR_IMAGE_TIMESTAMP: 4ce78a09
IMAGE_VERSION: 6.1.7601.17514
FAILURE_BUCKET_ID: 0x1a_41287_nt!KiTrap0E+dc
BUCKET_ID: 0x1a_41287_nt!KiTrap0E+dc
ANALYSIS_SOURCE: KM
FAILURE_ID_HASH_STRING: km:0x1a_41287_nt!kitrap0e+dc
FAILURE_ID_HASH: {227501d2-d717-b436-e1dc-63914ef7b2fa}