General bug hunting
This area is somewhere to discuss debugging in general, with or without the assistance of Undo.
I was asked to take a look at a failure of a test that I wrote many years ago. This failure was, as far as we could tell, new, but it didn’t look like a regression. The test was multi-threaded with asynchronous signals using setitimer() to fire SIGALRMs at it. It appeared to have completed successfu...
Although I’m supposed to be busy these days running the company I still like to write code when I can carve out some time. I tell myself it’s important to understand the world of our customers, but really that’s just an excuse - it’s still my happy place :) Forever we’ve wanted to make it easy to st...
I recently added a function of our code whose purpose was to concatenate the contents of two memory regions. The basic scheme was:Ensure destination region is large enough Work out number of bytes that need copying (len) Work out offset to copy bytes to Do memcpy(dest + offset, src, len);It being ea...
Already have an account? Login
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.