Umdhtools.exe: ????? ??????? Umdh.exe ?????? ??? ???? ???????

?????? ????????? ?????? ?????????
???? ???????: 268343 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

???? ?????? ???????? ???? ??????? ??????? (???) ????? ??? ???????? ?? ???? ??????? ?????? ?????? ????? ???? ??????? ??????? Windows ?????? ?????. ??? ?????? ???????? ???????? ?????? ???????? ???? ?????? ????? ????? ??????? Windows 2000 ????? ??????? Windows XP. ???? ??? ???? ' ????? ' ???? ??? ????? ???????? ????? ?????.

????????? ????? ??????? ???????? ??????? ® ?????? ????? ??? ????? ?????? ????? ® ????? ????? ??????? ?? http://www.acelp.net/acelp_eval.php



?????? ???? ?????? ???? malloc ?? ?????? ??????? (CRT) ??? ??????? C ????? ???? ?????? (FPO) ??? ??????? ?????? ?? Windows Server 2003? ?? ?? ????? ??????? ???? ???? ???? malloc ???????? ???? ???. ?? ????? ??? ??????? ?? ?????? ??????? CRT ?? ???? ?????? Windows Server 2003 service Pack 1 (SP1). ????? ????? ???? ??????? ???? ???? ???? malloc ?? Windows Server 2003 SP1.

??????? ????

??? ??????? ???

??? ??? ????? ?? ??? ????? ???? ?????? ?? ??? ??? ?? ??????? ?? ?? ???? ???? ?? ???? ????. ?? ????? ?? ???? ???? ??????? ??? ???? ????? ??????? ???? ?? ????? ????. ?? ??? ??? ???? ??????? ???? ????? ????? ?????? Microsoft Jet ??????? ????? ????? ?? ??????? (??? 128 ???? ???? ??? ???? ??????? 256 ????????) ???? ???? ???????? ???????? ????? ????? ??????? ??????. ???? ????? ??????? ?????? ???? Jet ?????? ??? ???? ??????? ???????? ?????? ??????? ??????.

?????? ?? ??? ??? ??? ????? ????? ????? ????? ?????? ?????? ?????? "Windows" (Perfmon.exe) ??????? ????? ????? ?????? ??? ??? ????? ??????? ????? ??. ????? ?????? ?????? ?????? ??????? ?? ??????? ?? ??????? ???? ?? ????? ?? ????? ????????. ???? ?? ??? ????? ?? "?????? ???????"? ????? ????? ???????? ???????. ?????? ??????? ?? ????? ?????? ??????? ????? ??????? ???????? ???? ?????? ???????. ????? ???? ?? ????? ??????? ???????? ???? ?? ?? ??? ??? ?? ????? ?????? ?????? ???? ?? ???????. ??? ?? ????? ????? ??? ?????? ????? ?????? ??????? ???? ??????? ???? ?? ?? ?? ???? ???? ???????? ?????? ????? ?????? ???????? ?????? ??? ??? ?????? ??????? ????????. ?????? ??? ??????? ?????? ??? ????? ?? ???? ??????? ????? ???? ??? ????? ???? Windows (Perfmon.exe)? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://msdn.microsoft.com/en-us/library/ms404355.aspx
?????? ?? ?? ??????? ????? ?? ?? ???? ???????? ??? ???????? ?? ????????? ???????? ?? ???? ???? ?????????? ??? ?????? ???? ? ?????? ??????? ??? ????? ?? ???????. ?????? ?????? ?? ?? ????? ????? ?????? ?????? "?" ????? ?????? ???????? ?? ??????? ???? ??? ? ????? ??? ?????. ??? ?? ??? ???? ???? ???? ??????? ?????? (??? ???? ??????? ???? ?? ????? ?????? ??? ?? ?? ?????) ?????? ?? ??? ???? ?????? ??? ??? ??????? ????? ????? ??????? ???? ??????? ??? ?? ???? ?????? ?????.

