B
Boomi.s
Guest
Hi All,
I am trying to unlock pages described by a MDL. When calling the function MmUnlockPages, i got the BSOD PFN_LIST_CORRUPT. The Arg1 says it is still locked for IO so MmUnlockPages call is basically trying to unlock before freeing the MDL. Then why the BSOD occurs? If we are freeing the pages before unlocking then it is wrong. But here I am trying to unlock before freeing it but still observing BSOD.
-----------------------------
PFN_LIST_CORRUPT (4e)
Typically caused by drivers passing bad memory descriptor lists (ie: calling
MmUnlockPages twice with the same list, etc). If a kernel debugger is
available get the stack trace.
Arguments:
Arg1: 000000000000009a, ===>** A driver attempted to free a page that is still locked for IO. **
Arg2: 00000000005fe6e6
Arg3: 0000000000000000
Arg4: 0000000000000000
Thanks,
Boomi
Continue reading...
I am trying to unlock pages described by a MDL. When calling the function MmUnlockPages, i got the BSOD PFN_LIST_CORRUPT. The Arg1 says it is still locked for IO so MmUnlockPages call is basically trying to unlock before freeing the MDL. Then why the BSOD occurs? If we are freeing the pages before unlocking then it is wrong. But here I am trying to unlock before freeing it but still observing BSOD.
-----------------------------
PFN_LIST_CORRUPT (4e)
Typically caused by drivers passing bad memory descriptor lists (ie: calling
MmUnlockPages twice with the same list, etc). If a kernel debugger is
available get the stack trace.
Arguments:
Arg1: 000000000000009a, ===>** A driver attempted to free a page that is still locked for IO. **
Arg2: 00000000005fe6e6
Arg3: 0000000000000000
Arg4: 0000000000000000
Thanks,
Boomi
Continue reading...