TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Gpsd bug may create a 1024 week time warp on October 23

137 pointsby ogeralmost 4 years ago

15 comments

Someonealmost 4 years ago
From the gpsd homepage (<a href="https:&#x2F;&#x2F;gpsd.gitlab.io&#x2F;gpsd&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;gpsd.gitlab.io&#x2F;gpsd&#x2F;index.html</a>): <i>“GPSD is everywhere in mobile embedded systems. It underlies the map service on Android phones. It&#x27;s ubiquitous in drones, robot submarines, and driverless cars. It&#x27;s increasingly common in recent generations of manned aircraft, marine navigation systems, and military vehicles.”</i><p>FTA: <i>“Will it be cherry-picked back to the 3.20, 3.21, and 3.22 branches?<p>gpsd does not have enough volunteers to maintain &quot;branches&quot;. Some distros try to cherry pick, but usually make things worse.<p>This bug was announced on gpsd-dev and gpsd-users email lists. So the packagers for several distros already saw it. What they do is what they do.”</i><p>So, it seems gpsd is like the tz database, a few volunteers maintaining an essential part of our software infrastructure.
评论 #28046944 未加载
评论 #28047473 未加载
AnonHPalmost 4 years ago
I saw in another comment here by offmycloud [1] that this affects:<p>&gt; Android phones and tablets. &quot;In addition, the Android smartphone operating system (from version 4.0 onwards and possibly earlier; we don&#x27;t know for sure when the change happened) uses GPSD to monitor the phone&#x27;s on-board GPS, so every location-aware Android app is indirectly a GPSD client.&quot;<p>Can someone explain how the patch for this will reach all Android devices (especially the large number of devices running older versions of the OS and not getting any updates at all)? What exactly are the consequences for these users?<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28045191" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=28045191</a>
评论 #28047441 未加载
dolmenalmost 4 years ago
Global warming is breaking our software.<p>From <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;gpsd&#x2F;gpsd&#x2F;-&#x2F;issues&#x2F;144#note_633612324" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;gpsd&#x2F;gpsd&#x2F;-&#x2F;issues&#x2F;144#note_633612324</a><p>&gt; Until last year, leap seconds had been very predicable. The effect of global warming on earth rotational speeds was only very recently seen, or even predicted. But, yes, going forward, that needs to change.
评论 #28047367 未加载
fisherjeffalmost 4 years ago
Somewhat unrelated: Can someone explain the rationale for writing comparisons in the ordering they&#x27;re using (e.g., 2180 &lt; week)?<p>I&#x27;ve seen similar before and always thought it seemed error-prone to not write them the way they&#x27;d be spoken aloud, but happy to entertain other explanations.
评论 #28043958 未加载
评论 #28043446 未加载
评论 #28045768 未加载
评论 #28043461 未加载
评论 #28043436 未加载
评论 #28044428 未加载
评论 #28043778 未加载
callesggalmost 4 years ago
I don’t understand if this is an actual bug.<p>I have heard that the timing on gps is somehow delivered as weeks and that the bitsize of the variable keeping track of the weeks is to small. So every now and then the weeks reset and this is managed through overrides in the clients. Is this bug not just referencing that thing, the override of the week rollover?
评论 #28042888 未加载
craigdsalmost 4 years ago
Being unfamiliar with GPSD, what devices&#x2F;services would this be likely to affect?
评论 #28043301 未加载
评论 #28045191 未加载
dheeraalmost 4 years ago
Why do people use gpsd instead of just reading $GPGLL or $GPRMC from &#x2F;dev&#x2F;ttyACM0 or &#x2F;dev&#x2F;ttyUSB0 or whatever, which always seemed far more reliable to me?
评论 #28044162 未加载
评论 #28043749 未加载
mithusingh32almost 4 years ago
This brings back so many nightmares at my old job. These kind of things would creep up on us all that time and we&#x27;d spend a week or so scratching our heads in how the hell did our systems would travel time.
beatthatflightalmost 4 years ago
Note the heading is an error. In the comments of the bug :<p>&quot;Ooops, 16 Oct, 2021, was supposed to b 31 Dec 2022. My calendar error. That needs to be fixed.&quot;
评论 #28046373 未加载
fomine3almost 4 years ago
It is surprising that this bug found in just three month ago from the day.
darylteoalmost 4 years ago
As a business, on a scale of 1-10 how worried should I be?
评论 #28045849 未加载
axusalmost 4 years ago
We just replaced some old GPS time-servers that have a similar bug.
评论 #28043892 未加载
sydthrowawayalmost 4 years ago
Is global warming really affecting the Earth’s rotation?
评论 #28061134 未加载
benbojanglesalmost 4 years ago
oh cool, because that&#x27;s my birthday
colejohnson66almost 4 years ago
How do we not have a way to predict leap seconds?
评论 #28042956 未加载
评论 #28044293 未加载
评论 #28042871 未加载
评论 #28043201 未加载
评论 #28042944 未加载
评论 #28043507 未加载
评论 #28042782 未加载
评论 #28045276 未加载