Patch-ID# 114433-10 Keywords: stack overflow lgroup apis ppgsz mdb Synopsis: SunOS 5.9_x86: stack overflow - truss, ppgsz libproc patch Date: Sep/15/2004 Install Requirements: Install in Single User Mode Reboot immediately after patch is installed Solaris Release: 9_x86 SunOS Release: 5.9_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 113471 Topic: SunOS 5.9_x86: stack overflow - truss, ppgsz libproc patch Relevant Architectures: i386 BugId's fixed with this patch: 4254013 4271957 4533712 4668520 4686454 4756192 4783204 4797219 4845974 4893562 4921661 4950966 4951000 4955607 4955609 4955616 4955622 4961699 4976951 5016934 Changes incorporated in this version: 5016934 Patches accumulated and obsoleted by this patch: 115485-01 Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /usr/bin/adb /usr/bin/cputrack /usr/bin/gcore /usr/bin/i86/adb /usr/bin/i86/mdb /usr/bin/i86/ppgsz /usr/bin/i86/prstat /usr/bin/i86/truss /usr/bin/mdb /usr/bin/newtask /usr/bin/nohup /usr/bin/pargs /usr/bin/pcred /usr/bin/pfiles /usr/bin/pflags /usr/bin/pldd /usr/bin/plimit /usr/bin/pmap /usr/bin/ppgsz /usr/bin/prctl /usr/bin/preap /usr/bin/prex /usr/bin/prstat /usr/bin/prun /usr/bin/ps /usr/bin/psig /usr/bin/pstack /usr/bin/pstop /usr/bin/ptime /usr/bin/ptree /usr/bin/pwait /usr/bin/pwdx /usr/bin/savecore /usr/bin/setuname /usr/bin/sort /usr/bin/tnfxtract /usr/bin/truss /usr/bin/uptime /usr/bin/w /usr/lib/isaexec /usr/lib/libproc.so.1 /usr/lib/rcap/rcapd /usr/sadm/lib/wbem/rds /usr/sbin/lockstat /usr/sbin/prtconf /usr/sbin/swap /usr/sbin/sysdef /usr/sbin/whodo /usr/ucb/ps Problem Description: 5016934 pstack reports that libc.so.1's _msgrcv() calls user application code directly (from 114433-09) 4921661 prstat -L gives bogus totals when using cpu/pset filters (from 114433-08) 4950966 prstat -m is incorrect for microstate accounting (from 114433-07) 4976951 trace build, syntax, and lint errors following P4783204 putback (from 114433-06) 4783204 Solaris/IA32 should save/restore SSE/SSE2 register set on context switch 4951000 _sse_hw has wrong scope 4955609 _sse_hw is data, not a function 4955607 sseblk.o should be part of ASSYM_DEPS 4955616 SI86FPSTART is broken on Pentium 3 with C++ run-time 4961699 S9U6 corrupts xmm0 registers 4955622 getcontext copies out kernel stack garbage 4893562 add SSE/SSE2 support to dis, kadb, mdb (from 114433-05) 4686454 getrusage is much slower on Solaris than competitive boxes (from 114433-04) 4797219 pstack is amazingly inefficient for MT targets 4756192 pstack goes into loop, different location than bugid 4524527 4271957 ucontext_t.uc_link points to garbage (from 114433-03) 4668520 anon option for ppgsz needed (from 114433-02) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u5 feature point patch 115485-01. (from 114433-01) 4254013 need a better mechanism to detect multi-threaded user stack overflow 4533712 makecontext breaks in 64-bit mode (from 115485-01) 4845974 lgroup APIs needed for observability and performance optimization Patch Installation Instructions: -------------------------------- For Solaris 2.0-2.6 releases, refer to the Install.info file and/or the README within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. For Solaris 7-9 releases, refer to the man pages for instructions on using 'patchadd' and 'patchrm' scripts provided with Solaris. Any other special or non-generic installation instructions should be described below as special instructions. The following example installs a patch to a standalone machine: example# patchadd /var/spool/patch/104945-02 The following example removes a patch from a standalone system: example# patchrm 104945-02 For additional examples please see the appropriate man pages. Special Install Instructions: ----------------------------- NOTE 1: To get the complete Stack Update feature, please install the following patches: 113988-03 (or newer) libc.so.1 patch 114432-01 (or newer) libthread.so.1 patch 112234-05 (or newer) KU patch 114434-01 (or newer) procfs patch NOTE 2: To get the complete Lgroup APIs feature, please install the following patches: 114432-05 (or newer) libc patch 115676-01 (or newer) liblgrp patch 112234-09 (or newer) Kernel Update patch NOTE 3: To get the complete fix for the bug 4797219, please install the following patches, in addition to this patch: 114432-05 (or newer) libc patch NOTE 4: To get the complete fix for bug 4686454, please install the following patches, in addition to this patch: 114432-08 (or newer) libc patch 112234-11 (or newer) ku patch README -- Last modified date: Wednesday, September 15, 2004