Patch Name: PHSS_5568 Patch Description: s700 9.X X Server May 1995 Periodic Patch #2 Creation Date: 95/05/15 Post Date: 95/05/17 Hardware Platforms - OS Releases: s700: 9.01 9.03 9.05 Products: N/A Filesets: X11-SERV X11-RUN X11-RUN-MAN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700/9.X/PHSS_5568 Symptoms: PHSS_5568: 95/05 - X server crash - Starbase program, 12-plane double-buffered SR 5003230235 PHSS_5510: 95/05 - X server crash - PEX prog, HCRX24, XmStringDraw() image planes SR 1653125377 - Specifying some keys in the X0pointerkeys file may cause errors. - spaceball sample input device driver is broken. - Turn off autorepeat for the DIN keyboard modifier keys. We previously did this in software, but have had a report that the autorepeating modifier keys (Shift, Control, Alt) may be causing the kernel buffer to overflow when used in applications that tie up the CPU with intensive graphics, while at the same time requiring a modifier key to be held down. PHSS_5298: 95/03 - fixed a logic error that caused non-full-depth Tiled pixmaps to use the stipple pixmap, which was undefined. SR 5003211821,5003201988, 1653109835 - Accented capital letters caused background overflow. SR 5003212787 - Fixed a depth-24 backing store pixmap problem found by Unigraphics which caused the server to dump core. PHSS_5188: 95/01 - If tablet subsetting is being used with an HIL tablet, moving out of the subset area while a button is pressed, then releasing it, causes the button release to be lost. SR 1653117788 PHSS_5066: 94/12 - Added the Resource ID recycling extension (XC-MISC). To use this new functionality, all a client needs to do is use the new libX11.sl (in PHSS_5037) or link against the new libX11.a (in PHSS_5037 and PHSS_5038) (ie it is automagic). SR 1653059212 - If a system is configured with 2 or 3 screens arranged in a vertical or horizontal configuration, and the NOWRAP keyword is specified in the X*pointerkeys configuration file to indicate that screen changing should not wrap from screen 0 to the last screen and vice versa, it can be observed that screen changing will wrap from the last screen to the first in spite of the NOWRAP specification. - Turning two dials on a dialbox at once can cause the data to be reported as if it had come from a single dial. - Two X server memory leaks. One minor leak occurs if an input device is grabbed and frozen. The size of the leak depends on the number of events that are queued up while the device is frozen. It is 32 bytes per event. The second leak occurs when an input extension request is made to get motion history from a device that has not yet generated any events. This leak is 1200 bytes for an input device reporting two axes of motion. PHSS_4888: 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 PHSS_4820: 94/09 - Fix a problem in the CRX family with slow DestroyWindow performance, especially when an application terminates. SRs 1653106450, 5003215335, 5003221788. Previous patches: 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. 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. 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. Defect Description: PHSS_5568: See Symptom Description. PHSS_5510: See Symptom Description. PHSS_5298: See Symptom Description. PHSS_5188: See Symptom Description. PHSS_5066: See Symptom Description. PHSS_4888: See Symptom Description. PHSS_4820: See Symptom Description. SR: 5003230235 1653125377 5003211821 5003201988 1653109835 5003212787 1653117788 1653059212 1653109579 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/lib/X11/extensions/hp7lc2k.sl /usr/lib/X11/extensions/hp7lc2m.sl /usr/lib/X11/extensions/libhprop.sl /usr/lib/X11/extensions/libxv.sl /usr/contrib/bin/X11/keymap_ed /usr/contrib/man/man1.Z/keymap_ed.1 /usr/contrib/doc/keymap_ed.doc what(1) Output: /usr/contrib/doc/keymap_ed.doc: None /usr/contrib/man/man1.Z/keymap_ed.1: None /usr/bin/X11/X: X Window System, Version 11 HP-UX 9.* SRC_APR95 R5+ (build date: Mon May 15 10:17:10 PDT 1995) $Revision: 70.1 $ xosDDXProcs.c modified 5/24/94 Device Driver Utilities $Revision: 52.1.1.2 $ $Date: 94/08/18 11:00:25 $ Device Independent Utilities $Revision: 52.1.1.3 $ $ Date: 94/05/31 16:20:07 $ VM bit-per-pixel $revname$ $Revision: 52.1.1.1 $ $Da te: 94/03/08 14:13:04 $ VM byte-per-pixel $revname$ $Revision: 52.1.1.1 $ $D ate: 94/03/08 14:13:57 $ VM short-per-pixel $revname$ $Revision: 52.1.1.1 $ $ Date: 94/03/08 14:14:49 $ VM Long-per-pixel $revname$ $Revision: 52.1.1.1 $ $D ate: 94/03/08 14:15:36 $ HCRX $revname$ $Revision: 52.1.1.5 $ $Date: 95/01/03 11:26:20 $ Common $revname$ $Revision: 52.1.1.12 $ $Date: 95/03 /28 13:01:39 $ Templates $revname$ $Revision: 52.1.1.7 $ $Date: 95/ 03/28 13:11:56 $ hpa1439 $revname$ $Revision: 52.1.1.1 $ $Date: 94/03 /08 14:26:11 $ hpa1991 $revname$ $Revision: 52.1.1.1 $ $Date: 94/03 /08 14:26:11 $ hpa1924 $revname$ $Revision: 52.1.1.1 $ $Date: 94/03 /08 14:26:11 $ hpa1659 $revname$ $Revision: 52.1.1.1 $ $Date: 94/03 /08 14:26:11 $ STINGER $revname$ $Revision: 52.1.1.6 $ $Date: 94/11 /22 10:22:08 $ Modified DIX/SC Utilities $Revision: 52.1.1.5 $ $Dat e: 95/03/28 16:26:35 $ HPPEX Extension Hooks SharedX Extension Hooks $Revision: 510.1.200.1 $ $Date: 94/02/18 14:23:17 $ libsdiutils.a $Revision: 510.1.200.1 $ $Date: 94/02/18 16:42:49 $ libxd98704.a $Revision: 510.1.200.2 $ $Date: 94/07/29 13:05:27 $ libxd98735.a /usr/lib/X11/XHPKeymaps: (build date: Fri Apr 28 14:52:38 PDT 1995) X Window System, Version 11 HP-UX 9.* SRC_APR95 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. /usr/lib/X11/extensions/hp7lc2k.sl: X Window System, Version 11 HP-UX 9.* SRC_APR95 R5+ (build date: Thu Apr 20 11:40:09 PDT 1995) hp7lc2k : DIN PS2-compatible keyboard driver for X /usr/lib/X11/extensions/hp7lc2m.sl: X Window System, Version 11 HP-UX 9.* SRC_APR95 R5+ (build date: Fri Apr 21 11:59:37 PDT 1995) hp7lc2m : DIN PS2-compatible mouse driver for X /usr/lib/X11/extensions/libhprop.sl: X Window System, Version 11 HP-UX 9.* SRC_APR95 R5+ (build date: Thu Apr 20 11:35:28 PDT 1995) /usr/lib/X11/extensions/libxv.sl: X Window System, Version 11 HP-UX 9.* SRC_APR95 R5+ (build date: Thu Apr 20 11:35:27 PDT 1995) /usr/contrib/bin/X11/keymap_ed: X Window System, Version 11 HP-UX 9.* SRC_APR95 R5+ (build date: Fri Apr 14 16:57:17 PDT 1995) keymap_ed v1.7 sum(1) Output: 4287 5408 /usr/bin/X11/X 22007 393 /usr/lib/X11/XHPKeymaps 13689 24 /usr/lib/X11/extensions/hp7lc2k.sl 29456 24 /usr/lib/X11/extensions/hp7lc2m.sl 32122 344 /usr/lib/X11/extensions/libhprop.sl 29676 136 /usr/lib/X11/extensions/libxv.sl 30522 80 /usr/contrib/bin/X11/keymap_ed 21671 6 /usr/contrib/man/man1.Z/keymap_ed.1 62386 94 /usr/contrib/doc/keymap_ed.doc Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_1717 PHSS_2179 PHSS_2201 PHSS_2210 PHSS_2239 PHSS_2372 PHSS_2541 PHSS_2613 PHSS_2902 PHSS_3121 PHSS_3235 PHSS_3513 PHSS_3707 PHSS_3779 PHSS_4089 PHSS_4325 PHSS_4357 PHSS_4448 PHSS_4680 PHSS_4726 PHSS_4820 PHSS_4888 PHSS_5066 PHSS_5188 PHSS_5298 PHSS_5510 Equivalent Patches: None Patch Package Size: 3330 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_5568 . sh PHSS_5568 3. Become root and run update: /etc/update 4. Use the cursor keys to select "Change Source or Destination ->" and press [Return]. 5. Select "From Tape Device to Local System ..." in the Change window and 6. Change "Source: /dev/rmt/0m" to "Source: /tmp/PHSS_5568.updt" 7. Press "Done" (f4). 8. Follow the standard directions for update. Update moves the original software to /system/PHSS_5568/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_5568 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_5568.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: 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. Why isn't libxv.sl installed? --- ----- -------- ---------- The shared libraries libxv.sl and libhprop.sl supplied with this patch will not be installed automatically if they are already present in the directory /usr/lib/X11/extensions. This is to prevent possible overwriting of the product versions of these libraries (e.g. VideoLive), but if you do not have such products, it is safe to manually copy the new versions into that directory. Shared X ------ - Note: If you don't need SharedX functionality, the SharedX stubs library (libSXR5.sl.stubs) can be used in place of libSXR5.sl. Just rename or link it to libSXR5.sl. One convenient method is to name the libraries ".real" or ".stubs" (already done if you have installed SharedX or the SharedX patch) and symbolically link to the desired library. For example (as root): cd /usr/lib/X11/extensions ln -s libSXR5.sl.real libSXR5.sl There is no advantage to using the stubs in place of the real library.