A fix is available
Closed as program error.
See 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.
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
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels
Rate this page:
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.