??? ???? ?? ????? ???? ?????? ??? ?????? ???? ???? ??????? ???????:
  1. ?? ?????? ?????? ???????? ????.
  2. ????? ????? ???? PATH ?????? ?????? ?????? ??? ??? ?????? ???.
  3. ????? ????? ?????? _NT_SYMBOL_PATH ??? ??? Microsoft ???? ?????? ??? ?? ??? ???? ????? ???? ??? ??????? ?????.
?? ?????? ?? "????? ????? ???????" ?????? ???????? ???? ?????? Windows ?? ???? Microsoft ?????? ??? ?????:
http://www.microsoft.com/whdc/devtools/ddk/default.mspx
????? ?????? ?????? ???????? ?? ?? ?????? ???? ?????? ????? ?????? ??? ?????? ??? ?? ????? ????? ????? ???????.

??? ??????? ???? ??? ????? ???? ??????? ?????? ?????? ??????? ????? ?? ????? ??????? ????? ??. ?????? Microsoft ??? ?????? ?????? ??? ???? ??????? ??????? Microsoft. ????? ?? ????????? ??? Microsoft Symbol Server? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ? Microsoft":
311503?????? Microsoft Symbol Server ?????? ??? ????? ?????? ???????
????? ??? ????? ?? ????? ?????? ???????? ????? ?????? _NT_SYMBOL_PATH. ????? ?????? ?????? ?? ???? ??????? ?? ???? ?????? ??? ???:
????? _NT_SYMBOL_PATH = SRV * c:\LocalSymbolCache
????? ?? ????????? ??? ????? ??????? ???? ?????? ??? ?????????? ???? ??? "???? ?????" ?????? ?? ??? ???????.

??? ????? ??? ???????? ??? ???? ???????? ?????? ???????? ????.

?????? ???? ??????? ??????? ???? ?? ???

??? ?? ???? ?????? ????? ??????? ??? ???? ??????? ??????? ?????? ????? ?????. ????? ??? ????????? ???? ????????? ??? ?????? ???? ?????? ??????? ???? ??? ??????? ?? ???? ??? ???? ???????????? ? ??? ????? ?????? ???? ??? ????????? ?? ???? ??? ???? ???????????. ??? ???? ??????:
00005320 bytes in 0x14 allocations (@ 0x00000428) by: BackTrace00053
           ntdll!RtlDebugAllocateHeap+0x000000FD
           ntdll!RtlAllocateHeapSlowly+0x0000005A
           ntdll!RtlAllocateHeap+0x00000808
           MyApp!_heap_alloc_base+0x00000069
           MyApp!_heap_alloc_dbg+0x000001A2
           MyApp!_nh_malloc_dbg+0x00000023
           MyApp!_nh_malloc+0x00000016
           MyApp!operator new+0x0000000E
           MyApp!LeakyFunc+0x0000001E
           MyApp!main+0x0000002C
           MyApp!mainCRTStartup+0x000000FC
           KERNEL32!BaseProcessStart+0x0000003D
				
???? ????? ??? ??? ?? ???? 21280 (0x5320) ?????? ?????? ??????? ??? ?? ???? ?????????. ?? ????? ????? ?????? 21280 ?? 20 (0x14) ?? ???? ?????? ??????? 1064 ???? (0x428). ??? ????? ???? ????????? ?????? ? BackTrace00053.

?????? ??? ????? ???? ??????? ??????? ?????????? ??? ??????? ?????? ???????? Gflags.exe? ???? ??? ??????? ???? ?? ?????? ????? ??????? ? Windows? ?????? ????? ??????? ?????? ??? ????? kernel ????? ?????????.

????? ??? ???? ?????? ??????? heap(s) ? Notepad.exe. ??? ???? ????? ????? ???? ???? ??????? ??????? ?????? ??????? ???? ???? ???????. ???? ???????? ??? ?????? ?? ??? ?????. ????? ?????? ??? ?????? ??? ???:
gflags-i notepad.exe + ????
?? ???? ????? ???? ???? ??????? ??????? ???????? ??? ??????? ??????? ??? ??? ???? ???? ?????? ????? ????????? ?????????? Notepad.exe. ????? ?? ???? ????? ????? ??????? ?? ???? ?????? GFLAGS ????? (????? Gflags.exe ???? ??? ????? ?????? ??? ????? ????????). ????????? ?????? -???? gflags ?????? ???? ???? ????? ??????? ??? ?? ???????? ?? ????? ???????.

