Fixes are available
January 2012 PTF for XL C for AIX, V11.1
January 2012 PTF for XL C/C++ for AIX, V11.1
April 2012 PTF for XL C for AIX, V11.1
April 2012 PTF for XL C/C++ for AIX, V11.1
July 2012 PTF for XL C/C++ for AIX, V11.1
October 2012 PTF for XL C/C++ for AIX, V11.1
October 2012 PTF for XL C for AIX, V11.1
February 2013 PTF for XL C for AIX, V11.1
February 2013 PTF for XL C/C++ for AIX, V11.1
XL C/C++ for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C for AIX Fix Pack 14 (May 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C for AIX Fix Pack 15 (August 2013 PTF) for 11.1
XL C/C++ for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 17 (February 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C/C++ for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 21 (April 2015 PTF) for 11.1
XL C/C++ for AIX Fix Pack 22 (September 2015 PTF) for 11.1
XL C for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 23 (March 2016 PTF) for 11.1
XL C for AIX Fix Pack 24 (September 2016 PTF) for 11.1
XL C/C++ for AIX Fix Pack 24 (September 2016 PTF) for 11.1
July 2012 PTF for XL C for AIX, V11.1
XL C for AIX Fix Pack 16 (November 2013 PTF) for 11.1
XL C for AIX Fix Pack 18 (May 2014 PTF) for 11.1
XL C for AIX Fix Pack 19 (August 2014 PTF) for 11.1
XL C for AIX Fix Pack 20 (November 2014 PTF) for 11.1
XL C for AIX Fix Pack 22 (September 2015 PTF) for 11.1
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
IV11658
Reported component name
XL C/C++ AIX
Reported component ID
5724X1300
Reported release
B10
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-12-02
Closed date
2012-01-10
Last modified date
2012-01-10
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
XL C FOR AIX
Fixed component ID
5724X1200
Applicable component levels
Document Information
Modified date:
10 January 2012