Hi,
I have been getting a bugcheck SYSTEM_SERVICE_EXCEPTION while assigning &
removing mountpoints to a volume( which is exposed by my class driver ).
This is happening only on Windows 2008 R2. The stack always shows Mount
Manager as the faulty driver and the bugcheck happens at the same
point( mountmgr!MountMgrQueryVolumePaths+0x4ca
) every time.
Is it a known issue in mountmgr.sys in Windows 2k8 R2, or the underlying
class driver is doing something wrong?Here is the information from the
!analyze.
SYSTEM_SERVICE_EXCEPTION (3b)
An exception happened while executing a system service routine.
Arguments:
Arg1: 00000000c0000005, Exception code that caused the bugcheck
Arg2: fffff88000c133a6, Address of the exception record for the
exception that caused the bugcheck
Arg3: fffff88005ef0d40, Address of the context record for the
exception that caused the bugcheck
Arg4: 0000000000000000, zero.
Debugging Details:
PEB is paged out (Peb.Ldr = 000007fffffd7018). Type ".hh dbgerr001" for details PEB is paged out (Peb.Ldr = 000007fffffd7018). Type ".hh dbgerr001"
for details
EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx"
referenced memory at "0x%08lx". The memory could not be "%s".
FAULTING_IP:
mountmgr!MountMgrQueryVolumePaths+4ca
fffff880`00c133a6 0fb74818 movzx ecx,word ptr [rax+18h]
...
...
LAST_CONTROL_TRANSFER: from fffff88000c136c3 to fffff88000c133a6
STACK_TEXT:
fffff88005ef1720 fffff88000c136c3 : fffffa80045a1c10 fffff8a005f62ae0 fffff88005ef1828 fffff88005ef1820 :
mountmgr!MountMgrQueryVolumePaths+0x4ca
fffff88005ef17f0 fffff88000c14afc : fffff9800e31eee0 fffff80000000000 0000000000000000 fffff8a005f62ae0 :
mountmgr!MountMgrQueryDosVolumePaths+0x187
fffff88005ef18a0 fffff80001b2ac16 : fffff9800e31eee0 fffff9800e31eee0 0000000000000002 fffffa800380c718 :
mountmgr!MountMgrDeviceControl+0x170
fffff88005ef1970 fffff8000199d3a7 : fffffa8004c79f20 fffff88005ef1c60 fffffa8004c79f20 fffffa8005935ba0 :
nt!IovCallDriver+0x566
fffff88005ef19d0 fffff8000199dc06 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 :
nt!IopXxxControlFile+0x607
fffff88005ef1b00 fffff80001684153 : fffff8a004d3a000 fffff8a00683c000 fffff8a002d75000 fffff8a0062de000 :
nt!NtDeviceIoControlFile+0x56
fffff88005ef1b70 000000007756ff2a : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 :
nt!KiSystemServiceCopyEnd+0x13
00000000011af3e8 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : 0x7756ff2a
Thanks
-Nitesh