PJ40719: AN OPR-4 SYSTEM ERROR OCCURS OUT OF SEGMENT GENOPS.C DURING HTTP CLIENT PROCESSING- OPENSOURCE
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
NoSpecatt / Xsystem
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