A fix is available
APAR status
Closed as program error.
Error description
Data from PDF1 generated code of a paralle application causes PDF2 link to fail. The problem is that PDF runtime is not threadsafe. This causes the value profiling mechanism to collect invalid values during runtime and confuses the PDF file reader during PDF2 compilation
Local fix
N/A
Problem summary
**************************************************************** * USERS AFFECTED: Any zOS parallel application that uses PDF * * option. * **************************************************************** * PROBLEM DESCRIPTION: The problem is that PDF runtime is not * * threadsafe on zOS. This causes the * * value profiling mechanism to collect * * invalid values during runtime and * * confuses the PDF file reader during * * PDF2 compilation. * **************************************************************** * RECOMMENDATION: * **************************************************************** WORKAROUND: Turning off part or all of value profiling via -Wl,I ,'IPADBG(NPDFVALSPEC)' or -Wl,I,'IPADBG(NPDFPTRCALL) ' will prevent the problem from being exposed in the first place. Customer has validated that this solves the problem seen. EXPECTED ERROR: Compile-time protection exception during PDF2. Could also lead to runtime exception after PDF1 compilation.
Problem conclusion
Use LE's compare-and-swap built-in as a locking mechanism to keep PDF runtime thread-safe. Only enable the thread-safe mechanism when user compiles with -W l,I,'IPADBG(PDFTHREADEDRT)' option with -qpdf1.
Temporary fix
Comments
APAR Information
APAR number
PM07988
Reported component name
C/C++ FOR MVS
Reported component ID
56551210A
Reported release
760
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2010-02-18
Closed date
2010-02-19
Last modified date
2010-04-03
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
UK54506
Modules/Macros
CCN$P0X CCN$P00 CCNPDF0A CCNPDF0B CCNPDF0C CCNPDF0D CCNPDF0E CCNPDF0F CCNPDF00 CCNPDF01 CCNPDF02 CCNPDF03 CCNPDF04 CCNPDF05 CCNPDF06 CCNPDF07 CCNPDF08 CCNPDF09 CCNPDF1A CCNPDF10 CCNPDF11 CCNPDF12 CCNPDF13 CCNPDF14 CCNPDF15 CCNPDF16 CCNPDF17 CCNPDF18 CCNPDF19
Fix information
Fixed component name
C/C++ FOR MVS
Fixed component ID
56551210A
Applicable component levels
R760 PSY UK54506
UP10/03/19 P F003
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":"760","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":"760","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]
Document Information
Modified date:
09 August 2024