Live data from Hacker News

Why Windows 95 and 98 would crash after 49.7 days of uptime

sites.google.com

21–30 of 85 posts

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#21
post #19

Earlier quoted context omitted.

About 15 years ago, I worked at a startup that had a server with 5 years of uptime!

I have a home server with 1301 days of uptime.. (last year it survived a move without rebooting)

That's amazing! The most I've made it with a home server was about 500 days. Eventually, there would be a thunder storm and the UPS would die. Then I'd use the reboot to do all the updates I should've done in the past year and a half...

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#22

Nowadays you don't even get CLOSE to 49 days uptime before Win10 forces you to restart due to updates ;s

In the late ‘90’s I used to brag about my Linux uptime being over a year. And that was a system was directly exposed to the internet. I can’t imagine how many unknown security holes it had during that time.

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#23
Back in 2005 I had encountered this bug or something similar. It was in Windows CE, the embedded version of Windows.

For me, it failed at around 25 day (49.7/2?). I believe the documentation at the time [since fixed] might have had GetTickCount() returning an integer instead of an unsigned integer. I had a devil of a time tracking it down!

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#24
post #16

This brings up a good meta point: people who like to complain about the quality of software in the modern world almost certainly didn't live through the early[1] days of the industry. This sounds crazy to modern ears, but at the time the idea of a desktop system actually staying booted for a whole month was weird and alien. They just didn't do that. Commercial unixes were better. It was routine to find servers that h…

I have a Hackintosh running High Sierra, and at most I reboot once a month.

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#25
post #12

Earlier quoted context omitted.

You're oddly proud about not having updated your OS for 72 days.

About 15 years ago, I worked at a startup that had a server with 5 years of uptime!

DEC computers were know for their reliability.

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#26

Is there a good way to test for bugs like this during development? Since it’s not particularly realistic to pause development for two months to see what a given build does after that long.

The same way you test for leap-year bugs, write unit-tested code that tests all your boundary conditions.

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#27
post #3

From what thine is this? It says "There IS a bug ... NOW patched" Should make no sense anyway but I see no time attached to this.

The cited MS KB has been archived starting November 9, 2004: https://web.archive.org/web/20041109020858/http://support.mi... It is dated August 2004 (it is revision 3.2) but the patch (for Windows 98) has a date: Release Date: Jun-04-1999

There's a CNN article about it from 1999 too: http://www.cnn.com/TECH/computing/9903/05/win98bugfix.idg/

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#28

Nowadays you don't even get CLOSE to 49 days uptime before Win10 forces you to restart due to updates ;s

In the late ‘90’s I used to brag about my Linux uptime being over a year. And that was a system was directly exposed to the internet. I can’t imagine how many unknown security holes it had during that time.

These days it's still possible to patch and have a high kernel uptime due to in-kernel Kernel Live Patching (KLP) support. I've written a few KLP patches to solve kernel bugs without rebooting just because rebooting every system takes a long time to complete.

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#29

Is there a good way to test for bugs like this during development? Since it’s not particularly realistic to pause development for two months to see what a given build does after that long.

Our company does soak/longevity testing. Typically we'll take a build and let it run for a few weeks during development to find memory leaks. Then the final release enters our longevity lab where we put it under some amount of load and let it run until the device or VM is retired. It won't necessarily find the bug before final release, we could either recall that version or submit an immediate maintenance version that fixes the issue once discovered.

Software will always have bugs, we've chosen to approach it as "find the bugs before the customer" rather than "stomp out every possible bug". Because you are right, we don't get 2 months to pause and fix bugs, and also customers will always do some crazy configuration or workload you didn't have a test case for.

Re: Why Windows 95 and 98 would crash after 49.7 days of uptime

#30
post #19

Earlier quoted context omitted.

About 15 years ago, I worked at a startup that had a server with 5 years of uptime!

I have a home server with 1301 days of uptime.. (last year it survived a move without rebooting)

> (last year it survived a move without rebooting)

How? UPS?

Post reply on HN