IBM Support

LI77142: DESTRUCTOR NOT CALLED FOR DESTROYED OBJECT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A large program during execution, throws an exception
    within a try block.
    
    When the exception is thrown out of a specific function, the
    object that was created within the catch scope above should be
    destroyed after exiting the catch block.
    
    
    But the problem is that the destructors for that object are not
    called leading to incorrect execution of the program.
    

Local fix

  • n/a
    

Problem summary

  • USERS AFFECTED:
    The compiler was incorrectly considering a user-defined empty
    virtual destructor as trivial and eliminating it.
    
    PROBLEM DESCRIPTION:
    The problem is exposed with user-defined empty virtual
    destructors.
    

Problem conclusion

  • The problem has been fixed, the compiler no longer considers a
    virtual destructor as trivial even when it is empty.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77142

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-17

  • Closed date

    2012-12-17

  • Last modified date

    2012-12-17

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

    IV28617

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021