IBM Support

IV53347: INCOMPLETE ENTITY AGENT DATA CAN CAUSE A CORE DUMP IN THE AGENT AND IMPACT ON THE COMPLETION OF DISCOVERY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Product: Tivoli Network Manager
    Version: 3.9
    Component:  Entity Agent
    
    
    Symptoms:  The Entity Agent exits unexpectedly and writes a core
    file into $NCHOME/precision/PD/core/ncp_agent
    
    Stacktrace on the core file includes similar results to this:
    
    #10 0x00227bec in CDiscoEntityAgent::ResolveInterfaces
    (this=0x95d54a0, neRecord=0xf71004e0, neMedData=0xf6e00488,
    entityDataByPhysIndex=@0x93de0b4)
        at CDiscoEntityAgent.cc:1279
    
    Full stacktrace was
    #0  0x007be430 in __kernel_vsyscall ()
    #1  0x007e9b01 in ?? ()
    #2  0x007eb3da in ?? ()
    #3  0x0052db87 in ?? () from /usr/lib/libstdc++.so.6
    #4  0x0052b9e6 in
    std::__timepunct<char>::_M_initialize_timepunct(__locale_struct*
    ) () from /usr/lib/libstdc++.so.6
    #5  0x0052ba23 in
    std::__timepunct<char>::_M_initialize_timepunct(__locale_struct*
    ) () from /usr/lib/libstdc++.so.6
    #6  0x0052bb62 in
    std::__timepunct<char>::_M_initialize_timepunct(__locale_struct*
    ) () from /usr/lib/libstdc++.so.6
    #7  0x004cc200 in std::locale::_Impl::_Impl(char const*,
    unsigned int) () from /usr/lib/libstdc++.so.6
    #8  0x00509be2 in std::string::_S_construct(unsigned int, char,
    std::allocator<char> const&) () from /usr/lib/libstdc++.so.6
    #9  0x00509cf6 in std::basic_string<char,
    std::char_traits<char>, std::allocator<char>
    >::basic_string(std::allocator<char> const&) () from
    /usr/lib/libstdc++.so.6
    #10 0x00227bec in CDiscoEntityAgent::ResolveInterfaces
    (this=0x95d54a0, neRecord=0xf71004e0, neMedData=0xf6e00488,
    entityDataByPhysIndex=@0x93de0b4)
        at CDiscoEntityAgent.cc:1279
    #11 0x0022ac81 in CDiscoEntityAgent::ProcessEntityData
    (this=0x95d54a0, neRecord=0xf71004e0, neMedData=0xf6e00488) at
    CDiscoEntityAgent.cc:415
    #12 0x0022be8a in CDiscoEntityAgent::DADoProcessLayer
    (this=0x95d54a0, neRecord=0xf71004e0) at
    CDiscoEntityAgent.cc:333
    #13 0x001bf178 in CDiscoAgent::DAProcessLayer (this=0x95d54a0,
    neRecord=0xf71004e0) at CDiscoAgent.cc:1553
    #14 0x001bf1dc in CDiscoAgent::DADoPhasedNeProcessing
    (this=0x95d54a0, neRecord=0xf71004e0) at CDiscoAgent.cc:6048
    #15 0x001bf276 in CDiscoAgent::DAProcessNe (this=0x95d54a0,
    neRecord=0xf71004e0) at CDiscoAgent.cc:1040
    #16 0x001c075d in CDiscoAgent::DAProcessNewNe (this=0x95d54a0,
    neRecord=0xf71004e0) at CDiscoAgent.cc:909
    #17 0x001ebb20 in newNeThreadFn (work=0xf71004e0,
    closure=0x95d54a0) at DiscoAgentNewNeThreadFn.cc:54
    #18 0x00b5d5df in CRivServPool::MainWorkLoop (this=0x95f4b50) at
    CRivServPool.cc:360
    #19 0x00b5cbd9 in CRivServPool::ThreadStartFunction
    (arg=0x95f4b50) at CRivServPool.cc:281
    #20 0x006dda49 in pthread_getschedparam () from
    /lib/libpthread.so.0
    #21 0x0089de1e in ?? () from /lib/libc.so.6
    
    Agent Trace file ends:
    
    Time: 1386228092 DHRGetAnswer(): Send REQ KEY:1386228092.377
    dest: a.b.c.d
    DHRGetAnswer Waiting for answer.
    Time: 1386228092 Received REQ KEY: 1386228083.351
    Time: 1386228092 Finished REQ KEY:1386228083.351
    ::DAUFStoreSnmpDLinTLByIndex(), NULL data source or destination
    ::DAUFStoreSnmpDLinTLByValue(), NULL data source or destination
    terminate called after throwing an instance of
    'std::logic_error'
      what():  basic_string::_S_construct NULL not valid
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All platform                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Core dump happened when enable Entity Agent in discovery.    *
    * It's triggered by incomplete data downloaded being           *
    * downloaded which later causes core dump when Entity Agent    *
    * try to process it.                                           *
    *                                                              *
    * Core message will be similar to below:                       *
    * 0x00227bec in CDiscoEntityAgent::ResolveInterfaces           *
    * (this=0x95d54a0, neRecord=0xf71004e0, neMedData=0xf6e00488,  *
    * entityDataByPhysIndex=@0x93de0b4)                            *
    *     at CDiscoEntityAgent.cc:1279                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * The fix for this APAR is contained in the following          *
    * maintenance packages:                                        *
    * |fix pack | 3.9.0-ITNMIP-FP0004|                             *
    ****************************************************************
    

Problem conclusion

  • Fix the broken function to avoid core dump
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV53347

  • Reported component name

    TIV NETWK MGR I

  • Reported component ID

    5724S4500

  • Reported release

    390

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-12-16

  • Closed date

    2014-01-30

  • Last modified date

    2014-01-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    TIV NETWK MGR I

  • Fixed component ID

    5724S4500

Applicable component levels

  • R390 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHRK","label":"Tivoli Network Manager IP Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.9","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
30 January 2014