IBM Support

IV22062: APPLICATION CAN CRASH WHEN UNLOADING / RELOADING A LIBRARY APPLIES TO AIX 6100-07

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This problem is only seen with C++ programs built on
    AIX v5 and run on AIX v6 or v7.
    .
    The program must repeatedly load and unload libraries
    that use static constructors during execution, then a
    stale pointer to freed memory may be used and the
    application may crash.
    .
    DB2 versions prior to DB2 10.1 have experienced this
    problem appearing as DB2 server hang or crash, with
    the trap file diagnostics frequently including malloc
    or initializeXalan functions.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 6100-07 Technology Level with the
    * following filesets at the 6.1.7.15 level.
    *   bos.64bit
    *   bos.adt.prof
    *   bos.rte.control
    *   bos.rte.libc
    *   bos.rte.shell
    *   mcr.rte
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * This problem is only seen with C++ programs built on
    * AIX v5 and run on AIX v6 or v7.
    *
    * The program must repeatedly load and unload libraries
    * that use static constructors during execution, then a
    * stale pointer to freed memory may be used and the
    * application may crash.
    *
    * DB2 versions prior to DB2 10.1 have experienced this
    * problem appearing as DB2 server hang or crash, with
    * the trap file diagnostics frequently including malloc
    * or initializeXalan functions.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IV22062.
    * Prior to APAR availability, an interim fix is available at:
    *
    *  ftp://public.dhe.ibm.com/aix/ifixes/iv22062/
    ****************************************************************
    

Problem conclusion

  • Ensure proper handling of static constructor pointers
    

Temporary fix

  • *********
    * HIPER *
    *********
    

Comments

APAR Information

  • APAR number

    IV22062

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    YesHIPER

  • Submitted date

    2012-06-02

  • Closed date

    2012-06-07

  • Last modified date

    2013-02-26

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U853366

       UP12/07/17 I 1000 ®

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSLLZP","label":"AIX Standard Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSAUMY","label":"IBM AIX Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11Q","label":"AIX 6.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"APARs - AIX 7.1 environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
26 February 2013