IBM Support

PI41762: CLEARCASE ABE MAY CRASH WITH DOUBLE-FREE OR INVALID POINTER ERROR ON LINUX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When performing a parallel or distributed build using IBM
    Rational ClearCase clearmake on a Linux host, the Automated
    Build Executor (ABE) process may crash with the following
    message:
    
    *** glibc detected *** /opt/rational/clearcase/etc/abe: free():
    invalid pointer: 0x091ba4a8 ***
    
    While the error message may initially resemble the one in APAR
    PK66029, analysis shows that a different call stack is behind
    the issue.
    
    If core files are enabled, analysis of the core file may show
    that
    /opt/rational/clearcase/shlib/libezrpc.so is the clearcase
    library before libc.so.6.
    

Local fix

  • For a parallel build, where the ABE is directly executed by
    clearmake, set the MALLOC_CHECK_ environment variable to 0
    before starting clearmake.
    
    For a distributed build, the environment variable needs to be
    set on the remote build host.
    This can be done by:
    - using a a "wrapper script" in place of the ABE executable, or
    - Ensuring that the environment variable is set by all ssh
    sessions coming from the build user.
    
    The latter method may be challenging depending on the user
    shell, and how the ssh daemon is configured to process the
    user's shell startup scripts
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of IBM ClearCase clearmake.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * IBM ClearCase clearmake on a unix platform may crash with a  *
    * segmentation fault for a specific clearmake case where a     *
    * target has multiple dependencies, and in the building of the *
    * target, one or more of the dependencies are specifically     *
    * removed.                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix is available in ClearCase versions 8.0.1.11 and 9.0.0.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI41762

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-05-26

  • Closed date

    2016-05-27

  • Last modified date

    2016-05-27

  • 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

    CLEARCASE WIN

  • Fixed component ID

    5724G2900

Applicable component levels

  • R801 PSY

       UP

  • R900 PSY

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"801"}]

Document Information

Modified date:
17 June 2021