PM84026: LEAK REPORTED WHEN DEBUGGING A C/C++ AMODE64 APPLICATION

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When debugging a C/C++ AMODE64 application, customer reported a
    storage leak. Using tools such as MEMCHECK or HEAPCHK, the call
    flow leading up to the leak is:
    
     CELQVGHP      000000002A15F330  +0000000000000000   CELQLIB
     _dwarf_get_alloc
                   000000002C03BC68  +000000000000019A   CDAEQED
     _dwarf_string_convert_cs
                   000000002C078538  +00000000000000AC   CDAEQED
     _dwarf_string_get_string
                   000000002C077C08  +00000000000001D4   CDAEQED
     dwarf_linesrc
                   000000002C064268  +0000000000000102   CDAEQED
     dwarf_snf     000000002C19C648  +0000000000001880   CELQDSNF
     CELQTBCK      000000002A125938  +0000000000001710   CELQLIB
     CEEHICIB      0000000029E812D0  +0000000000000594   CELQLIB
     CEEHDSP       0000000029E60460  +00000000000003B8   CELQLIB
     CEEOSIGG      000000002A0B81E0  +0000000000001430   CELQLIB
    
    storage requested via CDA api dwarf_linesrc() was not being
    freed, and therefore led to the above reported leak.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of AMODE64 applications compiled   *
    *                 with the DEBUG compiler option.              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Language Environment is not freeing     *
    *                      storage that was obtained on behalf     *
    *                      of a call to dwarf_linesrc().           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    See problem description.
    

Problem conclusion

  • Code has been modified to correct this problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM84026

  • Reported component name

    LE C LIBRARY

  • Reported component ID

    568819805

  • Reported release

    780

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-04

  • Closed date

    2013-06-07

  • Last modified date

    2013-07-03

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

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

    UK94942 UK94943 UK94944

Modules/Macros

  • CELQDSNF
    

Fix information

  • Fixed component name

    LE C LIBRARY

  • Fixed component ID

    568819805

Applicable component levels

  • R770 PSY UK94942

       UP13/06/19 P F306

  • R780 PSY UK94943

       UP13/06/19 P F306

  • R790 PSY UK94944

       UP13/06/19 P F306

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

z/OS XL C/C++
Runtime

Software version:

780

Operating system(s):

MVS, z/OS

Reference #:

PM84026

Modified date:

2013-07-03

Translate my page

Machine Translation

Content navigation