I am getting a crash when seding IRP to a disk object. It only happens when system memory is low and the action to trigger the crash is to open task manage->Resource Monitor. The device object is an PCI-E SSD device that has its own driver. Can someone tell me what is FsRtlIsPagingFile trying to check. The IRP is built by my driver so it is supposed to have nothing to do with paging request.
Probably caused by : fileinfo.sys ( fileinfo!FIPreReadWriteCallback+eb )
Followup: MachineOwner
7: kd> !analyze -v
****************************************************************************
***
*
*
* Bugcheck
Analysis *
*
*
****************************************************************************
***
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: ffffffffc0000005, The exception code that was not handled
Arg2: fffff80002109a00, The address that the exception occurred at
Arg3: fffff88011fa5658, Exception Record Address
Arg4: fffff88011fa4eb0, Context Record Address
Debugging Details:
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx
referenced memory at 0x%08lx. The memory could not be %s.
FAULTING_IP:
nt!FsRtlIsPagingFile+0
fffff800`02109a00 488b5118 mov rdx,qword ptr [rcx+18h]
EXCEPTION_RECORD: fffff88011fa5658 – (.exr 0xfffff88011fa5658)
ExceptionAddress: fffff80002109a00 (nt!FsRtlIsPagingFile)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 0000000000000018
Attempt to read from address 0000000000000018
CONTEXT: fffff88011fa4eb0 – (.cxr 0xfffff88011fa4eb0)
rax=fffff8000221c170 rbx=0000000000000000 rcx=0000000000000000
rdx=fffff88011fa59c8 rsi=fffffa80f37eddb0 rdi=0000000000000000
rip=fffff80002109a00 rsp=fffff88011fa5898 rbp=fffff88011fa59a0
r8=fffff88011fa59a0 r9=0000000000000000 r10=fffffa806d883010
r11=fffff88011fa5948 r12=0000000000000000 r13=0000000000000001
r14=fffffa804030dab0 r15=fffff88011fa5af0
iopl=0 nv up ei pl zr na po nc
cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b
efl=00010246
nt!FsRtlIsPagingFile:
fffff80002109a00 488b5118 mov rdx,qword ptr [rcx+18h] ds:002b:00000000
00000018=???
Resetting default scope
PROCESS_NAME: System
CURRENT_IRQL: 0
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced
memory at 0x%08lx. The memory could not be %s.
READ_ADDRESS: 0000000000000018
BUGCHECK_STR: 0x7E
DEFAULT_BUCKET_ID: NULL_CLASS_PTR_DEREFERENCE
LAST_CONTROL_TRANSFER: from fffff8800d9d8163 to fffff80002109a00
STACK_TEXT:
fffff88011fa5898 fffff880
0d9d8163 : fffffa800000a000 00001f80
00490220 0000000000000001 fffffa80
3f2543c8 : nt!FsRtlIsPagingFile
fffff88011fa58a0 fffff880
0154b067 : fffffa80f37ede50 00000000
00000000 00000000000000eb fffff880
04f9d390 :
fileinfo!FIPreReadWriteCallback+0xeb
fffff88011fa5950 fffff880
0154c329 : fffff88011fa5a00 fffffa80
6d883204 fffffa804051b000 fffff800
0201a801 :
fltmgr!FltpPerformPreCallbacks+0x2f7
fffff88011fa5a50 fffff880
0154a6c7 : fffffa806d883010 fffffa80
10896700 fffffa804051b040 fffff880
01c07e60 :
fltmgr!FltpPassThrough+0x2d9
fffff88011fa5ad0 fffff880
01c08123 : 0000000000000000 fffff880
02ce6618 0000000000000000 00000000
00000000 :
fltmgr!FltpDispatch+0xb7
fffff88011fa5b30 fffff880
01c08484 : fffffa806d883010 fffff880
02ce6618 fffff88002ce6660 fffff880
01cc5860 :
MyDriver!commit_request+0x233 [f:\autobuild\windev\windows\osio_win.c @ 1379]
fffff88011fa5bb0 fffff880
01c0884d : fffff88002ce6618 fffff800
0208474f
fffff88002cc65e0 fffff880
01c168f7 :
MyDriver!commit_request_range+0x34
[f:\autobuild\windev\windows\osio_win.c @ 1780]
fffff88011fa5c20 fffff880
01c0899a : 0000000000000000 00000000
00020000 0000000000000008 00000000
00000000 :
MyDriver!chunk_requests+0x1a1 [f:\autobuild\windev\windows\osio_win.c @ 1919]
fffff88011fa5c70 fffff880
01c08a04 : 0000000000000000 00000000
00000000 fffff88002dd2100 00000000
00000000 :
MyDriver!process_h+0x10e [f:\autobuild\windev\windows\osio_win.c @ 2018]
fffff88011fa5ca0 fffff880
01c08aa5 : fffffa802b7f31d0 00000000
00000080 fffff88001c08a70 0072006f
00660000 :
MyDriver!process_consolidation_queues+0x48
[f:\autobuild\windev\windows\osio_win.c @ 2030]
fffff88011fa5cd0 fffff880
01c06133 : fffffa802b7f31d0 ffffffff
ffff8ad0 fffff88001c08a70 00000000
00000000 :
MyDriver!consolidation_thread+0x35
[f:\autobuild\windev\windows\osio_win.c @ 2048]
fffff88011fa5d10 fffff800
02317fee : fffffa805e9a0b60 fffffa80
0ca74040 726ab04c72638e58 7263fef4
01b00c8c :
MyDriver!DriverThread+0x43 [f:\autobuild\windev\windows\osisr_win.c @ 1058]
fffff88011fa5d40 fffff800
0206e5e6 : fffff800021f2e80 fffffa80
5e9a0b60 fffff80002200cc0 0061004d
00200064 :
nt!PspSystemThreadStartup+0x5a
fffff88011fa5d80 00000000
00000000 : fffff88011fa6000 fffff880
11fa0000 fffff88011fa5a20 00000000
00000000 :
nt!KxStartSystemThread+0x16
FOLLOWUP_IP:
fileinfo!FIPreReadWriteCallback+eb
fffff880`0d9d8163 413bc4 cmp eax,r12d
SYMBOL_STACK_INDEX: 1
SYMBOL_NAME: fileinfo!FIPreReadWriteCallback+eb
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: fileinfo
IMAGE_NAME: fileinfo.sys
DEBUG_FLR_IMAGE_TIMESTAMP: 4a5bc481
STACK_COMMAND: .cxr 0xfffff88011fa4eb0 ; kb
FAILURE_BUCKET_ID: X64_0x7E_fileinfo!FIPreReadWriteCallback+eb
BUCKET_ID: X64_0x7E_fileinfo!FIPreReadWriteCallback+eb
Followup: MachineOwner