exception by class Vb distructor,when running trap example intest_app

Dave Mason dmason____transat-tech.com
Tue Jun 3 16:52:43 CEST 2003


Hi,
I've had this problem many times myself.  After pouring through my user 
code and the toolkit code, I couldnt find anything wrong.  Later, I saw 
another post here from somebody who mentioned he saw a crash like this, 
and he said the problem went away after he rebuilt the snmp++ and 
agent++ libraries.  Unfortunately I dont know more than that, but it has 
to be some kind of memory corruption problem that is caused by something 
in the toolkit build process.

Dave

Jochen Katz wrote:

> Hi,
>
>> using snmp++ as a dll , win2k.
>> It seems that pointer attribute iv_vb_value is used for operator delete,
>>     when the memory pointed by it, is already freed.
>
>
> the class Vb will never delete this value twice, so there must be 
> another problem.
>
> Do you use agent++ in your app? Then try increasing the thread stack 
> size in threads.h.
>
> Can you reproduce it with a simple example? Does it also occur if you 
> compile snmp++ as a static lib?
>
> Regards,
>   Jochen
>
>




More information about the AGENTPP mailing list