Patch Name: PHSS_16617 Patch Description: s700_800 10.20 X/Motif1.2 Runtime Nov98 Periodic Patch Creation Date: 98/11/04 Post Date: 98/12/16 Warning: 99/01/18 - This Non-Critical Warning has been issued by HP. - The libX11.1 library in PHSS_16617 causes performance problems for Netscape 4.X and possibly other applications. The problem may cause delays of up to several minutes when starting Netscape, during which the Xserver's pointer is frozen. - HP recommends removing PHSS_16617 from all systems that are running Netscape 4.X or other applications that experience startup performance problems after the patch is installed. Please note that patches PHSS_16618 and PHSS_16619 have a documented dependency on PHSS_16617. Thus, PHSS_16618 and PHSS_16619 should also be removed from systems from which PHSS_16617 is removed. - The superseded patch PHSS_16120 does not exhibit this problem. PHSS_16120 is being re-released until a replacement patch is available. Hardware Platforms - OS Releases: s700: 10.20 s800: 10.20 Products: N/A Filesets: X11.X11R5-SHLIBS X11.X11R6-SHLIBS X11.MOTIF12-SHLIB X11.MKFONTDIR Automatic Reboot?: No Status: General Superseded With Warnings Critical: Yes PHSS_16617: ABORT refer to symptoms and associated defect reports. PHSS_16120: ABORT refer to symptoms and associated defect reports. PHSS_15008: ABORT refer to symptoms and associated defect reports. PHSS_14534: ABORT refer to symptoms and associated defect reports. PHSS_14040: ABORT refer to symptoms and associated defect reports. PHSS_13743: ABORT refer to symptoms and associated defect reports. PHSS_13113: ABORT refer to symptoms and associated defect reports. PHSS_12374: ABORT refer to symptoms and associated defect reports. PHSS_11628: ABORT refer to symptoms and associated defect reports. PHSS_11048: ABORT refer to symptoms and associated defect reports. PHSS_11046: ABORT refer to symptoms and associated defect reports. PHSS_10789: ABORT refer to symptoms and associated defect reports. PHSS_10688: CORRUPTION refer to symptoms and associated defect reports. PHSS_10480: ABORT refer to symptoms and associated defect reports. PHSS_9814: ABORT refer to symptoms and associated defect reports. PHSS_9812: ABORT refer to symptoms and associated defect reports. PHSS_9778: ABORT refer to symptoms and associated defect reports. PHSS_9356: ABORT refer to symptoms and associated defect reports. PHSS_9193: ABORT refer to symptoms and associated defect reports. PHSS_8971: ABORT refer to symptoms and associated defect reports. PHSS_7745: ABORT refer to symptoms and associatedf defect reports PHSS_7743: ABORT refer to symptoms and associated defect reports. Path Name: /hp-ux_patches/s700_800/10.X/PHSS_16617 Symptoms: PHSS_16617: 1.SetValues on a CascadeButton after destroying the most recently created cascade button, crashes the application. 2.Pulldown menu will not stay posted from a cascade button when its background color is set. 3.I-Beam cusrsor is visible on the frame border on text widget when the margin width is set to 0. 4.When the mouse double click time is increased, option menu remains posted if the options are selected quickly. 5.Cut/paste doesn't work properly under LANG=ja_JP.SJIS on XmText widget in X11R5. 6.PHSS_11628 Missing charsets in String to FontSet conversion. 7.XmbTextListToTextProperty has a 1024 item limit in chinese_s locale. 8.Applications that use XmListDeletePos to update the list elements in the list widget run slowly due to server roundtrip in ResetHeight. 9.PHSS_14081 and PHSS_14082 does not create symlinks .sl files 10./usr/dt/bin/uil is linked again libMrm.1 which is not shipped. PHSS_16120: 1. Fixes the defect that caused nonechoing of characters in XmTextField widget area. 2. Fixes potential problem if a child of XmMainWindow is destroyed. 3. Fixes the defect in Dtmail of not showing hidden folders even if the option is selected. 4. Fixes the defect of large timeout from XtAppAddTimeout which causes infinite select fail loop. 5. Fixes the potential buffer overflow in Xt. 6. This patch includes a number of fixes from The Open Group which are intended to remove a variety of potential cases for buffer overflow. 7. Fixes the defect in XOpenDisplay() of not opening display with server > 99. 8. Fixes the defect that was occured because the XCreateFontSet(), does not read fontset description properly with PHSS_11628. 9. Fixes the defect in X/Open Networking of not functioning correctly in Xlib. PHSS_15008: 1. PHSS_13871 breaks the automatic resize of the XmLabel Pixmap. 2. The XmScale can leave dust in the value display area. 3. The background color is not set correctly, if it is set after creating cascade button and option menu. 4. Motif1.2 code can die if enableetchedInmenu = True. 5. Setting of XBMLANGPATH fails under some conditions. 6. In DDE Rowcolumn with labels is not resizing properly and is breaking Widget/popup. PHSS_14534: 1. Fixes the defect that was occured because the XCreateFontSet() does not read fontset description properly with PHSS_11628. 2. Fixes the XOpenDisplay() XIO: fatal IO error 19 with libxnet.sl (X/Open socket). PHSS_14040: 1. Fixes buffer overflow in hpterm which could be used to overwrite the stack. 2. Fixes the defect that causes foreground color of the ToggleButton widgets to set unexpectedly when XmNindicatorON is FALSE. 3. Fixes core dump resulting from uninitialized keycode. PHSS_13743: 1. Fixes core dump resulting from invalid pointer in Cascade Button widget in R5 motif library. PHSS_13113: 1. Fix defect in Sept. patch that breaks XtGetSelectionValue for clipboard targets. 2. Fix defect that can cause core dump in X11R5 when display variable is not correctly set (instead of error message) 3. Fix defect that cause input method to hang in Asian locales when event type is zero (associated with use of XSendEvent in X11R6) 4. Fix defect in Sept. patch that can cause core dumps with use of CascadeButtons. 5. Added and updated files to support Unicode PHSS_12824: 1. Fixes defect with buttons in CDE apps not being displayed correctly (introduced by PHSS_12374) PHSS_12374: 1. Fix problem in XmLabel that results in loss of justification after text has been updated. 2. Fix defect causing Xserver swap requirements to grow without bound. 3. Fix defect in XtInitializeWidgetClass() which results in a NULL reference on MessageBox widget class. 4. Fix defect causing xclients to core dump with bus error when DISPLAY variable is not set. PHSS_11628: 1. Fix failure in drag-n-drop within single program that results from both sending and receiving code trying to free the same block of memory 2. Fix defect causing application (dthelpview) to hang in Japanese locale. (R6 only) 3. Fix thread lock defect when obtaining events from a linked event list (in XtOnGrabList). (R6 only) PHSS_11048: 1. Fix condition whereby a string copy of an environment variable could overflow a stack buffer. 2. Fix memory leak in XmScrollBar resulting from mismatched Get/Install pixmap calls. 3. Fix for incorrect length value being returned by XmTextFieldGetMaxLength(). 4. Fix defect in drag and drop resulting in segmentation violation when incremental transfer is enabled. 5. Supply error checking for unrecognized characters in localization converters which otherwise could result in infinite looping in applications (i.e. dtmail) 6. Fix defect causing application (dtpad) to hang or fail to start after opening and closing several times (in ja_JP.SJIS locale). PHSS_11046: 1. Fix condition whereby a string copy of an environment variable could overflow a stack buffer. 2. Fix memory leak in XmScrollBar resulting from mismatched Get/Install pixmap calls. 3. Fix for incorrect length value being returned by XmTextFieldGetMaxLength(). 4. Fix defect in drag and drop resulting in segmentation violation when incremental transfer is enabled. PHSS_10789: 1. Fix problem that causes application to dump core when manipulating popup menus and destroying a menu element 2. Fix core dump created by setting up a TextWidget, setting highlights, and backspacing twice. 3. TextFieldWidget (but not TextWidget) loses data after 32 characters in Japanese locale and input method. PHSS_10688: 1. TextFieldWidget (but not TextWidget) loses data after 32 characters in Japanese locale and input method. PHSS_10480: 1. Fix problem that causes application to dump core when manipulating popup menus and destroying a menu element. 2. Fix core dump created by setting up a TextWidget, setting hightlights, and backspacing twice. PHSS_9814: 1. Fix defect that prevents tearing off a menu more than once. 2. Fix defect that causes the background of a Toggle ButtonGadget not to be painted with the appropriate background color when pushed. 3. Fix defect where launching many X/Motif programs in rapid succession would cause the Xserver to fail. 4. Fix defect where XmClipboard modifies the event-mask on the root-window. 5. Fix defect where Motif program dumps core when using XmListReplaceItemPos and XtSetValues. 6. Fix defect where creating a pixmap button with all bits set to 0 causes a BadValue error from Motif. 7. Fix defect where the TextField widgets do not resize properly when a RowColumn parent widget is resized. 8. Fix memory leak where highlighting text continuously causes the Text widget to consume more and more memory until the program aborts. 9. Fix defect where a toggle button's background color may be incorrectly set to indicate "armed" when it is not. 10. Fix defect where parts of a pixmap label may not get repainted after window resize which can cause visual errors such as loss of underscore characters. 11. Fix defect where the list widget ignores the specified fontList resource and uses the (default) fixed font instead. 12. Fix defect where Motif dumps core if XmTextField is destroyed while Button2 is being pressed. 13. Fix defect where XmTextField doesn't paste cut buffer under japanese environment. 14. Fix defect causing Xlib fatal IO error when application opens more than 64 files. 15. Fix defect causing a core dump when bringing up an index box with dtHelp. 16. Fix defect preventing paste into text field widget. PHSS_9812: 1. Fix memory leak where highlighting text continuously causes the Text widget to consume more and more memory until the program aborts. 2. Fix defect where a toggle button's background color may be incorrectly set to indicate "armed" when it is not. 3. Fix defect where parts of a pixmap label may not get repainted after window resize which can cause visual errors such as loss of underscore characters. 4. Fix defect where the list widget ignores the specified fontList resource and uses the (default) fixed font instead. 5. Fix defect where Motif dumps core if XmTextField is destroyed while Button2 is being pressed. 6. Fix defect where XmTextField doesn't paste cut buffer under japanese environment. 7. Fix defect causing Xlib fatal IO error when application opens more than 64 files. 8. Fix defect preventing paste into text field widget. PHSS_9778: 1. Fixes core dump due to input context being accessed after being destroyed. PHSS_9356: 1. Fixes a defect that only allows menu to be torn off once. 2. Fixes a core dump with the index box in DtHelp. 3. Fixes a core dump when using XmListReplaceItemPos and XtSetValues. 4. Fixes a defect wherein XmClipboard modifies the event mask of the root window. 5. Fixes a bug in Motif that causes the X Server to generate a BadValue error when the client specifies a pixmap button with all bits 0. 6. Fixes a color problem in the ToggleButtonGadget. 7. Fixes miscolored menus in private colormap apps. 8. Fixes a defect in resizing TexField widgets managed by a Rowcolumn widget. PHSS_9194: 1. Attempts to simultaneously open Xserver connections from many processes may result in "can't open display" error. 2. Fixes problem with string comparisons in making X server connections when the name for the local host is a subset of the name for a remote host. PHSS_9193: 1. Attempts to simultaneously open Xserver connections from many processes may result in "can't open display" error. PHSS_8971: 1. Fix problem with infinite recursion in subclassed list widgets. PHSS_8710: 1. Applys an X consortium fix to libXt for a potentially serious problem. 2. Fixes a libX11 R6 problem where DISPLAY was being being interpreted as :0.0 even when a local hostname was given. PHSS_8708: 1. Applys an X consortium fix to libXt for a potentially serious problem. PHSS_7745: 1. Fix problem with preedit string overwriting status string. 2. Fix core dumps when IM server dies. 3. Fix for pershell core dump and badwindow problem. 4. Motif menu behavior was broken due to a previous fix on F10 Key. 5. Remove fprintf from Async I/O error. 6. Fix for "AVS" bug: unexpected interrupt causes SMT to die. 7. String length is incorrect when status draw callback. 8. Xlib core dumps when dong STATUS & PREEDIT callback style. 9. Core dump when the IM returns XIM_ERROR. PHSS_7743: 1. Fix problem with preedit string overwriting status string. 2. Fix core dumps when IM server dies. 3. Fix for pershell core dump and badwindow problem. 4. Motif menu behavior was broken due to a previous fix on F10 Key. 5. Remove fprintf from Async I/O error. Defect Description: PHSS_16617: 1.SetValues on a CascadeButton after destroying the most recently created cascade button, crashes the application since it always uses the GC of the most recently created CascadeButton, which is not correct. 2.Pulldown menu will not stay posted from a cascade button when its background color of menu bar is set. 3.I-Beam cusrsor is visible on the frame border on text widget when the margin width is set to 0. 4.Changing the mouse double-click time affects the beahaviour of option menu. 5.Cut/paste doesn't work properly under LANG=ja_JP.SJIS on XmText widget in X11R5. 6.PHSS_11628 Missing charsets in String to FontSet conversion. 7.XmbTextListToTextProperty has a 1024 item limit in chinese_s locale. 8.Applications that use XmListDeletePos to update the list elements in the list widget run slowly due to server roundtrip in ResetHeight. 9.PHSS_14081 and PHSS_14082 does not create symlinks .sl files 10./usr/dt/bin/uil is linked again libMrm.1 which is not shipped. PHSS_16120: See associated defect reports for explanation. PHSS_15008: See associated defect reports for explanation. PHSS_14534: See associated defect reports for explanation. PHSS_14040: See associated defect reports for explanation. PHSS_13743: See associated defect reports for explanation. PHSS_13113: See associated defect reports for explanation. PHSS_12824: See associated defect reports for explanation. PHSS_12374: See associated defect reports for explanation. PHSS_11628: See associated defect reports for explanation. PHSS_11048: See associated defect reports for explanation. PHSS_11046: See associated defect reports for explanation. PHSS_10789: See associated defect reports for explanation. PHSS_10688: See associated defect reports for explanation. PHSS_10480: See associated defect reports for explanation. PHSS_9814: See associated defect reports for explanation. PHSS_9812: See associated defect reports for explanation. PHSS_9778: See associated defect reports for explanation. PHSS_9356: See associated defect reports for explanation. PHSS_9194: See associated defect reports for explanation. PHSS_9193: See associated defect reports for explanation. PHSS_8971: See associated defect reports for explanation. PHSS_8710: See associated defect reports for explanation. PHSS_8708: See associated defect reports for explanation. PHSS_7745: See associated defect reports for explanation. PHSS_7743: See associated defect reports for explanation. SR: 1653264515 5003439984 5003379560 1653198150 5003366054 1653251488 1653230441 5003398248 1653258061 5003432005 1653261891 1653219345 5003410654 5003426346 4701392571 4701394452 4701394478 4701392506 4701392514 4701392563 4701392605 4701392530 4701392548 4701392555 4701394197 4701394981 4701394965 4701394973 4701395723 5003413237 1653227686 1653242164 5003410951 1653253625 4701384677 1653250662 1653227686 1653242164 1653227991 1653229641 1653237479 4701374397 5003390476 5003388009 1653215095 1653220525 1653226076 5003366336 5003375428 1653215996 4701349183 1653210955 1653208918 1653211193 1653204339 1653210344 1653163568 1653182675 1653186494 1653186890 1653188151 1653189878 1653190744 1653194167 1653197129 1653198051 1653201855 4701335323 4701341487 4701346460 5003312652 5003314005 5003337147 5003344531 5003347922 5003334987 5003351882 5003360776 Patch Files: /usr/lib/Motif1.2/libMrm.1 /usr/lib/X11R5/libX11.1 /usr/lib/X11R5/libXhp11.1 /usr/lib/X11R5/libXt.1 /usr/lib/Motif1.2/libXm.1 /usr/lib/X11/fs/libfont.1 /usr/lib/X11R6/libICE.1 /usr/lib/X11R6/libX11.2 /usr/lib/X11R6/libXIE.1 /usr/lib/X11R6/libXhp11.2 /usr/lib/X11R6/libXext.2 /usr/lib/X11R6/libXi.2 /usr/lib/X11R6/libXtst.1 /usr/lib/X11R6/libXt.2 /usr/lib/Motif1.2_R6/libXm.2 what(1) Output: /usr/lib/Motif1.2/libXm.1: OSF/Motif Version 1.2.6 X Window System, Version 11 R5+ HP-UX B.10.10.00 Nov 1998 Patch Release (build date: Thu Nov 5 19:33:14 IST 1998) /usr/lib/Motif1.2/libMrm.1: X Window System, Version 11 R5+ HP-UX B.10.10.00 Nov 1998 Patch Release (build date: Fri Oct 9 19:29:21 IST 1998) /usr/lib/Motif1.2_R6/libXm.2: OSF/Motif Version 1.2.6 X Window System, Version 11 R6+ HP-UX B.10.20.00 Nov 1998 Patch Release (build date: Thu Nov 5 19:18:10 IST 1998) /usr/lib/X11/fs/libfont.1: X Window System, Version 11 R6+ HP-UX B.10.20.00 Sep 1998 X/Motif Periodic Patch Release (build date: Tue Aug 4 03:52:24 MDT 1998) /usr/lib/X11R5/libX11.1: Built for: 10.10 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R5 (build date: Thu Oct 1 13:13:51 MDT 1998) /usr/lib/X11R5/libXhp11.1: $Revision: 1.4 $ Built for: 10.10 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R5 (build date: Tue Sep 22 10:10:58 MDT 1998) /usr/lib/X11R5/libXt.1: X Window System, Version 11 R5+ HP-UX B.10.10.00 Nov 1998 Patch Release (build date: Tue Oct 6 16:24:20 IST 1998) /usr/lib/X11R6/libX11.2: Built for: 10.20 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R6 (build date: Mon Oct 19 16:09:25 MDT 1998) /usr/lib/X11R6/libXext.2: Built for: 10.20 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R6 (build date: Wed Sep 23 16:29:36 MDT 1998) /usr/lib/X11R6/libXhp11.2: Built for: 10.20 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R6 (build date: Wed Sep 23 16:49:18 MDT 1998) /usr/lib/X11R6/libXi.2: Built for: 10.20 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R6 (build date: Wed Sep 23 16:39:42 MDT 1998) /usr/lib/X11R6/libICE.1: Built for: 10.20 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R6 (build date: Wed Sep 23 16:25:49 MDT 1998) /usr/lib/X11R6/libXIE.1: Built for: 10.20 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R6 (build date: Wed Sep 23 16:33:11 MDT 1998) /usr/lib/X11R6/libXtst.1: Built for: 10.20 on HP-UX Daily, -O +Onolimit X Window System, Version 11 R6 (build date: Wed Sep 23 16:40:33 MDT 1998) /usr/lib/X11R6/libXt.2: X Window System, Version 11 R6+ HP-UX B.10.20.00 Nov 1998 Patch Release (build date: Thu Oct 22 00:43:10 MDT 1998) cksum(1) Output: 4252486688 2297856 /usr/lib/Motif1.2/libXm.1 440986862 196608 /usr/lib/Motif1.2/libMrm.1 1281667343 2318336 /usr/lib/Motif1.2_R6/libXm.2 388764708 290816 /usr/lib/X11/fs/libfont.1 2686735174 843776 /usr/lib/X11R5/libX11.1 971103199 77824 /usr/lib/X11R5/libXhp11.1 739689695 417792 /usr/lib/X11R5/libXt.1 3665991950 1323008 /usr/lib/X11R6/libX11.2 2520807766 114688 /usr/lib/X11R6/libXext.2 3003485826 61440 /usr/lib/X11R6/libXhp11.2 930939335 53248 /usr/lib/X11R6/libXi.2 1343475039 118784 /usr/lib/X11R6/libICE.1 4140070478 90112 /usr/lib/X11R6/libXIE.1 3161894460 32768 /usr/lib/X11R6/libXtst.1 1616496917 483328 /usr/lib/X11R6/libXt.2 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_7743 PHSS_7745 PHSS_8708 PHSS_8710 PHSS_8971 PHSS_9193 PHSS_9194 PHSS_9356 PHSS_9778 PHSS_9812 PHSS_9814 PHSS_10480 PHSS_10688 PHSS_10789 PHSS_11046 PHSS_11048 PHSS_11628 PHSS_12374 PHSS_12824 PHSS_13113 PHSS_13743 PHSS_14040 PHSS_14534 PHSS_15008 PHSS_16120 Equivalent Patches: None Patch Package Size: 8600 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_16617 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_16617.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_16617.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_16617. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. Warning: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHSS_16617.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_16617.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: 1. On installation of this patch the libraries, libICE.2, libXIE.2, libXtst.2, libXp.2 will be permanently removed from the system, if they exist. 2. This patch lifts the restriction which requires the DISPLAY value (or -display parameter) be less than or equal to 99 (i.e. hostname:99). Users are strongly cautioned that they may collide with other well-defined services if they try to connect to any random display value. 3. The memory leaks reported in Xt against SR 1653243915 have been partially fixed.