Everyone knows that Macs are renowned for their incredible stability and ability to run for weeks without tiring, but it seems there's a small "time bomb" lurking deep within the operating system. Developer Photon recently discovered a strange and rare bug in macOS related to the TCP protocol, which is responsible for internet connections. This bug causes the system to suddenly shut down after a precisely defined period of time.

The fatal countdown to the internet
If you're the type of person who boasts that your Mac has never shut down since you bought it, you might want to reconsider your strategy. According to a new discovery, if you leave your Mac connected and running for exactly 49 days, 17 hours, 2 minutes, and 47 seconds, something terrible will happen: it will lose its internet connection completely, as if someone had unplugged it from the outside world.

The good thing about it (if there's anything good about technical glitches) is that the solution is incredibly simple; it's the classic solution everyone laughs at: "Shut it down and restart it." Restarting your Mac resets the timer and clears the software, allowing your internet to function normally again, and the countdown to another 49 days begins anew before your Mac decides to take a forced nap.
What's happening behind the scenes?
It's not magic or coincidence; it's a purely technical software issue related to how the system handles numbers. Photon explains that the problem stems from what's called a "32-bit integer overflow" in the macOS kernel known as XNU. Simply put, there's a flaw in how the Transmission Control Protocol (TCP) tracks timestamps.

When the counter reaches the maximum value that can be stored in a 32-bit variable, it "floods" or incorrectly resets to zero, causing system confusion and the failure of all new and existing connections. It's similar to an old car's odometer resetting to zero after reaching a million kilometers, but on a Mac, this reset prevents you from browsing your favorite website or sending a single email.
Why didn't you notice this mistake before?
Most likely, like most of us, you've never encountered this problem in your professional life. This isn't because your device is exceptionally powerful, but because Apple constantly releases system updates, and each update typically requires a system restart. Recently, Apple released macOS 26.4.1 just two weeks after macOS 26.4, and such short intervals are enough to kill the software behemoth before it even reaches fifty days of continuous operation.

However, if you're running your Mac as a server or consistently rejecting updates and leaving your machine running for months, you could fall victim to this vulnerability. The developer is currently working independently on a fix, and Apple is expected to release an official update to patch it in the near future, although it's not yet clear which versions of the operating system are specifically affected by this time bug.
How do you know how long your device has been running?
If you're curious to know if your device is nearing its "silent moment," you can easily check its uptime. All you have to do is open the Terminal app and type the word uptime Then press the Return button, and the system will immediately tell you the exact amount of time it has been without restarting.

There are also helpful tools that provide these statistics in a visually appealing and elegant way, such as the Particulars app or iStatMenus. So, if you find that your device has exceeded forty days of continuous use, perhaps it's time to give it a short break and a "tech coffee" by manually restarting it before it decides to go on strike at the worst possible time.
Source:



تعليق واحد