??? ????? ?????? ?????? ???? Gflags.exe? ????? ?????? ???? ???????? ??? ???? ???? ????? ?????? "???????" ( ??????? ???? ?????? ???). ??? ??? ????? ????????? ??? ???? ????? ???? ??????? (PID) ?? ????? "???????" ???? ?? ?????? ???. ???? ????? ??? ???:
tlist
????? ?????? ??? ???? ?????? ?? ????? ??????? TLIST. ??????? ???? ?????? ???? ???? ?????? ?? ????? ??????. ????? ?????? ?????? ????? ????? "???????" ???? ??? ??????? ???? 124. ????? ??????? ??? ?????? ??? ????? ???? ??????? ??????? ???????? ????? ??????:
???-p: f:notepad124.log 124-
???????: ???? ??? ????? ???? ??????? ????? ????? ?? ????? "???????" ?? ??? Notepad124.log. ???? ??? ????? ???? ?????? ??????? ???? ?? ??????? ? ???????? ??? ?? ????? ?????????.

??????? Umdh.exe ??????? ????? ???

????? ????? ??? ????? ??? ??? ??????? ???? ??? ?????? ??????? ?????? ?? ??? ?????? ??? ??? ????? ?????? ?? ???? ???????? ?? ???? ???? ???? ??????? ?????? ????? ? ???? ??? ???? ??????????? ???? ???? ??? ???? ??? ????? ????? ?????. ????? ?????? ???????? Umdh.exe ?????? ????? ??? ????? ????? ????? ??????. ?????? ???????? ?? ????? ?? ??????? ???? ?? ???????? ?? ????? ??????? ???????? ????? ?? ??????? ????? ??????:
??? dh1.log dh2.log > cmp12.txt
-??-
Dh2.log dh1.log-d ??? > cmp12.txt
???? ??? ??????? -d ?????? ??? ???? ???????? ??????? ????? ?? ???? ????. ????? ????? ????? ?????????? ?? ???? ??????? ?????? ??????? ??????? ??? ??????? ?????? ?? ???:
+ 5320 (f110-9df0) ?????? ??????? 3a BackTrace00053 ?????? ??????? = = 5320
???? ??? ?????? ??????? ?? ????? ????? ???? ?????? ????? ??? ??????? ????? ?? ???????. ??? ?????? ???? ?? ??? ????? ?????? ???? ?? ??????? ?? ??? ??? ??????? ?? 0xF110 ?????? ?????? ??????? ????? ??? ??? ?? ??? ??????? ??? ?? 0x9DF0 ????? ?????? ??????? ?????? ??????? ??? (???? ???????????). "5320" ?? ????? ?? ??? ????? ?????? ???????. ?? ??? ??????? ???? 0x5320 ???? ?? ????? ?????? ??????? ??? ??????? ???? ?? ???????? ?????. ????? ?????? ??????? ?? ???? ??????????? ???? ??? ??????? ?????? "BackTrace00053".

?????? ??????? ?????? ?? ?? ?? ??? ?????? ???????. ??? ??? ???? ??? ????? ?????? ????? ?? BackTrace00053? ?? ??? ??? ?? ?????? ??? ???:
00005320 bytes in 0x14 allocations (@ 0x00000428) by: BackTrace00053
           ntdll!RtlDebugAllocateHeap+0x000000FD
           ntdll!RtlAllocateHeapSlowly+0x0000005A
           ntdll!RtlAllocateHeap+0x00000808
           MyApp!_heap_alloc_base+0x00000069
           MyApp!_heap_alloc_dbg+0x000001A2
           MyApp!_nh_malloc_dbg+0x00000023
           MyApp!_nh_malloc+0x00000016
           MyApp!operator new+0x0000000E
           MyApp!LeakyFunc+0x0000001E
           MyApp!main+0x0000002C
           MyApp!mainCRTStartup+0x000000FC
           KERNEL32!BaseProcessStart+0x0000003D
				
