IBM Support

IV85274: BINARY SEGFAULT WHEN COMPILED WITH IPA/PDF

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When compiling a large application with IPA/PDF, the following
    segfault could be experienced:
    
    
    Segmentation fault in DbCursorExternalAbs::__dftbdt() at
    0x1009e2308 ($t1)
    0x1009e2308 (DbCursorExternalAbs::__dftbdt()+0x8) f8030000
    std   r0,0x0(r3)
    
    The stack looks like this:
    
    DbCursorExternalAbs::__dftbdt()(??) at 0x1009e2308
    invokedtr.__Invoke__Destructor() at 0x9000000302ce160
    __DoThrowV6() at 0x9000000302d0178
    dynpen00(??) at 0x100fe972c
    .
    .
    .
    main()
    
    ===== ACTUAL OUTPUT:
    Segfault at runtime
    
    ===== EXPECTED OUTPUT:
    Should run to completion
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Users of -qipa=level=0 (and up) with exception handling in
    their code may be affected by this issue.
    
    PROBLEM DESCRIPTION:
    Abend in C++ exception handling runtime during user program
    execution may occur.  This is due to an
    oversight in fix-up code after inlining an EH-aware function
    into a non-EH-aware function.
    

Problem conclusion

  • The compiler issue has been resolved by adding logic to fix-up
    code after inlining to take into account non-zero exception
    states.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV85274

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-05-31

  • Closed date

    2016-08-15

  • Last modified date

    2016-08-15

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

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

    IV85634

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RD10 PSY

       UP



Document information

More support for: XL C for AIX
Compiler

Software version: 13.1

Reference #: IV85274

Modified date: 15 August 2016