Hacker News 中文摘要

RSS订阅

真实硬件上确认运行2.5年后发生毁灭性崩溃 -- Doom crash after 2.5 years of real-world runtime confirmed on real hardware

文章摘要

《DOOM》在真实硬件上连续运行2.5年后发生崩溃,这一现象已得到确认。该事件揭示了长时间运行对硬件和软件的潜在影响,引发了关于系统稳定性和耐久性的讨论。

文章总结

《DOOM》在真实硬件上运行2.5年后崩溃事件确认

2025年9月16日,LenOwO论坛发布了一则关于经典游戏《DOOM》在真实硬件上运行2.5年后崩溃的讨论。该实验由论坛管理员minki发起,旨在验证《DOOM》引擎中一个变量溢出是否会导致游戏崩溃。

minki在两年前阅读了一篇关于《DOOM》引擎工作原理的文章,发现一个用于追踪演示的变量在每次演示结束后仍会持续递增,并与前一个值进行比较。理论上,这种递增可能导致变量溢出,但在正常游戏场景中几乎不可能发生。出于好奇,minki进行了计算,预计大约需要2.5年时间才会发生溢出。

为了验证这一假设,minki将《DOOM》安装在一台小型PDA上,并通过DIY的18650电池UPS供电,确保设备持续运行。实验开始后,minki几乎忘记了这一项目,直到2025年9月16日,设备弹出崩溃提示,证实了变量溢出导致游戏崩溃的预期结果。

这一实验不仅验证了《DOOM》引擎的潜在问题,也展示了在真实硬件上进行长期软件测试的可行性。minki的实验为技术爱好者提供了一个有趣的案例,展示了经典游戏在现代硬件上的极限表现。

评论总结

评论内容总结:

  1. 对内容的怀疑与验证需求

    • 评论1和评论2表达了对此内容的怀疑,认为需要更多的证据或代码片段来验证其真实性。
    • 引用:
      • "I am going to need to see this replicated before I can believe."(评论1)
      • "Seems to be a PocketPC port of Doom, with no source given or even a snippet of the relevant code/variable name/etc. shown at all."(评论2)
  2. 对技术问题的讨论

    • 评论6和评论10提到了技术问题,特别是关于整数溢出和调试日志的挑战。
    • 引用:
      • "Left for 2.26 years, it will overflow. When it does finally overflow, we get 'minus' time and the game breaks in funny ways."(评论6)
      • "Just be glad you knew what the bug was before you started. After 2.5 years... 'Shit, I forgot to enable debug logging'."(评论10)
  3. 对游戏本身的评价

    • 评论7表达了对《Doom》游戏的喜爱,同时对系列后续作品提出了批评。
    • 引用:
      • "Doom is actually such a good game, I always go back to it every few years. The 2016 reboot is also pretty fun, but the later two in the series didn’t do it for me."(评论7)
  4. 对网站性能的调侃

    • 评论3和评论8提到了网站加载速度和存档链接的问题。
    • 引用:
      • "Not a comment on the post, but I sure wish Jira would load even half as quickly as this site."(评论3)
      • "Since we've hugged the site to death, have an archive.org link."(评论8)
  5. 对未来事件的幽默预测

    • 评论4和评论5以幽默的方式提到了2038年可能发生的事件和预测的不可靠性。
    • 引用:
      • "2038 is going to be a fun year."(评论4)
      • "The easy way to e-Nostradamus predictions: 'See this crash? I predicted it years ago. Don't ask me how, I couldn't tell you.'"(评论5)
  6. 对技术细节的提问

    • 评论9和评论11提出了关于技术细节和游戏运行方式的问题。
    • 引用:
      • "Has this ever come up in a TAS of custom levels?"(评论9)
      • "glitchless?"(评论11)