Tom Ramcigam (magicmarmot) wrote,
Tom Ramcigam

Trying to debug code that communicates between systems using shared memory.

There is no synchronization mechanism. Events are asynchronous and unscheduled.

The shared memory is shared between two different operating systems running simultaneously on the same computer.

One application is written in a mixture of C++, C, and assembly, and runs in an OS that you've probably never heard of. There are some limited debugging tools. The other side runs in Windows, but is written in Delphi (kind of like a stunted Pascal), and the debugging tools are abysmal.

The structure of some of these pieces... who in their right mind puts a communication buffer in the middle of an IO control block?

I'm trying to discover the root cause of a problem where a part of the data for the IO control is not getting passed properly between the two pieces. I don't know whether it's getting written over, or if it's misaligned, or what is going on.

I did make one change to a structure, but really the code shouldn't be dependent on changing offsets by a change in structure definition, unless it's being referenced in some hidden way...
Tags: techgeek, work

  • (no subject)

    It finally happened. It had to, really. I was in the bottom two cut from LJ-Idol this week. I made it to the top 50, from some rather larger…

  • Mayville

    "Too many bats in the belfry, eh?" The question came from a small man in the scrubs-and-robe garb of an inmate. He looked a little like a garden…

  • LJ-Idol

    Another batch of entries. Consistently amazed at how good the writing is. Voting is open for…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.