????? ???? ???? ???? ?????????? ????? ?????? ?? ?????? LeakyFunc ?????? ????? ?? ???? ????? ??? ????? Visual c + + ???? ????? ?????? ???????. ??? ???? ?? ????? ??? ?????? ??????? ??? ??? ????? ???? ?? ????? ?????? ??????????? ??? ????? ??? ??????? ?? ??? ?????.

????? ?????? ??????

?? ??? ????????? ?? ????? ??? ?????? ?????? ????? ???? ??????? ???????. ????? ??????? ?????? ?? ???? ????? ???? ???? ??????? ??????? ???????. ???? ???????? ?? ??? ?????? ??? ?????? ??????. ????? ????? ??? ???? ?? ????? ?? ????? ??????. ?????? ????? ?????? ?????? ???? ???? ??????:
gflags-r + ????
????? ????? ???? ????????? ??? ??? ?????. ??? ????? ?????? ????? ??? ???:
gflags-i APPNAME + ????
??? APPNAME ?? ??? ????? ?????? ??????? ??? ?? ??? ?????? ( ???? ??????? Services.exe? Lsass.exe). ?? ???? ????? ???? ???? ??????? ??????? ????? ???????? ???? ??? ??????? ??????. ????? ???????? ???? ?? ????? ????? ????? (??? ???? ??????? ????? lsass winlogon)? ??? ????? ????? ???????? ????? ?? ???? ?????????.

?????? ??????? ??????? ?????? ?? ????????? ??? ?? ????? ????? ?????? ?? ?? ??? ????? ?????: ??????:
gflags-r
????? ?????:
gflags-i ??? ???????
???? ???????? ??? ???? ???? ???? ?????? ?? 16. ??? ??? ???? ???? ???????? ????? ???? ????? ??? ?? ???? ????? GFLAGS. ???? ?????? ??? ??????? ??? ???? ??? ???? ?? Max. ???? "?????? ??? ??????" ???? ???? ???????. ???? ??? ???????? ?? ????? ????? ?????????.
???: ??? ??? ?????? ???? ??????? Windows NT 4.0 Service Pack 6? ??? ???? ??????? ??? ?? ?????? Umdh_nt4.exe? ????? ?? Umdh.exe? gflags -r ????? ?????? ???? ?????? ????? ??????. ???? ?? ?? ?? ?? ?????? ????? ???? ????????? ????? ??. ???? ???? ??????? ??????? Umdh_nt4 ?? ???? ??? ?? ????? ???? ??? Windows NT ??????? 4. ??? ????? ?????? ??????.

???? ???????

???? ??????? ?????? ????? ???????? ??? ?? ?????? ???? ????? ?????? ???? (???.dbg ??.pdb) ?????? ??? ???? ???? ????. ???? ????? ????? ??? ????? ?????? Kernel32.dbg ? Ntdll.dbg. ????? ?????? ??? ?????? ??? ???? ??????? ?????? ?? ????? ??? ????? ?????? ??? ???? ?? ????????? ??? ?????? ???? ???? ???????. ????? ?? ????????? ??? ????? ?????? ??? ????? ????? ?????? ? Microsoft ????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ? Microsoft":
311503?????? Microsoft Symbol Server ?????? ??? ????? ?????? ???????
????? ?? ????????? ??? ????? ??????? Microsoft Symbol Server ?????? ?????? ??? ??? ?????? Windows? ?? ?????? ???? ??? Microsoft ???????:
http://www.microsoft.com/whdc/devtools/ddk/default.mspx
??? ??????? ?? ????? ???????? ?? Visual c + +? ??? ????? ?? ?? ???? ???? "?????? ????? ??????" ?????? ??????? ????? ? c + + ?????? ?????? ??????? ???????. ????? ?? ???? ??? "????? ?????? ????????". ?????? ???? ?????? ????? ????? ?????? _NT_SYMBOL_PATH ??? ???? ???? ?????????. ????? ????? ??????? Microsoft Symbol Server ?????? ??? ???? ? Microsoft ??????.
311503 ?????? Microsoft Symbol Server ?????? ??? ????? ?????? ???????
???? ??? ??????? ?????? _NT_SYMBOL_PATH ????? ??????:
  1. ?? "???? ??????"? ???? ????? ??????? ??? ??????.
  2. ???? ??? ????? ??????? ?????? ?????? ? ??? ?? ???? ??? "????????? ???????".
