Patch Name: PHSS_30264 Patch Description: s700_800 11.22 X/Motif Runtime Periodic Patch Creation Date: 04/01/16 Post Date: 04/03/04 Hardware Platforms - OS Releases: s700: 11.22 s800: 11.22 Products: N/A Filesets: X11.MOTIF-SHLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP X11.MOTIF-SHLIB-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP X11.X11R5-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP X11.X11R6-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP X11.X11R6-SLIBS-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_30264: OTHER JAGae90797: 64-bit clients cannot connect to the Xserver when using X/Open networking. PHSS_29373: CORRUPTION ABORT PHSS_28876: HANG ABORT PHSS_28372: ABORT Category Tags: defect_repair enhancement general_release critical halts_system corruption Path Name: /hp-ux_patches/s700_800/11.X/PHSS_30264 Symptoms: PHSS_30264: 1. If an X client application is connected to a remote Xserver and the machine hosting the remote Xserver is disconnected from the network, or experiences a power outage, the client does not always terminate. Instead, it will continue to wait for additional X traffic. 2. Customer application unable to find UID files from UIDPATH. 3. Low performance in threaded application with current implementation of threadsafe libXt. 4. Toplevel shells do not inherit parents colormap under Motif 2.1 5. XOpenDisplay() fails in 64-bit applications when using X/Open networking. PHSS_29373: 1. Some Java Swing and AWT applications will abort when run in the ja_JP.utf8 locale. 2. Motif key bindings are different between 10.20 and 11.0 mwm 3. Setting of the environment variable XMCHG_SHADOW_COLOR=True causes performance degradations. 4. Widget window does not refresh correctly 5. Memory corruption in Fileselectionbox widget due to stat64() call. 6. XmTextField generates incorrect warning messages for some fonts. 7. problem in dtprintinfo PHSS_28876: 1. Swinstall hangs when the following patches are installed on a 11.00 HP-UX machine a) PHSS_28366 (11.00 X/Motif 32bit RuntimePatch) and b) PHCO_25902 (Cumulative SAM/ObAM patch) 2. The wdb application aborts in some circumstances when run in LANG=ja_JP.SJIS in conjunction with an input method and a preedit type of root. 3. A threaded application on HP-UX hangs in XRefreshKeyboardMapping() when it is displayed to a Linux machine. 4. The color of the window's shadow is not calculated from a background. 5. Ctrl + Right click in an active menu disables mouse input. PHSS_28372: 1. Netscape 4.8 Paned Window hangs while closing. 2. _XmRCAdaptToSize() fails whilst freeing an already free block and dumps core in Java application. 3. Problem with XmIm. 4. Motif2.1 program abort in _XmVirtKeysInitialize. 5. If an application uses XmbTextEscapement() or XwcTextEscapement() to compute the length of a string, the length of the string may differ when actually rendered. If the precomputed length was used as dimensions for a text field, for example, the string may not fit entirely within the text field. At this time, this has only been reported on an application running in the ko_KR.eucKR locale with a font server configured. 6. Problem in libX11.1. 7. Calls to XCreateFontSet() may take a long time to complete in Japanese locales for some font specifications. Defect Description: PHSS_30264: 1. X client connections should use "keepalives" when creating the transport. Resolution: When creating the client's transport, the code now enables SO_KEEPALIVE. This will inform the client if the remote Xserver fails to respond to periodic messages. 2. _XmOSInitPath() problems with string handling. Resolution: libXm and libMrm libraries are changed to fix the problem. 3. Threadsafe Xt could be much faster using recursive mutexes Resolution: Mutex is initialized as recursive and code flow is changed for better performance. 4. Toplevel shells do not inherit parents colormap under Motif 2.1 Resolution: Toplevel shells inherit parents colormap under Motif 2.1 5. 64-bit clients cannot connect to the Xserver when using X/Open networking. Resolution: In 64-bit mode, the routines that issue various networking calls check to see if X/Open networking is in use. If so, the arguments passed to these are now compatible with the data types specified by the X/Open networking API. PHSS_29373: 1. Java Swing and AWT apps crash in ja_JP.utf8 locale Resolution: This was resolved by explicitly initializing memory to desired values so that the appropriate termination conditions would occur. 2. Motif key bindings are different between 10.20 and 11.0 mwm Resolution: "osfActivate:KP_Enter" Key Binding added in motif2.1 3. Use of XMCHG_SHADOW_COLOR cause performance degradations. Resolution: Resolved by changing the functional implementation of XmChangeColor() when the environment variable XMCHG_SHADOW_COLOR is set to True. 4. Widget window does not refresh correctly Resolution: Removed the fix for JAGad81570.By default, XmLabel ignores the XmNheight and XmNwidth resources and instead computes the size based on the size of the label string or pixmap. This behavior can be changed by setting XmNrecomputeSize to False. 5. _XmOSGetDirEntries() corrupting memory with stat64() call Resolution: Memory corruption in Fileselectionbox widget due to stat64() call has been rectified. 6. XmTextField generates incorrect warning messages for some fonts Resolution: The problem is fixed and the fonts are displayed correctly for all the multibyte locales. 7. problem in dtprintinfo Resolution: The problem with dtprintinfo is resolved by changing libXt. PHSS_28876: 1. libXm.2 from PHSS_28366 prevents swinstall from working properly. Resolution: Datatype of CumHeight variable has been corrected in ListP.h header file to fix the problem. 2. wdb may abort with a core dump in Japanese locales Resolution: An internal loop which iterates over resources associated with the input context was modified to advance the correct parameter during iteration. 3. Threaded application hangs in Xlib when displayed to a Linux machine. Resolution: The XRefreshKeyboardMapping() routine had an UnlockDisplay() without a preceding LockDisplay(). This was modified so that we now have a matched LockDisplay/UnlockDisplay pair. A similar problem was found in XkbGetMapChanges(), and that was also fixed so that the routine now contains a matched LockDisplay()/UnlockDisplay() pair. 4. The color of the window's shadow is not calculated from a background. Resolution: The color of the window's shadow is calculated from a background, when the environmental variable XMCHG_SHADOW_COLOR is set to TRUE. 5. Ctrl + Right click in an active menu disables mouse input. Resolution: Ctrl + Right click in an active menu does not disable mouse input. PHSS_28372: 1. Netscape requests code change to PanedW.c to address Netscape hang. Resolution: Netscape 4.8 Paned Window does not hang while closing. 2. _XmRCAdaptToSize() fails whilst freeing an already free block. Resolution: _XmRCAdaptToSize()does not fail whilst freeing an already free block and does not dump core in Java application. 3. Problem with XmIm. Resolution: Problem with XmIm is resolved. 4. Motif2.1 program abort in _XmVirtKeysInitialize. Resolution: Motif2.1 program does not abort in _XmVirtKeysInitialize. 5. XmbTextEscapement() and XwcTextEscapement() may report character metrics which differ from what is actually used when XmbDrawString() and XwcDrawString() are called to render the string. Resolution: The routines used in XmbTextEscapement() and XwcTextEscapement() had a condition where they could select a font different from what XmbDrawString() and XwcDrawString() would select when rendering the string. This has been corrected so that XmbTextEscapement() will choose the same font that XmbDrawString() will use and XwcTextEscapement() will choose the same font that XwcDrawString() will use. 6. Problem in libX11.1. Resolution: Problem in libX11.1 is resolved. 7. Calls to XCreateFontSet() may be slow in Japanese locales. Resolution: The underlying routines used by XCreateFontSet() have been modified to cache some font information. This cache saves repeated calls to XListFonts() to obtain font information for the same font pattern(s). This can provide a performance improvement to XCreateFontSet() for some font specifications. Enhancement: Yes PHSS_30264: X11 library is enhanced to use "keepalives" for X client connections when creating the transport. Xt library is enhanced to use recursive mutex to provide better performance for threaded applications. SR: 8606331124 8606329608 8606289804 8606250910 8606329674 8606285731 8606315988 8606316731 8606291941 8606315015 8606305434 8606321495 8606298714 8606300452 8606302158 8606292216 8606293958 8606281292 8606282688 8606284263 8606284950 8606274075 8606287805 8606251628 Patch Files: X11.MOTIF-SHLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: /usr/lib/Motif1.2_R6/libXm.3 /usr/lib/Motif1.2/libXm.1 /usr/lib/Motif1.2_R6/libXm.2 /usr/lib/Motif2.1/libXm.4 /usr/lib/Motif2.1/pa20_64/libXm.4 /usr/lib/Motif2.1/libMrm.3 /usr/lib/Motif2.1/pa20_64/libMrm.3 X11.MOTIF-SHLIB-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/Motif2.1/libXm.so.1 /usr/lib/hpux64/Motif2.1/libXm.so.1 /usr/lib/hpux32/Motif2.1/libMrm.so.1 /usr/lib/hpux64/Motif2.1/libMrm.so.1 X11.X11R5-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: /usr/lib/X11R5/libX11.1 X11.X11R6-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: /usr/lib/X11R6/libXt.3 /usr/lib/X11R6/pa20_64/libXt.3 /usr/lib/X11R6/libX11.2 /usr/lib/X11R6/libX11.3 /usr/lib/X11R6/pa20_64/libX11.3 X11.X11R6-SLIBS-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/X11R6/libX11.so.1 /usr/lib/hpux64/X11R6/libX11.so.1 /usr/lib/hpux32/X11R6/libXt.so.1 /usr/lib/hpux64/X11R6/libXt.so.1 what(1) Output: X11.MOTIF-SHLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: /usr/lib/Motif1.2_R6/libXm.3: OSF/Motif Version 1.2.6 X Window System, Version 11 R6+ HP-UX B.10.30.00 X/M otif Periodic Patch Release (build date: Mon Jul 7 14:46:53 IST 2003) /usr/lib/Motif1.2/libXm.1: OSF/Motif Version 1.2.6 X Window System, Version 11 R5+ HP-UX B.10.10.00 X/M otif Periodic Patch Release (build date: Wed Mar 19 11:34:35 IST 2003) /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 X/M otif Periodic Patch Release (build date: Mon Jul 7 14:09:55 IST 2003) /usr/lib/Motif2.1/libXm.4: View: /view/x_r6mar04_1122, Build Type: r6mar04_1122 motif2.1 (build date: Tue Jan 6 13:33:53 IST 2004) Motif Version 2.1.0 /usr/lib/Motif2.1/pa20_64/libXm.4: View: /view/x_r6mar04_1122, Build Type: r6mar04_1122 motif2.1 (build date: Tue Jan 6 13:34:01 IST 2004) Motif Version 2.1.0 /usr/lib/Motif2.1/libMrm.3: View: /view/x_r6mar04_1122, Build Type: r6mar04_1122 motif2.1 (build date: Tue Jan 6 13:37:39 IST 2004) /usr/lib/Motif2.1/pa20_64/libMrm.3: View: /view/x_r6mar04_1122, Build Type: r6mar04_1122 motif2.1 (build date: Tue Jan 6 13:37:41 IST 2004) Motif Version 2.1.0 X11.MOTIF-SHLIB-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/Motif2.1/libXm.so.1: motif2.1 (build date: Fri Jan 9 17:02:15 IST 2004) View: /view/x_r6mar04IA_1122, Build Type: r6mar0432_ 1122 Motif Version 2.1.0 HP-UX/General Millicode B.11.20.00 (IPF TOT): (MILLI - 05/01/01) /usr/lib/hpux64/Motif2.1/libXm.so.1: motif2.1 (build date: Fri Jan 9 19:47:22 IST 2004) View: /view/x_r6mar04IA_1122, Build Type: r6mar0464_ 1122 Motif Version 2.1.0 HP-UX/General Millicode B.11.20.00 (IPF TOT): (MILLI - 05/01/01) /usr/lib/hpux32/Motif2.1/libMrm.so.1: motif2.1 (build date: Fri Jan 9 17:05:21 IST 2004) View: /view/x_r6mar04IA_1122, Build Type: r6mar0432_ 1122 /usr/lib/hpux64/Motif2.1/libMrm.so.1: motif2.1 (build date: Fri Jan 9 19:55:33 IST 2004) View: /view/x_r6mar04IA_1122, Build Type: r6mar0464_ 1122 X11.X11R5-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: /usr/lib/X11R5/libX11.1: X Window System, Version 11 R5+ HP-UX B.10.10.00 X/M otif Periodic Patch Release (build date: Fri Dec 6 21:02:21 IST 2002) X11.X11R6-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: /usr/lib/X11R6/libXt.3: X Window System, Version 11 R6+ HP-UX B.11.00.00 X/M otif Periodic Patch Release (build date: Mon Jan 5 21:19:47 IST 2004) /usr/lib/X11R6/pa20_64/libXt.3: X Window System, Version 11 R6+ HP-UX B.11.00.00 X/M otif Periodic Patch Release (build date: Mon Jan 5 21:19:50 IST 2004) /usr/lib/X11R6/libX11.2: X Window System, Version 11 R6+ HP-UX B.10.20.00 X/M otif Periodic Patch Release (build date: Sat Mar 29 14:56:52 IST 2003) /usr/lib/X11R6/libX11.3: X Window System, Version 11 R6+ HP-UX B.11.11.00 X/M otif Patch Release (build date: Tue Jan 6 12:37:38 IST 2004) /usr/lib/X11R6/pa20_64/libX11.3: X Window System, Version 11 R6+ HP-UX B.11.11.00 X/M otif Patch Release (build date: Tue Jan 6 12:37:44 IST 2004) X11.X11R6-SLIBS-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/X11R6/libX11.so.1: (build date: Fri Jan 9 15:59:49 IST 2004) X Window System, Version 11 R6+ HP-UX B.11.22.00 X/M otif Patch Release HP-UX/General Millicode B.11.20.00 (IPF TOT): (MILLI - 05/01/01) /usr/lib/hpux64/X11R6/libX11.so.1: (build date: Fri Jan 9 18:42:55 IST 2004) X Window System, Version 11 R6+ HP-UX B.11.22.00 X/M otif Patch Release HP-UX/General Millicode B.11.20.00 (IPF TOT): (MILLI - 05/01/01) /usr/lib/hpux32/X11R6/libXt.so.1: (build date: Fri Jan 9 16:14:36 IST 2004) X Window System, Version 11 R6+ HP-UX B.11.22.00 X/M otif Patch Release HP-UX/General Millicode B.11.20.00 (IPF TOT): (MILLI - 05/01/01) /usr/lib/hpux64/X11R6/libXt.so.1: (build date: Fri Jan 9 19:10:25 IST 2004) X Window System, Version 11 R6+ HP-UX B.11.22.00 X/M otif Patch Release HP-UX/General Millicode B.11.20.00 (IPF TOT): (MILLI - 05/01/01) cksum(1) Output: X11.MOTIF-SHLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: 3840158799 2273280 /usr/lib/Motif1.2_R6/libXm.3 3422475167 2301952 /usr/lib/Motif1.2/libXm.1 2584933564 2330624 /usr/lib/Motif1.2_R6/libXm.2 2080003255 3055616 /usr/lib/Motif2.1/libXm.4 2869676430 3001536 /usr/lib/Motif2.1/pa20_64/libXm.4 3476835685 229376 /usr/lib/Motif2.1/libMrm.3 3950306324 3004304 /usr/lib/Motif2.1/pa20_64/libMrm.3 X11.MOTIF-SHLIB-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 3626803196 6441368 /usr/lib/hpux32/Motif2.1/libXm.so.1 580742717 6870208 /usr/lib/hpux64/Motif2.1/libXm.so.1 4072833887 472768 /usr/lib/hpux32/Motif2.1/libMrm.so.1 1909427776 491016 /usr/lib/hpux64/Motif2.1/libMrm.so.1 X11.X11R5-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: 605744475 851968 /usr/lib/X11R5/libX11.1 X11.X11R6-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA/PA,v=HP: 440427232 512000 /usr/lib/X11R6/libXt.3 452816730 537040 /usr/lib/X11R6/pa20_64/libXt.3 46853961 1359872 /usr/lib/X11R6/libX11.2 2827787566 1507328 /usr/lib/X11R6/libX11.3 3843988796 1586344 /usr/lib/X11R6/pa20_64/libX11.3 X11.X11R6-SLIBS-IA,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 4151032005 3760344 /usr/lib/hpux32/X11R6/libX11.so.1 4025506750 3901088 /usr/lib/hpux64/X11R6/libX11.so.1 416584438 1237016 /usr/lib/hpux32/X11R6/libXt.so.1 2600016463 1276064 /usr/lib/hpux64/X11R6/libXt.so.1 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_28372 PHSS_28876 PHSS_29373 Equivalent Patches: PHSS_30260: s700: 11.00 s800: 11.00 PHSS_30262: s700: 11.11 s800: 11.11 PHSS_30265: s700: 11.23 s800: 11.23 Patch Package Size: 18770 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_30264 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_30264.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_30264. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_30264.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_30264.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_30264.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None