HP-UX creation of Mib dumps core.
Frank Fock
Frank.Fock____t-online.de
Wed Feb 5 19:57:39 CET 2003
Hi Gopi,
Are you using the latest AGENT++ version? This issue
should be already fixed. Please let me know if not.
Best regards,
Frank
Gopi Krishna Bhavaraju wrote:
> Hi all,
>
> We are developing an Agent which supports HP-UX. This agent works fine
> when built with Debug flags. However when built with no debug flags the
> agent dumps 'core' when run for the first time. From next time onwards
> it works as expected. After a bit debugging I found that it is failing
> while creating new Mib() object. I am using default constructor for
> this. If I use the other constructor (which takes path where persistent
> MIB objects would be stored) it works fine. We are not planning to use
> persistent MIB. So, what are work arounds for this problem? It looks
> like Mib::persistent_objects_path is not getting intialized correctly.
>
> Thanks & Regards,
> --Gopi.
>
> *Stack Trace:*
> #0 0xc01f45a0 in kill () from /usr/lib/libc.2
> #1 0xc0191948 in raise () from /usr/lib/libc.2
> #2 0xc01d1f7c in abort_C () from /usr/lib/libc.2
> #3 0xc01d1fd4 in abort () from /usr/lib/libc.2
> #4 0xc0f3660c in __PureVirtualCalled () from /usr/lib/libCsup.2
> #5 0x8843c in LogEntry::init ()
> from
> /export/home3/p4/csabuild/np_common/snmp/agentlib/test_agent/./hp-ux/Release/test_agent
>
> #6 0x6ba94 in __ct__11TaskManagerFP10ThreadPooli_2 ()
> from
> /export/home3/p4/csabuild/np_common/snmp/agentlib/test_agent/./hp-ux/Release/test_agent
>
> #7 0x6d0b0 in __ct__10ThreadPoolFi_2 ()
> from
> /export/home3/p4/csabuild/np_common/snmp/agentlib/test_agent/./hp-ux/Release/test_agent
>
> #8 0x5c5a4 in __ct__3MibFv_2 ()
> from
> /export/home3/p4/csabuild/np_common/snmp/agentlib/test_agent/./hp-ux/Release/test_agent
>
> #9 0x32428 in main ()
> from
> /export/home3/p4/csabuild/np_common/snmp/agentlib/test_agent/./hp-ux/Release/test_agent
>
>
>
>
More information about the AGENTPP
mailing list