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



Rate this page:

(0 users)Average rating

Document information


More support for:

AIX Enterprise Edition

Software version:

610

Operating system(s):

AIX

Reference #:

IV22982

Modified date:

2013-02-26

Translate my page

Machine Translation

Content navigation