IBM Support

IJ25499: ON SOLARIS, UNIX OS AGENT CRASHES WITH INVALID KCID VALUE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: Across versions - 6.3 FP7
    
    Problem Description: On
    Solaris, the Monitoring Agent for UNIX OS crashes when an
    invalid value for the kcid is returned from the kstat_read API
    call.
    
    Related Files and Output: In the agent RAS1 log with
    tracing set to (UNIT:vm ALL), the following message can be seen
    showing a value other than 0, -1, or a positive number:
    
    (5EA903
    8B.6770-A:vm_stat_externals.cpp,1785,"get_cpu_stats") kcid =
    -185337964
    
    If a core file is generated, it will show a stack
    trace that includes:
    
    #0 0x00000001002e3428 in
    __1cNget_cpu_stats6FpnLsysvminfo_t__i_ ()
    #1 0x00000001002caebc
    in __1cICpuStatsGsample6MpnDstdDmap4CinLCpuStatInfo_n0BEless4Ci_
    _n0BJallocator4n0BEpair4Ckin0C________v_ ()
    #2
    0x0000000100245f28 in __1cQCpuStatsTemplateTupdateCpuStatistics6
    MnDstdMbasic_string4Ccn0BLchar_traits4Cc__n0BJallocator4Cc_____v
    _ ()
    #3 0x000000010012bce8 in
    __1cSomunx_unixos_agentKTakeSample6M_v_ ()
    #4
    0xffffffff7dad9630 in __1cFctiraTDriveDataCollection6M_I_ ()
    from /opt/IBM/ITM/tmaitm6/sol286/lib/libkra.so
    #5
    0xffffffff7daea088 in
    __1cMTableManagerXcheckForExpiredRequests6Ml_v_ () from
    /opt/IBM/ITM/tmaitm6/sol286/lib/libkra.so
    #6 0xffffffff7daea800
    in __1cMTableManagerHtimeout6FpnPCTRA_Timerspec___v_ () from
    /opt/IBM/ITM/tmaitm6/sol286/lib/libkra.so
    #7 0xffffffff7da77f00
    in __1cPCTRA_timer_baseUTimerCallbackHandler6M_v_ () from
    /opt/IBM/ITM/tmaitm6/sol286/lib/libkra.so
    #8 0xffffffff7da75f48
    in __1cMHandler_base6Fpv_v_ () from
    /opt/IBM/ITM/tmaitm6/sol286/lib/libkra.so
    #9 0xffffffff7da794a0
    in __1cPCTRA_timer_task6Fpv_0_ () from
    /opt/IBM/ITM/tmaitm6/sol286/lib/libkra.so
    #10
    0xffffffff7b149884 in _lwp_start () from
    /lib/sparcv9/libc.so.1
    #11 0xffffffff7b149884 in _lwp_start ()
    from /lib/sparcv9/libc.so.1
    

Local fix

Problem summary

  • On Solaris, UNIX OS Agent crashes with invalid KCID value.
    
    On Solaris, the Monitoring Agent for UNIX OS crashes when an
    invalid value for the kcid is returned from the kstat_read API
    call.
    

Problem conclusion

  • The API call was returning a value of -185337964 whereas valid
    values are supposed to be -1, 0, or greater than 0.   The code
    has been updated to handle the invalid value correctly.
    
    The fix for this APAR is contained in the following maintenance
    packages:
    
    | Service Pack | 6.3.0.7-TIV-ITM-SP0007
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ25499

  • Reported component name

    ITM AGENT UNIX

  • Reported component ID

    5724C040U

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-06-10

  • Closed date

    2021-04-07

  • Last modified date

    2021-04-07

  • 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

    ITM AGENT UNIX

  • Fixed component ID

    5724C040U

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"630","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 March 2023