News for hackers. Stuff that matters.
Re:Ask HN: What was the most annoying bug you ever debugged? by mikewarot on Friday January 31, 2025 @12:18AM (#42884906)
1997 - Windows 98, HP 4000 printer drivers assumed you had the floating point libraries loaded into windows, and just dynamically unloaded them whenever they felt like it. So, everything would work fine, until you did something that had to compute the page dimensions (and thus use floating point).

Forcing the loading of the floating point libraries fixed it, but it took months to track it down.

It turns out it was an optimizing compiler that HP didn't properly set the options on, in their make setup.

Re:Ask HN: What was the most annoying bug you ever debugged? by ZevsVultAveHera on Friday January 31, 2025 @03:06AM (#42885580)
Probably wildest story involving loading/unloading libraries I have ever read about. How you noticed that? Had to resolve to memory debugging?
Re:Ask HN: What was the most annoying bug you ever debugged? by mikewarot on Friday January 31, 2025 @11:14AM (#42888947)
It was about 6 months of nagging errors. The busier the user was, the more likely the blue screen. In the end it was just sheer persistence in searching the Internet for answers until I finally found it.