IBM Support

IT32986: MEMORY LEAK WHEN USING ESQL/C DESCRIBE STATEMENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible.

Error description

  • There is a chance of leaking a small amount of memory
    (associated to the internal sql_da structure) when using
    DESCRIBE to get information about fields in a SQL statement.
    The leak will only appear if you use the same prepared statement
    for both DESCRIBE and DECLARE statements like:
    
      sqlcmd = "SELECT * FROM tab1 WHERE pkey = ? AND name = ?";
      EXEC SQL PREPARE :stmt1 FROM :sqlcmd;
      EXEC SQL DESCRIBE INPUT :stmt1 INTO sqlda_input;
      EXEC SQL DECLARE :stmt2 CURSOR FOR :stmt1;
    
    and you free the first statement ('stmt1') first.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * NONE                                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * NONE                                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT32986

  • Reported component name

    IBM CSDK

  • Reported component ID

    5724C2381

  • Reported release

    450

  • Status

    CLOSED UR5

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-05-27

  • Closed date

    2022-10-21

  • Last modified date

    2022-10-21

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

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

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVT2J","label":"Informix Tools"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"450","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
21 October 2022