A fix is available
APAR status
Closed as program error.
Error description
See Problem Summary.
Local fix
na
Problem summary
APAR NUMBER: PJ40719 PRODUCT: z/TPF FUNCTIONAL AREA: Open source C library SHIPPED IN PUT: 10 ABSTRACT: An OPR-4 (000004) system error might occur out of genops.c when opening or closing folders in a threaded environment. PACKAGE CONTENTS: Source Segments: None. Object Only Binaries: None. Configuration Independent Binaries: None. Support Files: None. OTHER BINARIES TO BUILD: YES (C) opensource/include/bits/libc-lock.h (C) opensource/glibc/obj/genops.o (C) opensource/stdlib/libCISO.so (C) opensource/stdload/CISO.so COMMENTS: The File Stream List in the CISO library (part of the I/O support for glibc) is not thread safe. When opening and closing new files in threads, corruption might occur in the File Stream List. The implementation of the File Stream processing, which makes locking calls, is located in genops.c.
Problem conclusion
SOLUTION: z/TPF pthread mutex lock and unlock calls were added to the libio macros, which are available for coding platform-specific locking APIs. COREQS: NO None. MIGRATION CONSIDERATIONS: NO None. BUILD COMMANDS AND INSTRUCTIONS: YES #maketpf commands for linux maketpf -f cisohdrs opensource/include/bits/libc-lock.h maketpf -f CISO genops.o maketpf CISO link TPF_VERIFY_LINK_REFS=NO maketpf CISO link UPDATED INFORMATION UNITS: NO None. See your IBM representative if you need additional information. DOWNLOAD INSTRUCTIONS: APAR URL: http://www.ibm.com/software/htp/tpf/ztpfmaint/put10/PJ40719.htm http://www.ibm.com/software/htp/tpf/ztpfmaint/runtimelib.html
Temporary fix
Comments
APAR Information
APAR number
PJ40719
Reported component name
Z/TPF
Reported component ID
5748T1501
Reported release
110
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-11-14
Closed date
2012-12-05
Last modified date
2012-12-05
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
Z/TPF
Fixed component ID
5748T1501
Applicable component levels
R110 PSY
UP
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.