C:\Documents and Settings\Administrator\Desktop\Test>kmtest_ ZwAllocateVirtualMemory ZwAllocateVirtualMemory.c:122: Test failed: Status = 0xc00000f0, expected 0xc00000a0 ZwAllocateVirtualMemory.c:322: Finished reserving. Error code c0000017. Chunks allocated: 403 ZwAllocateVirtualMemory.c:322: Finished reserving. Error code c000012d. Chunks allocated: 228 ZwAllocateVirtualMemory.c:382: [SYSTEM THREAD 1]. Error code 0. Chunks allocated: 1024 ZwAllocateVirtualMemory.c:382: [SYSTEM THREAD 2]. Error code c000012d. Chunks allocated: 380 ZwAllocateVirtualMemory: 688 tests executed (0 marked as todo, 1 failures), 0 skipped. --------------------------- Windows - Virtual Memory Minimum Too Low --------------------------- Your system is low on virtual memory. Windows is increasing the size of your virtual memory paging file. During this process, memory requests for some applications may be denied. For more information, see Help. --------------------------- OK --------------------------- ^well I guess that's okay to happen with this test... C:\Documents and Settings\Administrator\Desktop\Test>kmtest_ ZwCreateSection ZwCreateSection.c:432: Test failed: Status = 0xc0000040, expected 0x00000000 ZwCreateSection.c:436: Test failed: Status = 0xc0000040, expected 0x00000000 ZwCreateSection.c:440: Test failed: Status = 0xc0000040, expected 0x00000000 ZwCreateSection: 286 tests executed (0 marked as todo, 3 failures), 0 skipped. C:\Documents and Settings\Administrator\Desktop\Test>kmtest_ ZwMapViewOfSection ZwMapViewOfSection.c:465: Test failed: NtQueryTest->MemInfo.State = 0x00001000, expected 0x00002000 ZwMapViewOfSection: 133 tests executed (0 marked as todo, 1 failures), 0 skipped. ========= |Checked| ========= (seems the same except for 100 tests less. I assume this is due to fewer "chunks allocated") C:\Documents and Settings\Administrator\Desktop\Test>kmtest_ ZwAllocateVirtualMemory ZwAllocateVirtualMemory.c:122: Test failed: Status = 0xc00000f0, expected 0xc00000a0 ZwAllocateVirtualMemory.c:322: Finished reserving. Error code c0000017. Chunks allocated: 403 ZwAllocateVirtualMemory.c:322: Finished reserving. Error code c000012d. Chunks allocated: 221 ZwAllocateVirtualMemory.c:382: [SYSTEM THREAD 1]. Error code 0. Chunks allocated: 1024 ZwAllocateVirtualMemory.c:382: [SYSTEM THREAD 2]. Error code c000012d. Chunks allocated: 47 ZwAllocateVirtualMemory: 588 tests executed (0 marked as todo, 1 failures), 0 skipped. (ZwCreateSection same as free build) C:\Documents and Settings\Administrator\Desktop\Test>kmtest_ ZwCreateSection ZwCreateSection.c:432: Test failed: Status = 0xc0000040, expected 0x00000000 ZwCreateSection.c:436: Test failed: Status = 0xc0000040, expected 0x00000000 ZwCreateSection.c:440: Test failed: Status = 0xc0000040, expected 0x00000000 ZwCreateSection: 286 tests executed (0 marked as todo, 3 failures), 0 skipped. (ZwMapViewOfSection same as free build) C:\Documents and Settings\Administrator\Desktop\Test>kmtest_ ZwMapViewOfSection ZwMapViewOfSection.c:465: Test failed: NtQueryTest->MemInfo.State = 0x00001000, expected 0x00002000 ZwMapViewOfSection: 133 tests executed (0 marked as todo, 1 failures), 0 skipped. ==================== |Assertion failures| ==================== (..\..\modules\rostests\kmtests\kmtest_drv\kmtest_drv.c:368) DriverIoControl. Starting test ZwAllocateVirtualMemory *** Assertion failed: (Win32Protect & (PAGE_GUARD|PAGE_NOACCESS)) == 0 *** Source File: d:\srvrtm\base\ntos\mm\mmsup.c, line 300 Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread (boipt)? b b Execute '.cxr F7E7E678' to dump context Break instruction exception - code 80000003 (first chance) nt!DbgBreakPoint: 811507a8 cc int 3 kd> kP ChildEBP RetAddr f7e7e660 811529f6 nt!DbgBreakPoint f7e7e948 810cf4ef nt!RtlAssert+0xba f7e7e968 8108cc1a nt!MiMakeProtectionMask+0xb1 f7e7eadc 8116fdb5 nt!NtAllocateVirtualMemory+0xac f7e7eadc 81043885 nt!KiFastCallEntry+0x135 f7e7eb6c f5e08f57 nt!ZwAllocateVirtualMemory+0x11 f7e7eb98 f5e07969 kmtest_drv!SimpleErrorChecks(void)+0x1557 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 159] f7e7eba4 f5dcaf80 kmtest_drv!Test_ZwAllocateVirtualMemory(void)+0x9 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 499] f7e7ec30 81029e2c kmtest_drv!DriverIoControl( struct _DEVICE_OBJECT * DeviceObject = 0x81f45a90, struct _IRP * Irp = 0x82431738)+0x2e0 [c:\ros\reactos\modules\rostests\kmtests\kmtest_drv\kmtest_drv.c @ 370] f7e7ec4c 813033e7 nt!IofCallDriver+0x64 f7e7ec60 813043d1 nt!IopSynchronousServiceTail+0x1f3 f7e7ed00 812f9874 nt!IopXxxControlFile+0x663 f7e7ed34 8116fdb5 nt!NtDeviceIoControlFile+0x2a f7e7ed34 7c82ed64 nt!KiFastCallEntry+0x135 00dafe40 7c8213d4 ntdll!KiFastSystemCallRet 00dafe44 77e416f5 ntdll!ZwDeviceIoControlFile+0xc 00dafea8 0040293f kernel32!DeviceIoControl+0x137 00dafedc 00401d20 kmtest_!KmtRunKernelTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0x4f [c:\ros\reactos\modules\rostests\kmtests\kmtest\support.c @ 101] 00dafef4 004018c8 kmtest_!RunTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0xe0 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 281] 00daff1c 004086b5 kmtest_!main( int ArgCount = 2, char ** Arguments = 0x00212470)+0x258 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 366] 00daffb4 0040842f kmtest_!__tmainCRTStartup(void)+0x245 [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 310] 00daffc0 77e523dd kmtest_!WinMainCRTStartup(void)+0x1f [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 168] 00dafff0 00000000 kernel32!BaseProcessStart+0x23 kd> g *** Assertion failed: (Win32Protect & (PAGE_GUARD|PAGE_NOACCESS)) == 0 *** Source File: d:\srvrtm\base\ntos\mm\mmsup.c, line 300 Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread (boipt)? b b Execute '.cxr F7E7E678' to dump context Break instruction exception - code 80000003 (first chance) nt!DbgBreakPoint: 811507a8 cc int 3 kd> kP ChildEBP RetAddr f7e7e660 811529f6 nt!DbgBreakPoint f7e7e948 810cf4ef nt!RtlAssert+0xba f7e7e968 8108cc1a nt!MiMakeProtectionMask+0xb1 f7e7eadc 8116fdb5 nt!NtAllocateVirtualMemory+0xac f7e7eadc 81043885 nt!KiFastCallEntry+0x135 f7e7eb6c f5e08f57 nt!ZwAllocateVirtualMemory+0x11 f7e7eb98 f5e07969 kmtest_drv!SimpleErrorChecks(void)+0x1557 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 159] f7e7eba4 f5dcaf80 kmtest_drv!Test_ZwAllocateVirtualMemory(void)+0x9 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 499] f7e7ec30 81029e2c kmtest_drv!DriverIoControl( struct _DEVICE_OBJECT * DeviceObject = 0x81f45a90, struct _IRP * Irp = 0x82431738)+0x2e0 [c:\ros\reactos\modules\rostests\kmtests\kmtest_drv\kmtest_drv.c @ 370] f7e7ec4c 813033e7 nt!IofCallDriver+0x64 f7e7ec60 813043d1 nt!IopSynchronousServiceTail+0x1f3 f7e7ed00 812f9874 nt!IopXxxControlFile+0x663 f7e7ed34 8116fdb5 nt!NtDeviceIoControlFile+0x2a f7e7ed34 7c82ed64 nt!KiFastCallEntry+0x135 00dafe40 7c8213d4 ntdll!KiFastSystemCallRet 00dafe44 77e416f5 ntdll!ZwDeviceIoControlFile+0xc 00dafea8 0040293f kernel32!DeviceIoControl+0x137 00dafedc 00401d20 kmtest_!KmtRunKernelTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0x4f [c:\ros\reactos\modules\rostests\kmtests\kmtest\support.c @ 101] 00dafef4 004018c8 kmtest_!RunTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0xe0 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 281] 00daff1c 004086b5 kmtest_!main( int ArgCount = 2, char ** Arguments = 0x00212470)+0x258 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 366] 00daffb4 0040842f kmtest_!__tmainCRTStartup(void)+0x245 [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 310] 00daffc0 77e523dd kmtest_!WinMainCRTStartup(void)+0x1f [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 168] 00dafff0 00000000 kernel32!BaseProcessStart+0x23 kd> g *** Assertion failed: (Win32Protect & (PAGE_GUARD|PAGE_NOACCESS)) == 0 *** Source File: d:\srvrtm\base\ntos\mm\mmsup.c, line 300 Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread (boipt)? b b Execute '.cxr F7E7E678' to dump context Break instruction exception - code 80000003 (first chance) nt!DbgBreakPoint: 811507a8 cc int 3 kd> kP ChildEBP RetAddr f7e7e660 811529f6 nt!DbgBreakPoint f7e7e948 810cf4ef nt!RtlAssert+0xba f7e7e968 8108cc1a nt!MiMakeProtectionMask+0xb1 f7e7eadc 8116fdb5 nt!NtAllocateVirtualMemory+0xac f7e7eadc 81043885 nt!KiFastCallEntry+0x135 f7e7eb6c f5e08f57 nt!ZwAllocateVirtualMemory+0x11 f7e7eb98 f5e07969 kmtest_drv!SimpleErrorChecks(void)+0x1557 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 159] f7e7eba4 f5dcaf80 kmtest_drv!Test_ZwAllocateVirtualMemory(void)+0x9 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 499] f7e7ec30 81029e2c kmtest_drv!DriverIoControl( struct _DEVICE_OBJECT * DeviceObject = 0x81f45a90, struct _IRP * Irp = 0x82431738)+0x2e0 [c:\ros\reactos\modules\rostests\kmtests\kmtest_drv\kmtest_drv.c @ 370] f7e7ec4c 813033e7 nt!IofCallDriver+0x64 f7e7ec60 813043d1 nt!IopSynchronousServiceTail+0x1f3 f7e7ed00 812f9874 nt!IopXxxControlFile+0x663 f7e7ed34 8116fdb5 nt!NtDeviceIoControlFile+0x2a f7e7ed34 7c82ed64 nt!KiFastCallEntry+0x135 00dafe40 7c8213d4 ntdll!KiFastSystemCallRet 00dafe44 77e416f5 ntdll!ZwDeviceIoControlFile+0xc 00dafea8 0040293f kernel32!DeviceIoControl+0x137 00dafedc 00401d20 kmtest_!KmtRunKernelTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0x4f [c:\ros\reactos\modules\rostests\kmtests\kmtest\support.c @ 101] 00dafef4 004018c8 kmtest_!RunTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0xe0 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 281] 00daff1c 004086b5 kmtest_!main( int ArgCount = 2, char ** Arguments = 0x00212470)+0x258 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 366] 00daffb4 0040842f kmtest_!__tmainCRTStartup(void)+0x245 [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 310] 00daffc0 77e523dd kmtest_!WinMainCRTStartup(void)+0x1f [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 168] 00dafff0 00000000 kernel32!BaseProcessStart+0x23 kd> g *** Assertion failed: (Win32Protect & (PAGE_GUARD|PAGE_NOACCESS)) == 0 *** Source File: d:\srvrtm\base\ntos\mm\mmsup.c, line 300 Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread (boipt)? b b Execute '.cxr F7E7E678' to dump context Break instruction exception - code 80000003 (first chance) nt!DbgBreakPoint: 811507a8 cc int 3 kd> kP ChildEBP RetAddr f7e7e660 811529f6 nt!DbgBreakPoint f7e7e948 810cf4ef nt!RtlAssert+0xba f7e7e968 8108cc1a nt!MiMakeProtectionMask+0xb1 f7e7eadc 8116fdb5 nt!NtAllocateVirtualMemory+0xac f7e7eadc 81043885 nt!KiFastCallEntry+0x135 f7e7eb6c f5e08f57 nt!ZwAllocateVirtualMemory+0x11 f7e7eb98 f5e07969 kmtest_drv!SimpleErrorChecks(void)+0x1557 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 159] f7e7eba4 f5dcaf80 kmtest_drv!Test_ZwAllocateVirtualMemory(void)+0x9 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 499] f7e7ec30 81029e2c kmtest_drv!DriverIoControl( struct _DEVICE_OBJECT * DeviceObject = 0x81f45a90, struct _IRP * Irp = 0x82431738)+0x2e0 [c:\ros\reactos\modules\rostests\kmtests\kmtest_drv\kmtest_drv.c @ 370] f7e7ec4c 813033e7 nt!IofCallDriver+0x64 f7e7ec60 813043d1 nt!IopSynchronousServiceTail+0x1f3 f7e7ed00 812f9874 nt!IopXxxControlFile+0x663 f7e7ed34 8116fdb5 nt!NtDeviceIoControlFile+0x2a f7e7ed34 7c82ed64 nt!KiFastCallEntry+0x135 00dafe40 7c8213d4 ntdll!KiFastSystemCallRet 00dafe44 77e416f5 ntdll!ZwDeviceIoControlFile+0xc 00dafea8 0040293f kernel32!DeviceIoControl+0x137 00dafedc 00401d20 kmtest_!KmtRunKernelTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0x4f [c:\ros\reactos\modules\rostests\kmtests\kmtest\support.c @ 101] 00dafef4 004018c8 kmtest_!RunTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0xe0 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 281] 00daff1c 004086b5 kmtest_!main( int ArgCount = 2, char ** Arguments = 0x00212470)+0x258 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 366] 00daffb4 0040842f kmtest_!__tmainCRTStartup(void)+0x245 [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 310] 00daffc0 77e523dd kmtest_!WinMainCRTStartup(void)+0x1f [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 168] 00dafff0 00000000 kernel32!BaseProcessStart+0x23 kd> g *** Assertion failed: (Win32Protect & (PAGE_GUARD|PAGE_NOACCESS)) == 0 *** Source File: d:\srvrtm\base\ntos\mm\mmsup.c, line 300 Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread (boipt)? b b Execute '.cxr F7E7E678' to dump context Break instruction exception - code 80000003 (first chance) nt!DbgBreakPoint: 811507a8 cc int 3 kd> kP ChildEBP RetAddr f7e7e660 811529f6 nt!DbgBreakPoint f7e7e948 810cf4ef nt!RtlAssert+0xba f7e7e968 8108cc1a nt!MiMakeProtectionMask+0xb1 f7e7eadc 8116fdb5 nt!NtAllocateVirtualMemory+0xac f7e7eadc 81043885 nt!KiFastCallEntry+0x135 f7e7eb6c f5e08f57 nt!ZwAllocateVirtualMemory+0x11 f7e7eb98 f5e07969 kmtest_drv!SimpleErrorChecks(void)+0x1557 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 159] f7e7eba4 f5dcaf80 kmtest_drv!Test_ZwAllocateVirtualMemory(void)+0x9 [c:\ros\reactos\modules\rostests\kmtests\ntos_mm\zwallocatevirtualmemory.c @ 499] f7e7ec30 81029e2c kmtest_drv!DriverIoControl( struct _DEVICE_OBJECT * DeviceObject = 0x81f45a90, struct _IRP * Irp = 0x82431738)+0x2e0 [c:\ros\reactos\modules\rostests\kmtests\kmtest_drv\kmtest_drv.c @ 370] f7e7ec4c 813033e7 nt!IofCallDriver+0x64 f7e7ec60 813043d1 nt!IopSynchronousServiceTail+0x1f3 f7e7ed00 812f9874 nt!IopXxxControlFile+0x663 f7e7ed34 8116fdb5 nt!NtDeviceIoControlFile+0x2a f7e7ed34 7c82ed64 nt!KiFastCallEntry+0x135 00dafe40 7c8213d4 ntdll!KiFastSystemCallRet 00dafe44 77e416f5 ntdll!ZwDeviceIoControlFile+0xc 00dafea8 0040293f kernel32!DeviceIoControl+0x137 00dafedc 00401d20 kmtest_!KmtRunKernelTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0x4f [c:\ros\reactos\modules\rostests\kmtests\kmtest\support.c @ 101] 00dafef4 004018c8 kmtest_!RunTest( char * TestName = 0x00212498 "ZwAllocateVirtualMemory")+0xe0 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 281] 00daff1c 004086b5 kmtest_!main( int ArgCount = 2, char ** Arguments = 0x00212470)+0x258 [c:\ros\reactos\modules\rostests\kmtests\kmtest\kmtest.c @ 366] 00daffb4 0040842f kmtest_!__tmainCRTStartup(void)+0x245 [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 310] 00daffc0 77e523dd kmtest_!WinMainCRTStartup(void)+0x1f [c:\ros\reactos\lib\sdk\crt\startup\crtexe.c @ 168] 00dafff0 00000000 kernel32!BaseProcessStart+0x23 kd> g *** Assertion failed: (Win32Protect & (PAGE_GUARD|PAGE_NOACCESS)) == 0 *** Source File: d:\srvrtm\base\ntos\mm\mmsup.c, line 300 Break repeatedly, break Once, Ignore, terminate Process, or terminate Thread (boipt)? i i (..\..\modules\rostests\kmtests\kmtest_drv\kmtest_drv.c:370) DriverIoControl. Finished test ZwAllocateVirtualMemory