IBM Support

LI77437: 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

    LI77437

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5724X1400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-06-11

  • Closed date

    2013-06-11

  • Last modified date

    2013-06-11

  • 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

    5724X1400

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":"B10","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
14 October 2021