IBM Support

IV28577: MEMORY LEAK IN _HEAPMIN

Fixes are available

November 2012 PTF for XL C for AIX, V12.1
November 2012 PTF for XL C/C++ for AIX, V12.1
March 2013 PTF for XL C for AIX, V12.1
March 2013 PTF for XL C/C++ for AIX, V12.1
XL C/C++ for AIX Fix Pack 4 (June 2013 PTF) for 12.1
XL C/C++ for AIX Fix Pack 5 (September 2013 PTF) for 12.1
XL C/C++ for AIX Fix Pack 7 (January 2014 PTF) for 12.1
XL C for AIX Fix Pack 8 (March 2014 PTF) for 12.1
XL C/C++ for AIX Fix Pack 8 (March 2014 PTF) for 12.1
XL C/C++ for AIX Fix Pack 11 (February 2015 PTF) for 12.1
XL C for AIX Fix Pack 12 (May 2015 PTF) for 12.1
XL C/C++ for AIX Fix Pack 12 (May 2015 PTF) for 12.1
XL Fortran for AIX Fix Pack 11 (May 2015 PTF) for 14.1
XL C/C++ for AIX Fix Pack 13 (August 2015 Update) for 12.1
XL Fortran for AIX Fix Pack 12 (August 2015 Update) for 14.1
XL C/C++ for AIX Fix Pack 14 (December 2015 Update) for 12.1
XL C for AIX Fix Pack 15 (April 2016 Update) for 12.1
XL C/C++ for AIX Fix Pack 15 (April 2016 Update) for 12.1
XL Fortran for AIX Fix Pack 15 (April 2016 Update) for 14.1
XL C for AIX Fix Pack 16 (July 2016 Update) for 12.1
XL C/C++ for AIX Fix Pack 16 (July 2016 Update) for 12.1
XL Fortran for AIX Fix Pack 16 (July 2016 Update) for 14.1
XL C/C++ for AIX Fix Pack 17 (November 2016 Update) for 12.1
XL C for AIX Fix Pack 17 (November 2016 Update) for 12.1
XL Fortran for AIX Fix Pack 17 (November 2016 Update) for 14.1
XL C for AIX Fix Pack 18 (February 2017 Update) for 12.1
XL C/C++ for AIX Fix Pack 18 (February 2017 Update) for 12.1
XL Fortran for AIX Fix Pack 18 (February 2017 Update) for 14.1
XL C for AIX Fix Pack 19 (August 2017 Update) for 12.1
XL C/C++ for AIX Fix Pack 19 (August 2017 Update) for 12.1
XL Fortran for AIX Fix Pack 19 (August 2017 Update) for 14.1
XL C for AIX Fix Pack 20 (March 2018 Update) for 12.1
XL C/C++ for AIX Fix Pack 20 (March 2018 Update) for 12.1
November 2012 PTF for XL Fortran for AIX, V14.1
March 2013 PTF for XL Fortran for AIX, V14.1
XL C for AIX Fix Pack 4 (June 2013 PTF) for 12.1
XL Fortran for AIX Fix Pack 4 (June 2013 PTF) for 14.1
XL C for AIX Fix Pack 5 (September 2013 PTF) for 12.1
XL Fortran for AIX Fix Pack 5 (September 2013 PTF) for 14.1
XL C for AIX Fix Pack 6 (December 2013 PTF) for 12.1
XL C/C++ for AIX Fix Pack 6 (December 2013 PTF) for 12.1
XL Fortran for AIX Fix Pack 6 (December 2013 PTF) for 14.1
XL C for AIX Fix Pack 7 (January 2014 PTF) for 12.1
XL Fortran for AIX Fix Pack 7 (March 2014 PTF) for 14.1
XL C for AIX Fix Pack 9 (July 2014 PTF) for 12.1
XL C/C++ for AIX Fix Pack 9 (July 2014 PTF) for 12.1
XL Fortran for AIX Fix Pack 8 (July 2014 PTF) for 14.1
XL C for AIX Fix Pack 10 (October 2014 PTF) for 12.1
XL C/C++ for AIX Fix Pack 10 (October 2014 PTF) for 12.1
XL Fortran for AIX Fix Pack 9 (October 2014 PTF) for 14.1
XL C for AIX Fix Pack 11 (February 2015 PTF) for 12.1
XL Fortran for AIX Fix Pack 10 (February 2015 PTF) for 14.1
XL C for AIX Fix Pack 13 (August 2015 Update) for 12.1
XL C for AIX Fix Pack 14 (December 2015 Update) for 12.1
XL Fortran for AIX Fix Pack 14 (December 2015 Update) for 14.1
XL C/C++ for AIX Fix Pack 21 (January 2019 Update) for 12.1
XL C for AIX Fix Pack 21 (January 2019 Update) for 12.1

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When using the _heapmin() function contained within the user
    heap/memory debug toolkit, heap memory usage grows without bound
    causing a memory leak.
    

Local fix

  • Do not use _heapmin() functionality.
    

Problem summary

  • PROBLEM DESCRIPTION:
    When linking with the heap debug library, and making use of the
    _heapmin() functionality, memory is not freed by the library.
    
    USERS AFFECTED:
    Users of the _heapmin() function from the heap debug library.
    

Problem conclusion

  • The issue was corrected, and memory no longer leaks.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV28577

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    540

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-21

  • Closed date

    2012-11-07

  • Last modified date

    2012-11-07

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

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

    IV33783

Fix information

  • Fixed component name

    MEMORY RUNTIME

  • Fixed component ID

    5765C6401

Applicable component levels



Document information

More support for: XL C/C++ for AIX
C/C++ Runtime

Software version: 12.1

Reference #: IV28577

Modified date: 07 November 2012