TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What’s the worst bug you’ve written or encountered?

6 点作者 palmdeezy超过 4 年前

4 条评论

AnimalMuppet超过 4 年前
Worst in what sense? Did the most damage, or hardest to find, or just most mind-blowing?<p>We had a customer whose Unix environment didn&#x27;t pass a stderr file handle to running programs. So if you tried to print something to stderr, it scribbled on whatever file happened to be open on handle number 2. This got reported to us as a bug. After looking at it, we told them to fix their insane runtime environment.
评论 #24856480 未加载
评论 #24842566 未加载
actionowl超过 4 年前
I&#x27;ve probably seen worst than this but this one comes to mind.<p>A sysadmin had (I can only assume accidentally) removed the SUID bit from the crontab binary causing an application we used that invoked the binary to not work. To even allow this to work we had a custom SELinux module that we suspected had the issue.<p>I ended up comparing systrace output between a working instance and the broken instance (in prod) to track it down.
croo超过 4 年前
Most mind boggling: a three character long comment addition in java code broke the build pipeline. It was 100% reproducable. Nothing else was in the commit. Reverting fixed it, re commiting broke the build again.<p>It happened because the mvn on the build server ran out of memory exactly because of that 3 character addition.
wryoak超过 4 年前
I can&#x27;t think of a particular bug, but I encountered one database so horribly misused, so poorly configured, for which no staff was given proper training, and with no data sanity checks in place, such that the university department using it had lost in excess of $700K revenue through one of its services over the course of 3 years.
评论 #24849871 未加载