home *** CD-ROM | disk | FTP | other *** search
- DOCUMENT:Q108241 09-DEC-1993 [W_NT]
- TITLE :Incorrect Date Generates an Exception Error in NTBACKUP
- PRODUCT :Windows NT
- PROD/VER:3.10
- OPER/SYS:WINDOWS
- KEYWORDS:
-
- --------------------------------------------------------------------------
- The information in this article applies to:
-
- - Microsoft Windows NT operating system version 3.1
- - Microsoft Windows NT Advanced Server version 3.1
- --------------------------------------------------------------------------
-
- SYMPTOMS
- ========
-
- The Windows NT Backup utility generates the following error message when
- the system date is greater than the year 2070:
-
- An application error has occurred and an application error log is being
- generated.
-
- NTBACKUP.EXE
- Exception: access violation (0xc0000005), Address:0x0182aa2d
-
- CAUSE
- =====
-
- NTBACKUP uses the clib function time(). The initial release of NTBACKUP did
- not check the return value and if the year is out of reach, this function
- returns 0 (zero).
-
- RESOLUTION
- ==========
-
- To work around this problem, change the date to the current year or to a
- year earlier than 2071.
-
- MORE INFORMATION
- ================
-
- The following are relevant portions of the DRWTSN32.LOG file:
-
- Application exception occurred:
- App: ntbackup.DBG (pid=215)
- When: 11/19/2071 @ 18:48:2.265
- Exception number: c0000005 (access violation)
-
- *----> System Information <----*
- Computer Name: TEST
- User Name: test
- Number of Processors: 1
- Processor Type: Intel 486
- Windows Version: 3.10
- Current Build: 1.528.1 () (July 1993)
- Current Type: Uniprocessor Free
- Registered Organization: Microsoft
- Registered Owner:
-
- State Dump for Thread Id 0x75
-
- eax=00000000 ebx=0013be90 ecx=0012fd04 edx=0000002f esi=00137f50
- edi=001411c0
- eip=0182aa2d esp=0012fd04 ebp=0013bd60 iopl=0 nv up ei pl nz na pe
- nc
- cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000
- efl=00000202
-
-
- function: GetCurrentDate
- 0182aa10 83ec04 sub esp,0x4
- 0182aa13 8d442400 lea eax,[esp]
- ss:007ae8ab=????????
- 0182aa17 50 push eax
- 0182aa18 e8a37c0700 call time (018a26c0)
- 0182aa1d 8d442404 lea eax,[esp+0x4]
- ss:007ae8ab=????????
- 0182aa21 83c404 add esp,0x4
- 0182aa24 50 push eax
- 0182aa25 e8e65b0600 call localtime (01890610)
- 0182aa2a 83c404 add esp,0x4
- FAULT ->0182aa2d 8b4814 mov ecx,[eax+0x14]
- ds:0067eba6=????????
- 0182aa30 8b542408 mov edx,[esp+0x8]
- ss:007ae8ab=????????
- 0182aa34 6681c16c07 add cx,0x76c
- 0182aa39 66894a02 mov [edx+0x2],cx
- ds:0067ebd6=????
- 0182aa3d 8b4810 mov ecx,[eax+0x10]
- ds:0067eba6=????????
- 0182aa40 6641 inc cx
- 0182aa42 66894a04 mov [edx+0x4],cx
- ds:0067ebd6=????
- 0182aa46 8b480c mov ecx,[eax+0xc]
- ds:0067eba6=????????
- 0182aa49 66894a06 mov [edx+0x6],cx
- ds:0067ebd6=????
- 0182aa4d 8b4808 mov ecx,[eax+0x8]
- ds:0067eba6=????????
- 0182aa50 66894a08 mov [edx+0x8],cx
- ds:0067ebd6=????
- 0182aa54 8b4804 mov ecx,[eax+0x4]
- ds:0067eba6=????????
-
- *----> Stack Back Trace <----*
-
- RetAddr FramePtr Param#1 Param#2 Param#3 Param#4
- 0182aa2d 0012fd04 018c8a80 001411c0 00137f50 01896ff4 GetCurrentDate
- 0184da26 0012fd14 00140400 00000001 0012fd6c 0013b7a0 FS_SetDefaultDBLK
- 01896ff4 0012fe10 0013bd60 00137f50 018403dd 0013bd60 F40_RdSSET
- 01841b4e 0012fe1c 0013bd60 00137f50 0013b7a0 01870001 GetCurrentVCB
- 018403dd 0012fe3c 0013bd60 00000113 01870001 018a5e48 ReadThisSet
- 01842e96 0012fed4 0013b7a0 018a34b0 00140400 0183a430 TF_PollDrive
- 0183a0e7 0012fef0 0187e9a0 0012ff40 76a04046 00000000 PD_PollDrive
- 0187e9ea 0012fefc 00000000 00000113 00002c28 01e3de2d WM_UnhookTimer
- 76a04046 0012ff20 0012ff40 00000001 018211ce 0012ff40 DispatchMessageWorker
- 76a04e07 0012ff2c 0012ff40 00148e10 0013145f 00000000 SendMessageWorker
- 018211ce 0012ff58 01820000 00000000 0013145f 00000001 WinMain
-
- Microsoft has confirmed this to be a problem in Windows NT version 3.1 and
- Windows NT Advanced Server version 3.1. We are researching this problem and
- will post new information here in the Microsoft Knowledge Base as it
- becomes available.
-
- Additional reference words: 3.10
- KBCategory:
- KBSubcategory: stpscrn
-
-
- =============================================================================
-
- THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
- PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS
- ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
- OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO
- EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
- ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
- CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
- MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION
- OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
- SO THE FOREGOING LIMITATION MAY NOT APPLY.
-
- Copyright Microsoft Corporation 1993.