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: Users using the HGPR option * **************************************************************** * PROBLEM DESCRIPTION: Runtime segmentation failure * **************************************************************** .
Problem conclusion
Apply service provided.
Temporary fix
Comments
APAR Information
APAR number
PI95829
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
791
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-03-27
Closed date
2018-03-29
Last modified date
2018-08-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
CCNECICS CCNECWI CCNED211 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
R791 PSY UI54849
UP18/04/25 P F804
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":"791","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":"791","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
09 August 2024