?? ????? ????? ????? ?????? _NT_SYMBOL_PATH ????? ??????? ??? ????? ???.

??????: ???? ????? ?????? ??? PDBs ??????? ?????? ?? ???????. ??? ???? ??????? ????? ???? ? _NT_SYMBOL_PATH ??? ???:
SRV*c:\symbols*http://msdl.microsoft.com/download/symbols;c:\myapplicationssymbols
???? ????? ????? ?? ??? ?????? ??? Microsoft Symbol Server ????? ????? ?????? ????????? ?? c:\symbols ????? ????. ????? ???? ???? ????? ?????? ?? ?????? ??? ????? PDB (??? ???????) ??? ??? ??????? ??????? ????.

??????? ???

????? ??? ??????? ???????? ??? ???? ?? ?????? -p ? ???? ???? ???? ??????? ??????? ???? ???? ????? ????? ???? ?????? ??? ?????? ??????????. ???? ?????? ??? ???? ?????? ???????? "????? ??????" ?? ?????? Tlist.exe. ???? ????? ??? ???? ????? ????? ????? ??? ??????? ???????:
???-p: PID
???? ??? ???? ?????? ?? ????? ??????? ?????? ???? ???? ??? ?? ?????? ???????? ????? ???????. ?????? ????? ??????? ??? ?? ???? ?????? ????? ??????:
???-p: PID 2>umdh.msg
??? ??? ???? ?? ????? ????? ???? ??? ?????? ?? ??? ?? ????? ?????? ??? ??????? ???????:
???-p: PID > umdh.log
-??-
???-p: PID-f:umdh.log
??? ??????? ??????.

????? ????????? ???? ??? ??? ?????? ???? ???? ????? ??? ????? ????? ?????????? ???? ??????? ??????? ???? ?? ????? ??? ??? ???? ???????. ??? ??? ?????? ???????? ????? ???? ??? ??? ????? ???? ??? ??????? ?? ?????? ?????? ???????? ?????? ???? ???? ??????? ?????? -d :
???-p: PID-d
??? ??? ?????? ??? ?????? ?? ????? ??????? ?? ??? ??? ?????:
?????? ????? ????? BackTrace00046: 005F69A0 005F6150
??? ?? ?????? ??????? ??????? ??????? ???? ???? ???????????. ??? ?? ????? ???? ??????? ???????? ????? ????? ??????? ??????? ?? ??? ???????? ??????? ?? ?? ?????.

??? ????? ????? ??? ?????? ?? ?????????? ???? ?? ????? ??? ???? ??? ???? ?? ?????????? ????? ????? ??????? ???? ?????. ??????? ????? ??????:
???-p: PID-t: ???? ??????
???? ?????? ??? ??????? (??? ???? ??????? -p,-f,-t,-d) ???? ????? ?? ??? ????? ?? ?? ?????. ????? ??? ?? ????? ???? ??? ???????:
???-p: 123-t: 1000-f:umdh.log-d
???? ??? ????? ?????? ??????? ?? 123 PID ?? ????? Umdh.log. ???? ?????? ?????? ??? ??? ?????? ????? ?? 1000 ?????? ??????? ??? ???? ????? ?????? ??? ???? ??????? ??????? ???? ??? ????? ?? ???? ?? ???? ???? ??????? ???????.

???? ??? ????? ??? ?????? -l . ???? ??? ????? ??? ??????? ???? ??????? ?? ???? ??????????? ???? ???? ???.

????? ??? ???

