A fix is available
APAR status
Closed as program error.
Error description
After inlining a function that allocates a block of memory, the pointer to the memory is optimized away, and subsequent references to the memory result in an 0C4 segmentation fault. === EXAMPLE === MISSING LOAD: 010947 | * IndexBlock->NextBlock = CurIndexBlock; 010947 | LG r15,#SPILL2(,r13,376) 010947 | ST r15,(*)IndexBlock_T.NextBlock(,r5,0) PRESENT LOAD: 010947 | * IndexBlock->NextBlock = CurIndexBlock; 010947 | L r14,pNewIndexBlock(,r13,216) // *** 010947 | LG r7,#SPILL2(,r13,312) 010947 | ST r7,(*)IndexBlock_T.NextBlock(,r14,0)
Local fix
Disable inlining or use #pragma noinline to prevent inlining of the problem function.
Problem summary
**************************************************************** * USERS AFFECTED: XLC Users using the HGPR option. * **************************************************************** * PROBLEM DESCRIPTION: Runtime segmentation failure. * **************************************************************** .
Problem conclusion
Apply service provided.
Temporary fix
Comments
APAR Information
APAR number
PI85577
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
790
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-08-09
Closed date
2017-10-04
Last modified date
2018-04-04
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CCNECICS CCNECWI CCNED210 CCNEDSCT CCNEDWRT CCNEFILT CCNEHIFC CCNEMDEP CCNEOPTP CCNEP CCNEPP CCNETBY CCNMSGE CCNMSGT
Fix information
Fixed component name
C/C++ FOR MVS
Fixed component ID
56551210A
Applicable component levels
R790 PSY UI50869
UP17/10/20 P F710
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"790","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSQKCWV","label":"IBM C\/C++ for MVS\/ESA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"790","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
09 August 2024