IBM Support

PI36172: CLEARMAKE MAY CRASH WITH GLIBC ERRORS IF MAKEFLAGS ENVIRONMENT VARIABLE CONTAINS A MACRO DEFINITION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the IBM Rational ClearCase "clearmake" tool to
    perform a build, the tool will crash with one of the following
    errors if the MAKEFLAGS environment variable contains a
    definition of a macro name that is 7 characters long:
    *** glibc detected *** clearmake: free(): invalid next size
    (fast): 0x08f1b3b8 ***
    *** glibc detected *** clearmake: free(): invalid pointer:
    0x08e6bec0 ***
    
    If the macro name in the MAKEFLAGS environment variable is 6 or
    fewer characters, the crash does not occur
    
    The following MAKEFLAGS environment variable will cause
    clearmake to crash:
    MAKEFLAGS=LOADVER=FOO
    
    The following do not:
    MAKEFLAGS=LONGNAME=FOO
    MAKEFLAGS=SHORTY=FOO
    

Local fix

  • At this time, the best workaround is to disable glibc's memory
    checking by setting the following environment variable
    MALLOC_CHECK_=0
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of IBM Rational ClearMake                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When using the IBM Rational ClearCase "clearmake" tool to    *
    * perform a build, the tool will crash if the MAKEFLAGS        *
    * environment variable contains a definition of a macro name   *
    * that is 7 characters long.                                   *
    ****************************************************************
    * 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

    PI36172

  • 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-03-03

  • 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