??? ??? ????? ????? ????? ??? ??? (???-p: PID-f:umdh.log)? ???? ????????? ??????? ???? ?? ?????? ????? ?? ????? "???????" ??? ?????:
UMDH: Logtime 2000-06-28 10:54 - Machine=MYMachine - PID=704
   *********** Heap 00270000 Information ********************
       Flags: 58000062
       Number Of Entries: 87
       Number Of Tags: <unknown>
       Bytes Allocated: 00008DF0
       Bytes Committed: 0000A000
       Total FreeSpace: 00001210
       Number of Virtual Address chunks used: 1
       Address Space Used: <unknown>
       Entry Overhead: 8
       Creator:  (Backtrace00007)
           ntdll!RtlDebugCreateHeap+0x00000196
           ntdll!RtlCreateHeap+0x0000023F
           ntdll!LdrpInitializeProcess+0x00000369
           ntdll!LdrpInitialize+0x0000028D
           ntdll!KiUserApcDispatcher+0x00000007
   *********** Heap 00270000 Hogs ********************
   000001A0 bytes in 0x4 allocations (@ 0x00000068) by: BackTrace00031
           ntdll!RtlDebugAllocateHeap+0x000000FB
           ntdll!RtlAllocateHeapSlowly+0x0000005B
           ntdll!RtlAllocateHeap+0x00000D81
           ntdll!LdrpAllocateDataTableEntry+0x00000039
           ntdll!LdrpMapDll+0x000002A4
           ntdll!LdrpLoadImportModule+0x0000010D
           ntdll!LdrpWalkImportDescriptor+0x0000008B
           ntdll!LdrpLoadImportModule+0x0000011D
           ntdll!LdrpWalkImportDescriptor+0x0000008B
           ntdll!LdrpLoadImportModule+0x0000011D
           ntdll!LdrpWalkImportDescriptor+0x0000008B
           ntdll!LdrpInitializeProcess+0x000009DC
           ntdll!LdrpInitialize+0x0000028D
           ntdll!KiUserApcDispatcher+0x00000007

   000001A0 bytes in 0x4 allocations (@ 0x00000068) by: BackTrace00034
           ntdll!RtlDebugAllocateHeap+0x000000FB
           ntdll!RtlAllocateHeapSlowly+0x0000005B
           ntdll!RtlAllocateHeap+0x00000D81
           ntdll!LdrpAllocateDataTableEntry+0x00000039
           ntdll!LdrpMapDll+0x000002A4
           ntdll!LdrpLoadImportModule+0x0000010D
           ntdll!LdrpWalkImportDescriptor+0x0000008B
           ntdll!LdrpLoadImportModule+0x0000011D
           ntdll!LdrpWalkImportDescriptor+0x0000008B
           ntdll!LdrpLoadImportModule+0x0000011D
           ntdll!LdrpWalkImportDescriptor+0x0000008B
           ntdll!LdrpLoadImportModule+0x0000011D
           ntdll!LdrpWalkImportDescriptor+0x0000008B
           ntdll!LdrpInitializeProcess+0x000009DC
           ntdll!LdrpInitialize+0x0000028D
           ntdll!KiUserApcDispatcher+0x00000007
				
????? ????? ??? ????? ?? ???? ??????? ??????? ?? ???????. ?? ??? ??????? ??? ????? ?? ???? ????? ????? ??? ??????? 270000. ??? ?????? ?????? ????? ???? ??????? ???????? ????? ????? ??? ????? ?????? ??? ?????? ?? ?????? ?????? ???? ?????? ?? ?????? ????? ????. ??? ?????? ????????? ??????? ????????? ?? ????? ??????? ???? ??????? ?? ??? ????? ????? ?????? ????? ?? ??????? ???? ??????? ???????.

???????? ???? ??????? ??? ??????? ???

