HP-UX creation of Mib dumps core.
Gopi Krishna Bhavaraju
gopi____pspl.co.in
Thu Feb 6 12:02:11 CET 2003
Hi Frank,
I am using AgentPP - version 3.5.6 and SnmpPP - version 3.2.1b. I don't want to upgrade to the new version. So, is it possible to simply update the affected source file(s) to fix this problem ?
Thanks in advance,
Regards,
--Gopi.
Frank Fock wrote:
> 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
> >
> >
> >
> >
--
Senior Member of Technical Staff
Persistent Systems, Bhageerath,
402, SB Road, Pune 411016, India.
Ph: Off - +91-20-5678900, Ext 530
Res - +91-20-5881178
More information about the AGENTPP
mailing list