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

Frank Fock fock at agentpp.com
Thu Jun 3 01:11:04 CEST 2010


Hi Yasemin,

There can be three possible causes for the described error:

(1) Wrong order when deleting MIB, reqquest list, etc.
(2) Deletion is called more than once.
(3) An heap allocation error in an instrumentation code
of one or more MIB objects.

Best regards,
Frank

On 02.06.2010 14:56, Yasemin YILMAZ wrote:
> 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
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp

-- 
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the AGENTPP mailing list