???? ??????? ?????? ?????? ??? ??????? ??? ??? ?????? ?? ??? ????? ??????. ????? ???? ?????? ??? ????? ? Ntdll.dll ??? ?? ??? ???????. ?????? ?????? ??????? ??? ????? ??? ??? ????? ??? ????? ??? ???? ???????? ???? ?? ??? ????? ??????? ???? ????? ?? ??? ??????? ????? ???? ??????? ???????. ?? ???? ??? ???? ????? ???? ???? ??? ????. ?? ??? ????? ????? ??? ??? ?????? ????? ??? ????? ???????? ???? ?? ??? ????? ???? ???? ??????? ???????:
C:\>umdh-p: ??? 1140: ??????? 2000-06-28 12:43-?????? = MyMachine-PID = 1140 ???????...?????? ??????? ?????? ???????. ????????????????? (???????? ntdll!?????????????????????? xxx) ???? LastError = 126 ?? ???? ?????? ??? ??????????????????? DB ???? ???? ??????? ??????? ???? (ntdll!?????????????????????). ???? ntdll.dll ??? ?????; ???? ??? ?? ???? ?????? ??? ???? ???? ??? ?????????.
?????? ????? ?????? ??? ???? ????? ??????? ??? ??????? ????? ????:
gflags-i APPNAME
?????? ????? ?????? ??? ????? ???????? ??? ?????? ????? ?????? ??????:
gflags-r
????? ??? ??????? ????? ???????? ??????? ???????. ???? ??? ?? ???? ???? ?????? ????? ??????? ?? ???? ?????? ?????? ??? ??? ??? ????? ????? ????????? ??? ????? ????? gflags r + ???? ? ?? ??? ?????? ???????. ??? ??? ???? ?? ???? ?? ????? ????? ??? ????? ???? ???? ??????? ???????? ????? ??? ??????? USTEnabled ??? ????? ??????? ??????:
??? ????????? ????????? ?????? ???????
??? ??? ?????? ??? ??? ????? ???? ?????? ?????? ???? ??? ????? ????? ??????? ??? ????? ????? ????????? ?? ????? ??????? ??????? ?? ??????? ?????? ??:
?? ???? ???? ?? ??? ????? ???? ??????? (???? = = 0)
??? ??? ?????? ?? ??? ?????? "????" ?? ???? ????? ?? ?????? ??? ?????? ????? ?????? ???? ???? ?? ????? ????? ????? ???? ?? ?????. ??? ???? ?? ??? ???? ??? ????? ?? ???????? ?????. ?????? ?? ?? ???? ?????? ???????? ???? ???? ????? ?????? NTSD ????? ????????? ??? ???? ??????:
ntsd ???????
??? ?? ???? ???? ???? ???????? ????? ????? LD ?????? ??????? ??? ?????? ??????? ?????? LM ???? ??????? ??????? ?? ?? ?????? ???? ?????? ???. ??? ??? ???? ????? ????? LM ???? ??????? ?????? ?????? ??? ????. If ???? ???? PDB ?????? ?????? ????. ?? ???? ????? ????? ??????? ??? ??? ?????? ???? ?????? ??? ????:
C:\>umdh-p: ??? 1000: 2000 ???????-06-28 09:45-?????? = MyMachine- PID = 1000 ???????... ??? ???????????? LastError = 0x57

??????? ??? ?? Visual Basic

?? ???? ?? ?????? ?? ??? ??????? ?????? ??? ?? ??????? ?? ???? ????? ???? ?? ?? ???? ?????? ????? ???? ?? ???????. ??? ???? ??????? ??? ??? ???? ?? ?? ????? ??? ????? ?????? ?????? (ASP) ?? ???? ???????? ?? ???? ?? ?????? ?????? ???? COM ?? Visual Basic ???? ????? ??? ??? ???. ?? ????? ??????? ??? ?????? ?? ???? ASP.

