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.

The craziest bug you never heard about from 2008: A Linux threading regression

99 pointsby tcover 11 years ago

6 comments

JoeAltmaierover 11 years ago
Furnace controller product - optimized energy consumption in a steel recycling furnace. Customer reported the furnace got &#x27;stuck&#x27; every couple of hours, the electrodes quit moving so it continued to burn electricity (megawatts!) but wasn&#x27;t melting anything.<p>Turned out it was the &#x27;power saving&#x27; setting on the PC. To save a couple of watts it slowed down the CPU, and screwed up a furnace that burned megawatts. Probably wasted more electricity in a day than the &#x27;power save&#x27; feature saved in the whole US for a year.
评论 #7134814 未加载
评论 #7132716 未加载
评论 #7131906 未加载
Uchikomaover 11 years ago
Craziest to me is The Bug by Ellen Ullman.<p>Personal craziest was an Oracle performance problem on Windows NT in the 90s. Slow as hell. Going to the server, logging in, checking everything: Blazing fast. Back at the desk, slow as hell. Problem was the GL tube screen blanker with software rendering :-)
评论 #7130572 未加载
评论 #7130315 未加载
评论 #7130318 未加载
mguillemotover 11 years ago
My craziest bug was a Java clock issue. If you had some specific model of motherboard, calling System.getCurrentTimeMillis() repetitively could actually make your system clock run faster. I mean, actually CHANGE the system clock. For real. Like 10% faster. That led to veeeeery interesting issues related to timing on the game I was working on, and of course it me took days before I would even think that my problems could be caused by the time actually running faster on different machines.
评论 #7133248 未加载
LeonMover 11 years ago
Wow, already down, that was a fast one ;)<p>Cached version <a href="http://webcache.googleusercontent.com/search?q=cache:http://timetobleed.com/digging-out-the-craziest-bug-you-never-heard-about-from-2008-a-linux-threading-regression/" rel="nofollow">http:&#x2F;&#x2F;webcache.googleusercontent.com&#x2F;search?q=cache:http:&#x2F;&#x2F;...</a>
评论 #7130544 未加载
评论 #7130547 未加载
评论 #7130250 未加载
eloffover 11 years ago
Luajit on Linux x64 uses MAP_32BIT so this bug will also affect it. Heaven help you if you were using luajit and pthreads in the same process.
Moral_over 11 years ago
Oe the site comes back up the author has a phenomenal analysis of the perf events local root exploit from over the summer. If you&#x27;re interested in exploit development or just security bugs in the kernel his analysis is great. He takes the time to explain things at a level that even the worst cs student could understand.
评论 #7131677 未加载