Hi,
I am working on an upper volume filter driver that monitors sector read/writes.
My problem is that the driver is working fine when tested on Windows 7 but when tested on Windows server 2008 standard edition the system crashes. I am also not able to debug my driver through windbg at startup, as soon as the OS loads a little bit the system crashes.
Below is the output of "!analyze -v" of windbg,
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
*** Fatal System Error: 0x00000050
(0x83A00000,0x00000001,0x81691085,0x00000000)
Break instruction exception - code 80000003 (first chance)
A fatal system error has occurred.
Debugger entered on first try; Bugcheck callbacks have not been invoked.
A fatal system error has occurred.
Connected to Windows Server 2008 x86 compatible target at (Tue Apr 23 13:09:19.842 2013 (UTC + 5:30)), ptr64 FALSE
Loading Kernel Symbols
..........................................
Loading User Symbols
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck 50, {83a00000, 1, 81691085, 0}
Probably caused by : ntkrpamp.exe ( nt!KiTrap0E+dc )
Followup: MachineOwner
nt!RtlpBreakWithStatusInstruction:
816f6514 cc int 3
kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced. This cannot be protected by try-except,
it must be protected by a Probe. Typically the address is just plain bad or it
is pointing at freed memory.
Arguments:
Arg1: 83a00000, memory referenced.
Arg2: 00000001, value 0 = read operation, 1 = write operation.
Arg3: 81691085, If non-zero, the instruction address which referenced the bad memory
address.
Arg4: 00000000, (reserved)
Debugging Details:
WRITE_ADDRESS: 83a00000
FAULTING_IP:
nt!memset+45
81691085 f3ab rep stos dword ptr es:[edi]
MM_INTERNAL_CODE: 0
DEFAULT_BUCKET_ID: INTEL_CPU_MICROCODE_ZERO
BUGCHECK_STR: 0x50
CURRENT_IRQL: 2
TRAP_FRAME: 81733a10 -- (.trap 0xffffffff81733a10)
ErrCode = 0000000b
eax=00000000 ebx=00000963 ecx=00000400 edx=00000000 esi=83a00000 edi=83a00000
eip=81691085 esp=81733a84 ebp=81733ab8 iopl=0 nv up ei pl nz na pe nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0010 efl=00210206
nt!memset+0x45:
81691085 f3ab rep stos dword ptr es:[edi]
Resetting default scope
LAST_CONTROL_TRANSFER: from 8170b2d7 to 816f6514
STACK_TEXT:
81733564 8170b2d7 00000003 3a33d3fa 00000000 nt!RtlpBreakWithStatusInstruction
817335b4 8170bdbd 00000003 00000000 00000000 nt!KiBugCheckDebugBreak+0x1c
81733980 816e3155 00000050 83a00000 00000001 nt!KeBugCheck2+0x66d
817339f8 81698bb4 00000001 83a00000 00000000 nt!MmAccessFault+0x10a
817339f8 81691085 00000001 83a00000 00000000 nt!KiTrap0E+0xdc
81733a84 81986164 83a00000 00000000 00001000 nt!memset+0x45
81733ab8 81985d95 83a00000 00000000 00001000 nt!MxMapVa+0x1f9
81733ae4 81992069 c041d000 00000000 00000001 nt!MiCreateSparsePfnDatabase+0xc5
81733b04 81991236 8081156c 00000000 8081156c nt!MiCreatePfnDatabase+0x1c1
81733b4c 8199b19f 8081156c 0000bb40 81733cf0 nt!MmInitNucleus+0x1b7
81733b5c 8198a867 00000000 00000000 8173a640 nt!MmInitSystem+0x12
81733cf0 81907e73 8081156c 3a33db72 827fec00 nt!InitBootProcessor+0x27f
81733d3c 8172a7c9 8173a900 8173a640 81734000 nt!KiInitializeKernel+0x65b
00000000 00000000 00000000 00000000 00000000 nt!KiSystemStartup+0x319
STACK_COMMAND: kb
FOLLOWUP_IP:
nt!KiTrap0E+dc
81698bb4 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: 47918b12
FAILURE_BUCKET_ID: 0x50_nt!KiTrap0E+dc
BUCKET_ID: 0x50_nt!KiTrap0E+dc
Followup: MachineOwner
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Any kind of suggestion will be appreciated.
Thanks in advance.