????? ???? ?????? ??? ????????? ???????? ? Visual Basic ???? ?????? ??? ?? ????? ??? ??? ????? ??? ????? ??????:
Private Declare Function GetCurrentProcessId Lib "kernel32" () As Long
      Public Function GetProcessID()
      GetProcessID = GetCurrentProcessId()
      End Function  
   .
   .
   .
      Dim strTime As String

      Dim sProcID As String
      sProcID = GetProcessID()
      strTime = "MYLOG_" & Format(Now(), "hhmm")
     
      Shell ("C:\UMDH\umdh -p:" & sProcID & " -f:d:\logs\" & strTime & ".txt")
				

??????? ???? Windows NT 4.0 ??? Pack 6a (SP6a)

?????? ???????? "???" ???? ?? ?????? ?? "????? ????? ???????" ?????? Windows ?? ???? ??? Windows NT 4.0. ??? ??????? ???? ???? ??????? ?????? ?? ??? ??????? (Umdhnt4tools.exe) ?????? ?? ??? ????? ???? ????????? ?? NT 4.0:
  • Umdh_nt4.exe ? Dbghelp.dll
    ??? ?? Windows NT 4.0 ????? SP6 ?? ???? ???.
  • Dhcmp.exe
    ??? ??????? ??? ?????? ???????? ??????? ??? ????? ????? ?????? ???? ??????? ???????? ???? occurrs.
????? ????? ????? ?????? ??????? ?? ??????? ? Microsoft ????:
?? ??? ??????????? ??? ??????
?????
????? Umdhnt4tools.exe ????
????? ???????: 28 ????? 2002

????? ?? ????????? ??? ????? ????? ????? ??? Microsoft? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ? Microsoft":
119591 ????? ?????? ??? ????? ??? Microsoft ?? ??????? ??? ????????
???? Microsoft ??? ??? ????? ????? ?? ?????????. ???????? ???? Microsoft ???? ????? ????? ?? ????????? ???? ???? ?????? ??? ??? ?????. ??? ????? ????? ??? ????? ????? ?????? ???? ????? ??? ??? ????????? ??? ?????? ??? ??? ?????. ??? Umdh_nt4.exe ? Dbghelp.dll ?? ????? ??? ?? ????? ????? ?? ????? ???? PATH ????? ??. ?????? Umdh_nt4.exe ????? ?? ???.

??? ???? ??????? ???? ???? ?????? ???? ??????? Windows NT 4.0? ??? ???? ??????? Gflags.exe ?????? ???? ?????? ????? ??????. ??? ???? ??????:
gflags-r
???? ?? ????? ????? ???? ????????? ????? ??. ???? ???? ??????? ??????? Umdh_nt4 ?? ???? ??? ???? ??? ????? ?? Windows NT ??????? 4.0. ??? ??????? ?????? ??????.

UMDH_NT4 ????? ??? ?? ??? ?? ??? ?????? ????? ???????. ??? ???? ??????? ?? ???? ????? ?? ???:
UMDH_NT4 dh1.log dh2.log > cmp12.txt
????? ?? ??? ??? ??????? ?????? ???????? Dhcmp.exe ?????? ?? ??? ???????. ????? ??????? ??? ???:
Dh2.log dh1.log ????? > cmp12.txt

???????

???? ???????: 268343 - ????? ??? ??????: 28/???/1434 - ??????: 11.0
????? ???
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Workstation 4.0 Developer Edition
????? ??????: 
kbdownload kbarttypeshowme kbfile kbgraphxlinkcritical kbhowto kbsample kbmt KB268343 KbMtar
????? ????
???: ??? ????? ??? ??????? ???????? ????? ?????????? ??????? ?????? ??? ??????? ?? ??? ??????? ?? ??????? ??? ??? ?? ???? ????????? ???? ??????? ???????(CTF) ?? ?? ???? ????? ????. ???? ?? ???? ?????????? ??? ???????? ???????? ???? ??? ?? ???????? ??????? ?? ??? ??????? ???????? ?? ??? ??????? ??????? ??? ?????? ?? ?????? ??? ???? ???????? ???????? ?? ????? ??????? ????? ????? ??????. ??? ?? ???????? ???????? ?? ????? ??? ????? ?? ???????? ?? ???? ????? ?? ?????. ?????? ??? ???? ?????????? ???? ?????? ?? ??? ????? ?? ??? ??? ?? ??????? ?? ??? ????? ?? ???? ????? ????? ?? ????? ??????? ???? ?? ???????? ?? ??? ???????.
???? ??? ????? ??????? ?????? ??????????268343

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com