[AGENT++] Mib deletion has caused HEAP[FaxExchangeServer.exe]: Invalid Address specified to RtlFreeHeap

Yasemin YILMAZ yaseyilmaz at gmail.com
Wed Jun 2 14:56:30 CEST 2010


Hi all,

I firstly wrote a sample application that all variables related to snmp are
in main function. In that case mib deletion didn't cause a problem. But then
snmp variables has defined a class in real application, snmp initialization
operations has been implemented in main thread, snmp request processing loop
has been written in another thread and mib deletion has been called there.
Program has crashed on mib deletiton line (delete my_mib;) The following
error is shown.


HEAP[FaxExchangeServer.exe]: Invalid Address specified to RtlFreeHeap(
00F20000, 0012FDF0 )
Windows has triggered a breakpoint in myapp.exe.
This may be due to a corruption of the heap, which indicates a bug in
myappexe or any of the DLLs it has loaded.


I didn't add signal functions. This is not the reason of the problem, isn't
it? I thought that maybe mib deletion calling from another thread can be
problem and I have moved that code to main thread but same problem has
continued.

Program normally has terminated if I have commented deleting codes (mib,
requestlist, v3mp deletions).

What can this problem's reason be? Please help to understand what the
problem can be..


Best regards,
Yasemin



More information about the AGENTPP mailing list