IBM Support

IV22982: APPLICATION CAN CRASH WHEN UNLOADING / RELOADING A LIBRARY APPLIES TO AIX 6100-06

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-06 Technology Level with the
    * following filesets at the 6.1.6.18 level.
    *   bos.64bit
    *   bos.adt.prof
    *   bos.rte.control
    *   bos.rte.libc
    *   bos.rte.shell
    ****************************************************************
    * 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 IV22982.
    * Prior to APAR availability, an interim fix is available at:
    *
    *  ftp://public.dhe.ibm.com/aix/ifixes/iv22982/
    ****************************************************************
    

Problem conclusion

  • Ensure proper handling of static constructor pointers
    

Temporary fix

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

Comments

APAR Information

  • APAR number

    IV22982

  • 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-13

  • Closed date

    2012-06-13

  • Last modified date

    2013-02-26

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

    IV22062

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

Fix information

  • Fixed component name

    AIX 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U853617

       UP12/08/13 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