IBM Support

IV33783: MEMORY LEAK IN _HEAPMIN

Fixes are available

January 2013 PTF for XL C for AIX, V10.1
January 2013 PTF for XL C/C++ for AIX, V10.1
February 2013 PTF for XL C for AIX, V11.1
February 2013 PTF for XL C/C++ for AIX, V11.1
XL C/C++ for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 18 (July 2013 PTF) for 10.1
XL C/C++ for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 19 (October 2013 PTF) for 10.1
XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 21 (October 2015 PTF) for 10.1
XL C for AIX Fix Pack 21 (October 2015 PTF) for 10.1
XL C for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL Fortran for AIX Fix Pack 23 (March 2016 PTF) for 13.1
XL C for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL Fortran for AIX Fix Pack 24 (September 2016 PTF) for 13.1
January 2013 PTF for XL Fortran for AIX, V12.1
February 2013 PTF for XL Fortran for AIX, V13.1
May 2013 PTF for XL Fortran for AIX, V13.1
XL C for AIX Fix Pack 18 (July 2013 PTF) for 10.1
XL Fortran for AIX Fix Pack 18 (July 2013) for 12.1
XL Fortran for AIX Fix Pack 15 (August 2013 PTF) for 13.1
XL Fortran for AIX Fix Pack 19 (October 2013) for 12.1
XL C for AIX Fix Pack 19 (October 2013 PTF) for 10.1
XL C for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL Fortran for AIX Fix Pack 16 (November 2013 PTF) for 13.1
XL Fortran for AIX Fix Pack 17 (February 2014 PTF) for 13.1
XL C for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL Fortran for AIX Fix Pack 18 (May 2014 PTF) for 13.1
XL C for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL Fortran for AIX Fix Pack 19 (August 2014 PTF) for 13.1
XL C for AIX Fix Pack 20 (October 2014 PTF) for 10.1
XL C/C++ for AIX Fix Pack 20 (October 2014 PTF) for 10.1
XL Fortran for AIX Fix Pack 20 (October 2014 PTF) for 12.1
XL C for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL Fortran for AIX Fix Pack 20 (November 2014 PTF) for 13.1
XL Fortran for AIX Fix Pack 21 (April 2015 PTF) for 13.1
XL C for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL Fortran for AIX Fix Pack 22 (September 2015 PTF) for 13.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

    IV33783

  • Reported component name

    MEMORY RUNTIME

  • Reported component ID

    5765C6401

  • Reported release

    540

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-19

  • Closed date

    2012-12-19

  • Last modified date

    2012-12-24

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

    IV28577

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

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 #: IV33783

Modified date: 24 December 2012