IBM Support

IV57736: LOG FILE AGENT MAY CORE, CRASH ON HP-UX WHEN NUMEVENTSTOCATCHUP IS USED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the configuration option NumEventsToCatchUp is set to a
    valueother than zero, the Log File Agent may core, crash on
    HP-UX. The problem occurs on Log File Agent v6.3.
    
    The core might show the following:
    Core was generated by `kloagent'.
    Program terminated with signal 11, Segmentation fault.
    SEGV_MAPERR - Address not mapped to object
    ........
    (gdb) where
    #0  0xc000000010a30320:0 in UpdateRestartFileBaseFunction () at
    kumpfdp2.c:427
    #1  0xc000000010a32760:0 in UpdateRestartFileWithStats () at
    kumpfdp2.c:553
    #2  0xc000000010a3d970:0 in DoFileTailRestart () at
    kumpfdp2.c:893
    #3  0xc000000010a90af0:0 in KUMP_FileServer () at kumpfile.c:235
    #4  0xc000000010b8eee0:0 in Task () at kumptask.c:35
    #5  0xc0000000000fb140:0 in __pthread_bound_body+0x190 ()
       from /usr/lib/hpux64/libpthread.so.1
    ........
    
    With a minimum of "KBB_RAS1:  ERROR (UNIT: kumpfdp2 ALL)
    tracing, the agent log
    <hostname>_lo_<instance>_kloagent_<timestamp>.log ends with
    trace entries similar to the following:
    - - -
    ...
    ...:kumpfdp2.c,173,"KUMP_ParseSingleRestartLine") Parsing
    RecPtr 6000000000736F4F <735>
    ...:kumpfdp2.c,1250,"KUMP_ParseNumericString") Unsuccessfully
    parsed <NULL> to value 735
    ...:kumpfdp2.c,200,"KUMP_ParseSingleRestartLine") Error: parsed
    location <NULL> file <735> creation <NULL> modification <NULL>
    size <NULL> with RecPtr 6000000000736F53
    ...:kumpfdp2.c,427,"UpdateRestartFileBaseFunction") Note:
    Required fields missing from restart file </opt/IBM/ITM/logs/L
    O_default_LogfileEvents_hpia5.rst>
    ...:kumpfdp2.c,173,"KUMP_ParseSingleRestartLine") Parsing
    RecPtr 6000000000736F53 <;>
    ...:kumpfdp2.c,200,"KUMP_ParseSingleRestartLine") Error: parsed
    location <NULL> file <NULL> creation <NULL> modification
    <NULL> size <NULL> with RecPtr 5FFFFFFFA0736F52Page 34 of 35
    ...:kumpfdp2.c,427,"UpdateRestartFileBaseFunction") Note:
    Required fields missing from restart file
    </opt/IBM/ITM/logs/LO_default_LogfileEvents_hpia5.rst>
    - - -
    
    
    RECREATE INSTRUCTIONS:
    1. In the configuration file for the Log File Agent
    instance,specify NumEventsToCatchUp=<value other than zero>.
    
    2. Start the Log File Agent instance
    

Local fix

Problem summary

  • On HP-UX, when the configuration option NumEventsToCatchUp is
    set to a value other than zero, the agent might core.
    The agent continued processing, even though the parsing of the
    restart file line was treated as a failure and the required
    field values were missing (NULL).
    
    The problem occurs on Log File Agent v6.3 and v6.2.3.2.
    

Problem conclusion

  • Handle the return value properly from parse function, so the
    parsing of the restart file row continues.
    
    The fix for this APAR is included in the following maintenance
    vehicle:
    
    | interim fix | 6.3.0-TIV-ITM_LFA-IF0002
    
    available at
    http://www.ibm.com/support/docview.wss?uid=swg24037287.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV57736

  • Reported component name

    ITM LOG FILE AG

  • Reported component ID

    5724C04LF

  • Reported release

    630

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-27

  • Closed date

    2014-04-29

  • Last modified date

    2014-04-29

  • 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 LOG FILE AG

  • Fixed component ID

    5724C04LF

Applicable component levels

  • R630 PSY

       UP

[{"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:
30 December 2022