Patch-ID# 105569-26 Keywords: sigtimedwait libthread sigterm sigalrm siglwp pthread_cancel unbound Synopsis: SunOS 5.6_x86: /usr/lib/libthread.so.1 patch Date: Sep/15/2003 Install Requirements: Additional instructions may be listed below Install in Single User Mode Reboot after installation See Special Install Instructions Solaris Release: 2.6_x86 SunOS Release: 5.6_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 105568 Topic: SunOS 5.6_x86: /usr/lib/libthread.so.1 patch NOTE: Refer to Special Install Instructions section for IMPORTANT specific information on this patch. Relevant Architectures: i386 BugId's fixed with this patch: 1171284 4052568 4061436 4061967 4068431 4074769 4079302 4088215 4094736 4099186 4100047 4102420 4104703 4106127 4110026 4110816 4137254 4141709 4145630 4146993 4151727 4152428 4157739 4169614 4173285 4182028 4209710 4209922 4213647 4219506 4220253 4229175 4234139 4236427 4237201 4275819 4300228 4303962 4307551 4336933 4484522 4517584 4730459 Changes incorporated in this version: 4730459 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 105211-34 or greater Obsoleted by: Files included with this patch: /usr/include/thread.h /usr/lib/libthread.so.1 /usr/lib/libthread_db.so.1 Problem Description: 4730459 Standard libthread library can cause coredump or hang (from 105569-25) 4517584 bad performance due to serialization in mutex_destroy() (from 105569-24) 4484522 Call from HotSpot JavaVM to libthread "T1" thr_suspend hangs calling thread (from 105569-23) 4300228 threaded process grows tired of receiving signals (from 105569-22) 4236427 Sybase Replication Server crashes on Multi-CPU Ultra Platforms (from 105569-21) 4145630 automountd generates error messages when year set to 2035 Fix for overflow problem in bug 4145630 is incomplete 4336933 Fix for overflow problem in bug 4145630 is incomplete (from 105569-20) 4303962 multi-threaded fork1/execvp can fail because __environ_lock is held in parent (from 105569-19) 4275819 Missed sigusr2 while running Java VM 4219506 timing window in libthread on SPARC and intel 4209922 JCK test for java.awt.print.Book.getPageFormat aborts on x86/5.7 and x86/5.6. (from 105569-18) 4307551 td_sync_get_info() returns incorrect ownership information. (from 105569-17) 4229175 Application using thread cancellation hangs on solaris 2.6. (from 105569-16) 4052568 libthread/libpthread is not fork1-safe (as documented) (from 105569-15) 4106127 SUMMARY: x86 4.2 C++ compiler and pthread_exit() don't get along 4234139 signal BUS in _sc_setup() 4237201 SEGV in _delcallout (from 105569-14) 4220253 pnmrtop failed with exit code 5 (from 105569-13) 4213647 Libthread provides a set of fast thread suspension and resumption interfaces 4146993 The libthread for exactVM has an assertion failure 4152428 thr_{wait,suspend}_mutator prone to "hang" 4157739 Thread suspension/resumption interferes pathologically with mutex acquisition 4169614 Doug Lea's program results in thread library panic 4151727 Every lwp gets an "idle thread" with 1MB stack 4099186 thr_create panic due to reaching fd limit 4182028 _sc_list is corrupted by exiting lwp in child of a fork() 4209710 libthread panic (SEGV) in _onproc_deq (from 105569-12) 1171284 user-allocated thread stacks must be zeroed or process hangs 4173285 sleep(3T) is in error by less than 1 sec (from 105569-11) 4137254 MT application may not make progress due to lack of lwps (from 105569-10) 4141709 libthread deadlock between SIGALRM and SIGLWP 4102420 segv's and libthread panics when numerous pthread_cancel()'s are run 4061967 assertion failure in _disp() for cancellation test. (from 105569-09) 4074769 mutex performance is suboptimal and should be improved 4110816 UNIX98 VSTH sigwait() test 5 failed NOTE: This revision is a repackaging of revs 07/08 which were determined to require prior installation of libc patch, 105211-11, to ensure proper operation. Otherwise, the libthread patch exposes a latent bug in libc which causes GIF/JPG attachments to not appear through sdtimage when double clicked as attachments in dtmail. (from 105569-08) 4110816 UNIX98 VSTH sigwait() test 5 failed (from 105569-07) 4074769 mutex performance is suboptimal and should be improved (from 105569-06) 4061436 assert failure when creating timer thread 4094736 async io on solaris 2.6 does not generate SIGIO when linked with libthread (from 105569-05) 4110026 sigwait() returns '-1' by SIGLWP when compiled/linked with '-lthread' (from 105569-04) 4068431 pthread_cancel(pthread_self()) should not cause cancellation. 4104703 UNIX98 pthread_create test failed - thread did not return PTHREAD_CANCELED (from 105569-03) 4100047 fork1() never returns in a multithreaded application causing process to hang (from 105569-02) 4088215 sleep in main thread broken on Solaris 2.6 (from 105569-01) 4079302 sigtimedwait() is not working properly Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- Reboot system after patch installation. NOTE1: To get the complete fix for bug 4102420 (segv's and libthread panics when numerous pthread_cancel()'s are run), one also needs to install the libc patch, 105211-13 or newer. NOTE2 : Use of this patch in some cases is associated with the keyserv daemon to stop running. If the system is using facilities which require the daemon's use, please install 'keyserv' 108308-01 or newer. NOTE3: To get the complete fix for bug 4052568 (libthread/ libpthread is not fork1-safe as documented), one need to install the libc patch, 105211-27 or newer. README -- Last modified date: Monday, September 15, 2003