Bill Roper (billroper) wrote,
Bill Roper
billroper

Mystery Bug, Are You Ready For Your Mystery Bug?

The locking fixes that I put in seem to be working. Unfortunately, the client side of the product is now failing as we try to update reports using an external COM library. Better yet, it only fails in a release build when it isn't running under the debugger. This makes finding the problem exciting.

It turns out that we've stored a great many copies of the pointer to the COM object, so I figured if I eliminated all of the extra copies, maybe I could eliminate the bug.

Then I discovered that every once in a while, we use a different copy of the COM object that isn't the big shared one. So now I need to put the pointer back in the objects that collectively were holding too many copies of the pointer to the shared COM object, but ignore the value that's there when I should be using the shared pointer.

My brain hurts. I hate modifying other people's code, especially when it could use just a wee bit more documentation.

*sigh*
Tags: musings, work
Subscribe

  • Planning. Planning Would Be Good

    Gretchen and I have a concert slot on Saturday for the Festival of the Living Rooms. We are now trying to figure out what we should put in it. Well,…

  • Bits and Pieces

    I am rather surprised to find that the Cardinals are suddenly in sole possession of the second wild-card berth in the NL. I am keeping my fingers…

  • Yet Another Pulled Pork Sandwich

    Gretchen and I went to City Barbeque for lunch yesterday and I decided to try the pulled pork sandwich there for the first time. This particular…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments