home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q108 / 2 / 41.TXT < prev    next >
Encoding:
Text File  |  1993-12-10  |  5.3 KB  |  145 lines

  1. DOCUMENT:Q108241  09-DEC-1993  [W_NT]
  2. TITLE   :Incorrect Date Generates an Exception Error in NTBACKUP
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------------
  14.  
  15. SYMPTOMS
  16. ========
  17.  
  18. The Windows NT Backup utility generates the following error message when
  19. the system date is greater than the year 2070:
  20.  
  21.    An application error has occurred and an application error log is being
  22.    generated.
  23.  
  24.                         NTBACKUP.EXE
  25.    Exception: access violation (0xc0000005), Address:0x0182aa2d
  26.  
  27. CAUSE
  28. =====
  29.  
  30. NTBACKUP uses the clib function time(). The initial release of NTBACKUP did
  31. not check the return value and if the year is out of reach, this function
  32. returns 0 (zero).
  33.  
  34. RESOLUTION
  35. ==========
  36.  
  37. To work around this problem, change the date to the current year or to a
  38. year earlier than 2071.
  39.  
  40. MORE INFORMATION
  41. ================
  42.  
  43. The following are relevant portions of the DRWTSN32.LOG file:
  44.  
  45. Application exception occurred:
  46.         App: ntbackup.DBG (pid=215)
  47.         When: 11/19/2071 @ 18:48:2.265
  48.         Exception number: c0000005 (access violation)
  49.  
  50. *----> System Information <----*
  51.         Computer Name: TEST
  52.         User Name: test
  53.         Number of Processors: 1
  54.         Processor Type: Intel 486
  55.         Windows Version: 3.10
  56.         Current Build: 1.528.1 () (July 1993)
  57.         Current Type: Uniprocessor Free
  58.         Registered Organization: Microsoft
  59.         Registered Owner:
  60.  
  61. State Dump for Thread Id 0x75
  62.  
  63. eax=00000000 ebx=0013be90 ecx=0012fd04 edx=0000002f esi=00137f50
  64. edi=001411c0
  65. eip=0182aa2d esp=0012fd04 ebp=0013bd60 iopl=0         nv up ei pl nz na pe
  66. nc
  67. cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000
  68. efl=00000202
  69.  
  70.  
  71. function: GetCurrentDate
  72.         0182aa10 83ec04           sub     esp,0x4
  73.         0182aa13 8d442400         lea     eax,[esp]
  74. ss:007ae8ab=????????
  75.         0182aa17 50               push    eax
  76.         0182aa18 e8a37c0700       call    time (018a26c0)
  77.         0182aa1d 8d442404         lea     eax,[esp+0x4]
  78. ss:007ae8ab=????????
  79.         0182aa21 83c404           add     esp,0x4
  80.         0182aa24 50               push    eax
  81.         0182aa25 e8e65b0600       call    localtime (01890610)
  82.         0182aa2a 83c404           add     esp,0x4
  83. FAULT ->0182aa2d 8b4814           mov     ecx,[eax+0x14]
  84. ds:0067eba6=????????
  85.         0182aa30 8b542408         mov     edx,[esp+0x8]
  86. ss:007ae8ab=????????
  87.         0182aa34 6681c16c07       add     cx,0x76c
  88.         0182aa39 66894a02         mov     [edx+0x2],cx
  89. ds:0067ebd6=????
  90.         0182aa3d 8b4810           mov     ecx,[eax+0x10]
  91. ds:0067eba6=????????
  92.         0182aa40 6641             inc     cx
  93.         0182aa42 66894a04         mov     [edx+0x4],cx
  94. ds:0067ebd6=????
  95.         0182aa46 8b480c           mov     ecx,[eax+0xc]
  96. ds:0067eba6=????????
  97.         0182aa49 66894a06         mov     [edx+0x6],cx
  98. ds:0067ebd6=????
  99.         0182aa4d 8b4808           mov     ecx,[eax+0x8]
  100. ds:0067eba6=????????
  101.         0182aa50 66894a08         mov     [edx+0x8],cx
  102. ds:0067ebd6=????
  103.         0182aa54 8b4804           mov     ecx,[eax+0x4]
  104. ds:0067eba6=????????
  105.  
  106. *----> Stack Back Trace <----*
  107.  
  108. RetAddr  FramePtr Param#1  Param#2  Param#3  Param#4
  109. 0182aa2d 0012fd04 018c8a80 001411c0 00137f50 01896ff4 GetCurrentDate
  110. 0184da26 0012fd14 00140400 00000001 0012fd6c 0013b7a0 FS_SetDefaultDBLK
  111. 01896ff4 0012fe10 0013bd60 00137f50 018403dd 0013bd60 F40_RdSSET
  112. 01841b4e 0012fe1c 0013bd60 00137f50 0013b7a0 01870001 GetCurrentVCB
  113. 018403dd 0012fe3c 0013bd60 00000113 01870001 018a5e48 ReadThisSet
  114. 01842e96 0012fed4 0013b7a0 018a34b0 00140400 0183a430 TF_PollDrive
  115. 0183a0e7 0012fef0 0187e9a0 0012ff40 76a04046 00000000 PD_PollDrive
  116. 0187e9ea 0012fefc 00000000 00000113 00002c28 01e3de2d WM_UnhookTimer
  117. 76a04046 0012ff20 0012ff40 00000001 018211ce 0012ff40 DispatchMessageWorker
  118. 76a04e07 0012ff2c 0012ff40 00148e10 0013145f 00000000 SendMessageWorker
  119. 018211ce 0012ff58 01820000 00000000 0013145f 00000001 WinMain
  120.  
  121. Microsoft has confirmed this to be a problem in Windows NT version 3.1 and
  122. Windows NT Advanced Server version 3.1. We are researching this problem and
  123. will post new information here in the Microsoft Knowledge Base as it
  124. becomes available.
  125.  
  126. Additional reference words: 3.10
  127. KBCategory:
  128. KBSubcategory: stpscrn
  129.  
  130.  
  131. =============================================================================
  132.  
  133. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  134. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  135. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  136. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  137. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  138. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  139. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  140. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  141. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  142. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  143. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  144.  
  145. Copyright Microsoft Corporation 1993.