Windows crashes after 49.7 days

Discussion in 'Information Technology' started by pradeep, May 19, 2006.

  1. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    Windows crashes automatically if you don't switch off the machine for 49.7 days.This is accepted by Microsoft.

    Do you know why?

    In windows the Virtual Machine Manager(VMM) is responsible for creation, execution, monitoring and termination of virtual machines. This VMM is a 32 bit protected mode operating system, provides a number of system service at chip level of programming.

    One of these services is "Get_System_Time". This particular service loads the EAX register with the time in milliseconds since Windows started.This service is accurate to 1ms.

    EAX is a 32 bit register. So the maximum number of milliseconds it can hold is:

    (2^32) - 1 = 4294967295 milliseconds
    = 4294967.295 seconds
    = 71582.79 minutes
    = 1193 hours
    = 49.7 days

    So after 49.7 days the EAX resets to zero.Most of the Drivers use this Time Service to keep track of the time out of various services they provide. So after 49.7 days the drives cannot use the Get_System_Time funtion of VMM and they crash.
     
  2. gamehunter101

    gamehunter101 New Member

    Joined:
    Jun 19, 2006
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    nice interesting fact
     
  3. Tango Issac Debian

    Tango Issac Debian New Member

    Joined:
    May 3, 2006
    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    0
    seriously interesting.............................
     
  4. Vromoth

    Vromoth New Member

    Joined:
    Nov 6, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://vromoth.4000webs.com/
    I'm not sure if this would work, but couldn't you have two Get_System_Times and when one reaches its maximum value, it makes the other tick over like in a clock, when the second gets to 60 it makes the minute tick over.
     
    Last edited: Nov 7, 2006
  5. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    But probably thats not implemented as of now.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice