[AGENT++] Proposal: Explicit save of persistent objects via SNMP
Frank Fock
fock at agentpp.com
Mon Nov 1 23:43:12 CET 2004
Hi Meena,
I think your posting is a bit off-topic - a new subject would have been
nice ;-)
From the trace I do not see why there should be a memory leak?
Rather it seems that there is a synchronization problem (i.e. another
thread has already freed the request). Please check your synchronization.
Hope this helps.
Best regards,
Frank
Meena Nallasivan wrote:
>Hi,
>
>we are facing a memory leak in agentpp. Please find the trace attached
>at the end of this mail.
>
>Any help appreciated.
>
>
>TRACE from the core
>----------------------
>
>
>#4 0x401c4d16 in __cxa_throw () from /usr/lib/libstdc++.so.5
>#5 0x401c4f02 in operator new(unsigned) () from /usr/lib/libstdc++.so.5
>#6 0x401c4fef in operator new[](unsigned) () from
>/usr/lib/libstdc++.so.5
>#7 0x086b17c1 in Oid::operator=(Oid const&) (this=0x411da8a8,
>oid=@0x1a266028) at oid.cpp:202
>#8 0x086b6525 in Vb::get_oid(Oid&) const (this=0x1a266028,
>oid=@0x411da8a8) at vb.h:149
>#9 0x086bccdf in Vb::operator=(Vb const&) (this=0x411da8a8,
>vb=@0x1a266028) at vb.cpp:101
>#10 0x086b374e in Pdu::get_vb(Vb&, int) const (this=0x1a273930,
>vb=@0x411da8a8, index=0) at pdu.cpp:257
>#11 0x083a0ee7 in Agentpp::Request::get_oid(int) (this=0x1a273160, i=0)
>at request.cpp:511
>#12 0x083944cb in Agentpp::Mib::process_request(Agentpp::Request*, int)
>(this=0xc98ca00, req=0x1a273160,
> reqind=0) at mib.cpp:3201
>#13 0x08394fcb in Agentpp::Mib::do_process_request(Agentpp::Request*)
>(this=0xc98ca00, req=0x1a273160)
> at mib.cpp:3459
>#14 0x0839ae53 in Agentpp::MibTask::run() (this=0x1a250330) at
>threads.cpp:826
>#15 0x0839a399 in Agentpp::TaskManager::run() (this=0xc98d1f8) at
>threads.cpp:738
>#
>
>
>
>
>
>
>Meena
>
>
>
>
>
More information about the AGENTPP
mailing list