[AGENT++] Access Violations on delete.
Frank Fock
fock at agentpp.com
Tue Jan 31 20:15:52 CET 2006
Hi Josh,
I would guess that the root cause for the memory corruption is not in
the OctetStr
or the Mib class. If you have changed any #define then you should recompile
everything - otherwise using a memory checker might help to find the
source of
the problem. Have you tried to compile and run the ATM example yet?
Best regards,
Frank
Josh Pressnell wrote:
> Greetings all!
>
> I've been working on getting a V3 mib up and running. I now believe I
> have the agent running, but when the agent exits and I call "delete
> mib;", I get notifications of memory corruption shortly followed by an
> access violation. I have tracked the issue to the MibContext
> destructor. When the MibContext tries to destruct the OctetStr
> "context", its smival appears corrupted.
>
> I've also had other problems when using OctetStr. In the initial
> startup of the mib, the creation of a local OctetStr appears to
> corrupt the stack and overwrite member variables in my thread class.
>
> Has anybody run into this problem before?
>
> Thanks in advance...
>
> -Josh
>
> --
> -- Official RTI e-mail ---
> --
>
>
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>
>
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the AGENTPP
mailing list