Re: [ES40-developers] Warning: device structures clobbered
Status: Alpha
Brought to you by:
iamcamiel
From: Camiel V. <iam...@gm...> - 2008-02-18 16:21:17
|
Hi David, That sounds like a pretty nasty thing is happening somewhere, and I sure don't like the sound of it. Perhaps we could use a debugger to try and pinpoint where this comes from... Camiel. On Feb 18, 2008 5:14 PM, Hittner, David T. <dav...@ng...> wrote: > I had added a pointer variable to the very beginning of the DEC21143 > object, > and was trying to figure out why I was getting a crash in some queing > code that I had added, > which was dereferencing the pointer. > > It turns out that my pointer variable was getting clobbered somewhere > during program execution; > however, I had no code (other than the device constructor) which > modified the variable. > > When I moved the pointer variable further down into the DEC21143 > structure, the crashes ceased. > I didn't try to debug where the pointer was being overwritten, just the > fact that it was being modified. > > It's possible that the base CPCIDevice stucture is being rewritten, and > is overwriting > into the derived device structure. I don't know if this has any > relevance regarding various > pci device errata that we have seen, but I thought I'd let everyone know > that this happened. > > Dave > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Es40-developers mailing list > Es4...@li... > https://lists.sourceforge.net/lists/listinfo/es40-developers > |