Translate

Sunday, 20 December 2009

The Next Y2K Bug?... 19th Jan 2038

I read somewhere recently that there is potentially another Y2K (Millennium) bug coming up.

The original problem was caused by the old fashioned data storage methods that meant that many older systems stored dates as two-digit numbers instead of the four digits needed to display years as four digits. e.g. 99 instead of 1999. This meant that when the year 2000 approached it would show as '00' (which could be 1900 or 2000) and humanity would end or so it was claimed.

So vast amounts of money were spent to prevent this catastrophe and many mainframe systems were upgraded (I was involved in this exercise) however this fixing didn't address the fact that many Unix systems (including the Linux Kernel), continue to count time as starting from midnight on 1 January 1970, which means other analogous situations can arise in the future.

For instance, the article stated that on January 19, 2038, at 3:14:08 am UTC (Coordinated Universal Time - based on International Atomic Time), the number of seconds since 1/1/1970 will be too great to be stored in the 32-bit number used by these older Unix systems. In other words instead of computers thinking it could be 1900 instead of 2000, the computers could think its 1970 again instead of 2038 and the world will end (again).

Fortunately the more modern Unix systems mostly use 64 bits to represent integers, so the problem is not likely to be major, but in some ways that means there may be more surprises than we would wish, simply because no one will investigate the possible impact. Old 'legacy' systems are usually disregarded simply because they will never be upgraded, and only one member of staff (who is due to retire soon) understands what they are doing.

So be warned ......... the 19/01/2038 bug is coming our way!

No comments:

Post a Comment

All comments are welcomed, or even just thanks if you enjoyed the post. But please make any comment relevant to the post it appears under. Off topic comments will be blocked or removed.

Moderation is on for older posts to stop spamming and comments that are off topic or inappropriate from being posted .... comments are reviewed within 48 hours. I don't block normal comments that are on topic and not inappropriate. Vexatious comments that may cause upset to other commentators, or that are attempting to espouse a particular wider political view, are reviewed before acceptance. But a certain amount of debate around a post topic is accepted, as long as it remains generally on topic and is not an attempt to become sounding board for some other cause.

Final decision on all comments is held by the blog author and is final.

Comments are always monitored for bad or abusive language, and or illegal statements i.e. overtly racist or sexist content. Spam is not tolerated and is removed.

Commentaires ne sont surveillés que pour le mauvais ou abusif langue ou déclarations illégales ie contenu ouvertement raciste ou sexiste. Spam ne est pas toléré et est éliminé.

Followers

Blog Archive

Its a Pucking World

Its a Pucking World
Dreamberry Wine Cover

About Me

My photo
A middle aged orange male ... So 'un' PC it's not true....