I just nailed a bug in Awasu that has been around for quite a long time but has been incredibly difficult to track down, resisting several attempts on my part to find it.
Until now, and I'm so happy it's gone 'cos it was really pissing me off 😡
The problem was that Awasu was getting stuck during shutdown and either not exiting properly or crashing. Most of you probably won't have even noticed it unless you were watching things in Task Manager but I have special diagnostics turned on that alert me when Bad Things like this happen and it was happening a lot 🙁 The bug was groan-inducingly, head-bangingly obvious, once I found it, but finding it proved to be incredibly difficult.
One of the fun things about working in I.T. is that computer programmers are well known for their love of wordplay and a lot of the jargon has a definite bent feel to it. One of my favorites is heisenbug a reference to Heisenberg's Uncertainty Principle. An important concept in physics, the usual lay description of it is that the very act of observing something affects what is being observed, making experiments and the like difficult since simply looking at what's happening changes the result!
In computers, a heisenbug is a bug that goes away when you start looking for it, the process of trying to figure out what's happening changes the environment enough to make it not happen. Obviously, these kind of bugs are insanely difficult to deal with.
It turned out that this particular bug happened if new content arrived at just the right time when Awasu was shutting down. Since I suspected the problem had something to do with channels updating, I'd be sitting there constantly updating all my channels trying to get it to happen but the more often I did this, the less likely it would be that new content would arrive. In other words, the longer I spent looking for the problem, the less likely it was to happen.