IBM Support

LI76646: SIGNAL 11 IN IPA64 WITH INCORRECT PDF PROFILE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When using an incorrect profile file while compiling with PDF,
    TPO produces a core and stops the compilation with the following
    stack trace:
    
    $ dbx  ipa64 core
    Type 'help' for help.
    warning: The core file is not a fullcore. Some info may
    not be available.
    [using memory image in core]
    reading symbolic information ...warning: no source compiled with
    -g
    
    
    Segmentation fault in leftmost at 0x900000000020c2c
    0x900000000020c2c (leftmost+0xc) e8a90008          ld
    r5,0x8(r9)
    (dbx) where
    leftmost(??, ??) at 0x900000000020c2c
    malloc_y(0x21, 0x0, 0x9001000a0065b30, 0x1, 0xc, 0x0, 0x36,
    0xfffffffffff8dc8) at 0x900000000023404
    malloc_common@AF79_63(??) at 0x90000000001f988
    __ct__16ExtensibleStringFUi(??, ??) at 0x1000ea8bc
    FPrint__7MessageFQ2_7Message6ERouteUiN22PCcT2T5T2T5T2T5T2T5(??,
    ??, ??, ??, ??, ??, ??, ??) at 0x1001a3370
    Print__7MessageFUiPCcN42(??, ??, ??, ??, ??, ??, ??) at
    0x1000cae34
    signal_traceback(??, ??, ??) at 0x100959254
    @847@IPASignalHandler(??, ??, ??) at 0x100958ed4
    leftmost(??, ??) at 0x900000000020c2c
    malloc_y(0x20, 0x300000003, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) at
    0x900000000023404
    realloc_y(??, ??, ??) at 0x900000000022180
    realloc_common(??, ??) at 0x90000000001f0e8
    GrowTo__7ArrayOfXT17ExceptionFSMEntry_FUi@AF99_8(??, ??) at
    0x1000ca318
    GrowTo__7TableOfXT17ExceptionFSMEntry_FUi@AF100_7(??, ??, ??) at
    0x1000ca528
    AddEntryAtPosition__7TableOfXT17ExceptionFSMEntry_FUi(??, ??) at
    0x10100cb6c
    MergeTable__14ExceptionTableFR9ProcedureRC14ExceptionTableUiRPUs
    RP9HashTableXTUiTUi_(??, ??, ??, ??, ??, ??) at 0x1010188dc
    @775@MergeTables__FP9ProcedureR13CallGraphNodeUiP14ExceptionTabl
    eT4R16ControlFlowGraphRC13CallGraphEdgeP7TableOfXTi_RUiT9RPUsR6L
    istOfXT18removedEdgeElement_RP9HashTableXTUiTUi_
    (??, ??, ??, ??, ??, ??, ??, ??) at 0x10101417c
    @775@InlineCallsite__FUiRP15CompUnitMappingRP9HashTableXTUiTUi_R
    6ListOfXT14EdgeListRecord_R9BitVectorR6ListOfXTUi_R6ListOfXT18re
    movedEdgeElement_R9HashTableXTUiTP14EdgeListReco
    rd_RUcR16ControlFlowGraphP7TableOfXTi_(0x3a3d00003a3d, 0x0,
    0x6c0, 0x0, 0x1fccc00000000, 0x0, 0x0, 0x0) at 0x10101212c
    @775@InlineEdgesInList__FR6ListOfXT14EdgeListRecord_(??) at
    0x100060ce8
    doTransformation__15DoEarlyInliningFv(??) at 0x101b8e734
    transform__19InterTransformationFv(??) at 0x10020c4a8
    Optimize__15LinkageInstanceFv(??) at 0x1016097e8
    InvokePass2__FiPPc(??, ??) at 0x1000d3430
    main(??, ??) at 0x100929ba8
    

Local fix

  • n/a
    

Problem summary

  • USERS AFFECTED:
    Anyone using IPA Level 1 or higher that has exception handling
    code could theorectically run into this
    
    PROBLEM DESCRIPTION:
    A segfault is hit during IPA Level 1 link in an internal
    optimization routine that performs inlining.
    

Problem conclusion

  • The compiler was fixed by disabling inlining recursive
    functions that are exception aware.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76646

  • 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

    2012-02-06

  • Closed date

    2012-02-06

  • Last modified date

    2012-02-06

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

    IV11658

  • 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



Document information

More support for: XL C/C++ for Linux

Software version: B10

Reference #: LI76646

Modified date: 06 February 2012