Patch Name: PHSS_6773 Patch Description: s300_400 9.X Xserver February Periodic Patch Creation Date: 94/11/29 Post Date: 96/02/07 Hardware Platforms - OS Releases: s300_400: 9.00 9.03 9.10 Products: N/A Filesets: X11-SERV X11-RUN X11-RUN-MAN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHSS_6773 Symptoms: PHSS_6773: See Defect Description. PHSS_5025: See Defect Description. PHSS_4511: See Defect Description. PHSS_4205: See Defect Description. Defect Description: PHSS_6773: 96/02 - SR 1653158931. 98550, a1416a polyline with endpoints off-screen not properly rendered. - SR 1653148619. XSetDashes() crashes X server - ddx problem. PHSS_5025: 94/10 - Turned on the "-lf" (limit number of open files) X server command line option. SR 4701270520. - Filled arcs on Artist (712 Internal display) are not drawn if they are not in the topmost clip region. - MBX fails to render properly after gclose - trashes screen with a window move. SR 1653105544 - SaveUnder unmap memory leak on Artist. SR 1653108803 - Artist GrayScale support. - CRX48Z XDrawPoints rendered the point in the wrong place. - CRX48Z XDrawRectangle draws top line twice. SR 1653085894 - XDrawLines on a pixmap with LineSolid, width=0, CoordModePrevious didn't work. SR 1653088484 - Fix a problem in the CRX family with slow DestroyWindow performance, especially when an application terminates. SRs 1653106450, 5003215335, 5003221788. PHSS_4511: 94/09 - Fix a problem with XFillArc rendering to a window which is partially covered by another window. XFillArc would not render filled arcs in the area below the top border of the covering window. PHSS_4205: 94/08 - CRX48Z: Using XDrawRectabgle for GXxor and position of X is out of the window, the upper and lower lines of rectangle isn't written. SR 1653085894 - SR 1653083188: XFillArc() cannot fill the arc completely. - SR 1653085894: XDrawRectangle does not draw top/bottom if x value out of window. - SR 1653095653: Attempting to use the 75dpi lutRS12 font kills the X server. - SR 1653097139: X server is killed when displaying GlancePlus graphs on a PVRX. - SR 1653100131: Memory leak in the X server. - SR 5003202143: "Unavailable input" icon can be left on the screen. - SR 5003203356: Can't change to large cursor. - SR 5003165233: P3VRX(98705B): problem with text widget cursor (see 5003159848 also). - SR 5003166371: Cannot force window border color to change on 24 bit visual. - SR 1653088484: XDrawLines on a pixmap: result is not correct if the line_style is LineSolid and the line_width is 0. XDrawLines with zero-width, LineSolid, CoordModePrevious does not update the endpoint correctly. - SR 5003215707: VideoLive/CRX fails restoring an album. This problem was fixed by allowing all pixmap depths, even if they could not be displayed. This option is enabled by setting the VIDEOLIVE environment variable. Previous patches: 94/07 - Fixed a problem with Xauthority. SR 5003209619 94/06 - Input Synthesis extension command key is hardcoded. It is correct for an ITF keyboard but wrong for a DIN keyboard. The effect is to disable the 'e' key when recording a test on a machine with a DIN keyboard. - Add missing byteswapping routines to DHA functions. These are never used on workstations, but Panacom's X-terminals require them. - Command line parsed the display number incorrectly. 94/05 - Improperly initialized variable sent via the getsockopt calls caused inconsistant behavior of the call on 300/400 systems and with only TCP/IP connections on 700 systems. - The ethereal keymaps (keymaps for non existent keyboards) had some bugs in the PS2 HIL and DIN maps. - Add keymap for the Canadian Tbits-5 keyboard. 94/06 - Fix for server crash with dual CRX in stacked screen mode. - Cursor may not be restored properly when client dies and screen saver is on: Client changes cursor, screen saver blanks the screen, the client dies, when the screen saver unblanks, the proper cursor is not displayed. SR 5003202143 - Added a keymap for the PS2 HIL (1429) Belgian keyboard. 94/05 - In certain cases, the shared memory connection (shmlink:0) may be corrupted and cause the server to kill the client. Usually load or fast machine related. STARS SR# 5003194662 - In certain cases, the server may core dump. This seems to be a race condition caused by clients being killed while others are connecting. 94/03 - The number of keys on an input device, as reported by XHPListInputDevices, was off by 1. - Toggling Caps Lock on systems with DIN input devices can sometimes cause autorepeat to be turned off. - Removed the 32,000 width and height limits when creating windows. Limit is now 64k. SR 5003163287 - The server could get out of sync with the number of clients and recycle when there were still clients connected. In this case, VueGreet had the server grabbed, something tried to connect, couldn't, was killed (by something external while it was waiting for the server to respond), server was ungrabbed, server processed the [failed] connect, didn't increment nclients, then closed the client, decremented nclients, noticed there were 0 clients left (not really, VueLogin was still connected), server recycled and nuked the auth data (so there were on authorized clients anymore). SR 5003173666 - A very similar bug was found in an obscure corner case. - If information is added to the X0pointerkeys file so that the keyboard can be used as the X pointer device, and that information contains an invalid key name, a core dump may have resulted. - A problem could occur when a client is directly accessing the input devices instead of getting input from X, and another client lists the input devices. It has been observed when ME30 is running and more than 10 hpterm clients are started. SR 5003175927 94/02 - Update the server to use /usr/lib/X11/XHPKeymaps.usr (if it exists). - xset r off/on (global auto repeat) was broken for DIN keyboards. - Updated the DIN "ethreal" keymaps (keymaps for which physical keyboards don't exist). 94/01 - SR 5000704346. CRX48Z only. Filled spans and rectangles in windows longer or wider than 2048 pixels were not being rendered due to integer overflow in the CRX48Z hardware. - SR #1653075903. Long vectors discontinuous at clip box bountary on CRX48Z: When drawing a large rectangle with XDrawLines(), if the length of a line is larger than 0x7fff, the exceeded part of the line isn't drawn. - SR #1653077412. Linewidth zero dashed arcs with start angle of 180 deg can crash X-server. - Using direct access to input devices and many clients listing the input devices, some server data structures can get trashed, causing a server crash. - Fixed a bug Motif 1.2 text field exposed. Improper rendering on PVRX. STARS SR 5003164657, 5003159848. 93/12 - Potential null pointer dereference (server crash) when using extension devices. - Applications using font server can core dump Xserver (font structures are freed but still used) STARS SR SR 1653074591 93/11 - Fixed STARS SR 1653073197; X-server crash on CRX48Z when Wordperfect 5.1 tried to display special WP character set; could not handle zero width character. 93/10 - Fixed "pow DOMAIN error" coming from server when drawing special wide ellipses as produced by the benchmark program x11perf -wpellipse10 - Fixed server crash from segmentation violation on CRX48Z. Bug shows up when using shared memory segment to transfer images as from the mplay program in the "PowerON" demo CD ROM which is being distributed now. - New keymaps in XHPKeymaps. - DIN mouse driver: If two buttons released at the same time, the driver may think one button is still down. Fixed chording. 93/09 - Fixed Xserver crash on mixed visuals, using starbase "gopen",and background_pixmap=None. CRX24[Z], - Memory corruption problem corrected, exposed via changing colormaps, CRX* & timberC - Removed the font server from this patch and put it into its own 700/800 patch. 93/08 - SR 1653064444, partial filled arcs will now clip correctly, CRX, CRX24[Z], CRX48Z, timberC - SR 5003133983, dashed polylines will now clip correctly, CRX, CRX24[Z], timberC - Error with clipping very large arcs corrected on CRX48Z. - Keymap_ed dumped core updating big keymaps. 93/06 - VideoLive functionality has been broken out into shared libraries to improve enhancability and supportability. 93/05 - CRX family, fixed server crash caused by killing SUNCalender (SR 1653053140) - CRX family, added support for environment variable, HP_SUPPRESS_TRUECOLOR_VISUAL, its existance, at server startup suppresses TrueColor visuals on CRX24[Z] and CRX48Z - CRX family, performance enhancement for small stippled bitmaps. - BackingStore enhancement on CRX for double buffered mixed DHA and Xlib images. 93/04 - CRX family, added support for environment variable, HPGCRX_IMAGETEXT_NO_FLICKER, its existance, at server startup will render text via pixmaps, with a modest performance hit, to avoid possible text flickering resulting when using Xlib call XDrawImageString() - Upgraded font server. - Some memory leaks have been plugged. - Memory usage has been reduced. - Some bugs that caused the font server to crash or to get into a high-CPU-usage idle state have been fixed. - Fixed VideoLive problem involving recycling of colormaps. 93/03 - XDrawArcs() no longer kills Xserver when internal Xserver computations evaluate the sqrt() of a negative number. "Domain" errors are still reported to stderr however. (CISlx14826, SR 5003113985) - CRX; modified dha cursor mask handling to support starbase changes (SR 1653046912) - CRX, CRX24, & CRX48Z; corrected X server crash when drawing a dashed 360 degree arc with a start angle of something other than 0 degrees SR 5003117143, SR 5003113985) - CRX48Z, modified blt routine to correctly restore window contents when using backingstore. - CRX; added additional boundary condition checks for blt routines - Fixed CRX24, improved X server shutdown, via shift cntrl reset, was not resetting the colormap to the state expected by the ITE, now it does. - Fixed CRX24, GraphicsExposures now properly reported in all visuals (SR 5003114074) - Fixed GraphicsExposure bug CRX24 & CRX48Z (SR#5003114074) - Fixed numerous, minor UniSoft failures - Fixed CRX24 core dump involving smart clipping (SR#5003110973) - Rolled out attempted fix for window attribute "UnmapGravity" that produced a crash of the Xserver. (SR 5003110973) 93/02 - XSetClipMask() works correctly when XSetPlaneMask() is passed a mask of 0xfefefe. (SR 5003110973) - Fixed Xserver lockup where keyboard mouse locked up but the cursor was free to move. - Fixed 2 second Xserver hang when doing an xsetrootgif on a PVRX. - ITE menu loses colormap after X server termination, C-Shft-Reset fixes - Upgraded keymap_ed(1) tool, man page, and documentation. - keymap_ed(1) no longer dies on series 700 - Fixed a bug in dump_keysym_table() that allowed keysyms to run into each other without space between them. - More error checking for keymap names and IDs. - Added option to keymap_ed to add what string to XHPKeymaps database. 92/12 - Xserver now more robust when handling bad data from HIL devices - prevents the server from locking up with 97% CPU usage. - XGetImage() will now properly handle 12/12 double buffered starbase rendered images in depth 24 windows on CRX24 and CRX24Z when using Z format. (GSLdt01477) - EVRX & MVRX (hyperion) fail XDrawRectangle (... -1, -1) calls - drw pnt. (SR 5003009019, GSLdt01946) - Can't bring up HRC server in Stacked Screens mode - Bad clipping on Stinger fill spans greater than 192. (GSLdt01693) - EVRX core dumps on UniSoft copy area test. (GSLdt01847) 92/11 - Fixed problem brought about by using Softbench. SR: 1653158931 1653148619 4701270520 1653105544 1653108803 1653085894 1653088484 1653106450 5003215335 5003221788 1653106450 5003215335 5003221788 1653105544 1653085894 1653083188 1653085894 1653095653 1653097139 1653100131 5003202143 5003203356 5003165233 5003166371 1653088484 5003215707 5003209619 5003202143 5003194662 5003175927 5003163287 5003173666 1653075903 1653077412 5000704346 5003164657 5003159848 1653074591 5003110973 5003114074 5003113985 5003117143 1653046912 5003110973 5003009019 1653053140 Patch Files: /usr/bin/X11/X /usr/lib/X11/XHPKeymaps /usr/contrib/bin/X11/keymap_ed /usr/contrib/man/man1.Z/keymap_ed.1 /usr/contrib/doc/keymap_ed.doc what(1) Output: /usr/bin/X11/X: (build date: Fri Feb 2 11:45:38 MST 1996) X Window System, Version 11 HP-UX 9.10 Release R5+ $Revision: 70.1 $ Device Driver Utilities $Revision: 44.1.1.19 $ $Date : 94/08/23 15:06:31 $ Device Independent Utilities $Revision: 44.1.1.24 $ $Date: 94/05/31 16:25:28 $ Smart Clipping Utilities $Revision: 44.1.1.9 $ $Date : 93/05/25 15:51:43 $ Modified DIX Utilities $Revision: 44.1.1.1 $ $Date: 92/07/01 02:01:38 $ hpa1096 $revname$ $Date: 94/07/19 16:48:46 $ hpevrx $revname$ $Date: 94/07/19 16:50:22 $ VM bit-per-pixel $revname$ $Revision: 44.1.1.4 $ $Da te: 93/03/02 13:50:33 $ VM byte-per-pixel $revname$ $Revision: 44.1.1.3 $ $D ate: 93/05/18 21:28:24 $ VM short-per-pixel $revname$ $Revision: 44.1.1.3 $ $ Date: 93/05/18 21:29:58 $ VM Long-per-pixel $revname$ $Revision: 44.1.1.3 $ $D ate: 93/05/18 21:31:11 $ hpa1416 $revname$ $Revision: 44.1.1.19 $ $Date: 94/0 7/19 16:42:08 $ hp98550 $revname$ $Revision: 44.1.1.19 $ $Date: 94/0 7/19 16:42:08 $ hpa1659 $revname$ $Revision: 44.1.1.61 $ $Date: 94/0 5/20 17:02:05 $ hpa1924 $revname$ $Revision: 44.1.1.61 $ $Date: 94/0 5/20 17:02:05 $ hpa1991 $revname$ $Revision: 44.1.1.61 $ $Date: 94/0 5/20 17:02:05 $ hpa1439 $revname$ $Revision: 44.1.1.61 $ $Date: 94/0 5/20 17:02:05 $ SharedX Extension Hooks STARBASE HP-UX 9.0 A.09.00 920904 libxd300h.a $Revi sion: 500.1.1.1 $ STARBASE HP-UX 9.0 A.09.00 920904 libxd300l.a $Revi sion: 500.1.1.1 $ STARBASE HP-UX 9.0 A.09.00 920904 libxd98720.a $Rev ision: 500.1.1.1 $ STARBASE HP-UX 9.0 A.09.00 920904 libxd98730.a $Rev ision: 500.1.1.1 $ STARBASE HP-UX 9.0 A.09.00 920904 libxd98704.a $Rev ision: 500.1.1.1 $ STARBASE HP-UX 9.0 A.09.00 920904 libxd98735.a $Rev ision: 500.1.1.5 $ STARBASE HP-UX 9.0 A.09.00 920904 libsdiutils.a $Re vision: 500.1.1.1 $ /usr/contrib/bin/X11/keymap_ed: (build date: Tue Nov 22 19:12:51 MST 1994) X Window System, Version 11 HP-UX Nov 94 Periodic Pa tch R5+ keymap_ed v1.6 /usr/contrib/man/man1.Z/keymap_ed.1: 960206 /usr/contrib/doc/keymap_ed.doc: Version 1.7 /usr/lib/X11/XHPKeymaps: (build date: Tue Nov 22 19:12:53 MST 1994) X Window System, Version 11 HP-UX Nov 94 Periodic Pa tch R5+ This file contains keymaps. It is usually called XHPKeymaps and is usually in /etc/X11 or /usr/lib/X11. Use keymap_ed to view or make changes. sum(1) Output: 4742 5526 /usr/bin/X11/X 34363 46 /usr/contrib/bin/X11/keymap_ed 62566 95 /usr/contrib/doc/keymap_ed.doc 51348 5 /usr/contrib/man/man1.Z/keymap_ed.1 25504 393 /usr/lib/X11/XHPKeymaps Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_4205 PHSS_4511 PHSS_5025 Equivalent Patches: None Patch Package Size: 3100 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. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHSS_6773 . sh PHSS_6773 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHSS_6773.updt PHSS_6773 Update moves the original software to /system/PHSS_6773/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_6773 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_6773.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: To install this patch, you MUST be in no windows mode: On the cluster server and each of the nodes do the following: 1) At the Vuelogin screen, choose the [No windows] option. You should see a console login prompt. Press [Return] if you don't. 2) Login as root. 3) Type: /etc/telinit 2 4) Logout. You should see a console login prompt again.