Patch Name: PHSS_7489 Patch Description: s700 9.X PHIGS Development June Periodic Patch Creation Date: 96/06/28 Post Date: 96/07/17 Hardware Platforms - OS Releases: s700: 9.01 9.03 9.05 9.07 Products: PHIGS 3.0 Filesets: PHIGS-PRG PHIGS-RUN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700/9.X/PHSS_7489 Symptoms: PHSS_7489: The following symptoms correspond to the descriptions in the "defect description" field for PHSS_6909: 1. PHSS_6909: The following symptoms correspond to the descriptions in the "defect description" field for PHSS_6909: 1. HP-PHIGS BQUMs can be destructive. 2. PHIGS can dump core during GDP element content inquiry. PHSS_6541: The following symptoms correspond to the descriptions in the "defect description" field for PHSS_6541: 1. Open workstation could fail reporting error 904, or segmentation violation. 2. Close workstation call could hang. PHSS_6124: The following symptoms correspond to the descriptions in the "defect description" field for PHSS_6124: 1. An unsupported GSE, -18, was being reported through PHIGS INQUIRE GSE FACILITIES. It will no longer be reported. 2. Errors -10 and -11 were being reported in the wrong order during an erroneous OPEN PHIGS. 3. OPEN PHIGS fails, sometimes with a message about the PHIGS daemon, if the application opened many files before calling OPEN PHIGS 4. At most 8 picks were reported through EXECUTE DIRECT PICK ESCAPE. PHSS_5103: The following symptoms correspond to the descriptions in the "defect description" field for PHSS_5103: 1. General performance enhancements 2. Functional enhancements to allow easier porting from some graPHIGS applications PHSS_4908: The following symptoms correspond to the descriptions in the defect descriptions field for PHSS_4908: 1. PHIGS doesn't produce an error when the graphics core reports a warning 2. Enhancement to allow distributed font paths PHSS_4559: The following symptoms correspond to the descriptions in the defect descriptions field for PHSS_4559: 1. When PHIGS_VERBOSE_ERROR is set, Core graphics warnings were not printed. 2. When the largest name in a filter is a multiple of 32, the filter behaves incorrectly 3. When an application uses more than 32 views, they don't always update correctly 4. When a workstation is immediately closed after an input operation, PHIGS hangs Defect Description: PHSS_7489: The following defect descriptions are for PHSS_6909: 1. PHSS_6909: The following defect descriptions are for PHSS_6909: 1. HP-PHIGS needs a non-destructive way to render prompts and echoes with BQUMs. 2. Compiled text inquiry may core dump during execution. PHSS_6541: The following defect descriptions are for PHSS_6541: 1. PHIGS used too many file descriptors per workstation; Incorrect initialization order for PHIGS workstations. 2. Under some circumstances, the parent PHIGS application and the PHIGS input daemon (/usr/lib/phigs/phg_daemon) could get out of synch; the application would hang during close (of workstation). PHSS_6124: The following defect descriptions are for PHSS_6124: 1. Can occur if an application inquires the list of available GSEs then tries to execute GSE -18. 2. Can occur if the application attaches meaning to the order of errors returned. 3. If many files were opened before the PHIGS daemon was forked, the PHIGS daemon could run out of file descriptors (the implementation was limited to 32 file descriptors total). The new implementation closes all inessential file descriptors before continuing, and allows for a larger number of total file descriptors. 4. If the application was using the EXECUTE DIRECT PICK ESCAPE to maintain a list of picks in a pick window, at most 8 would be reliably reported, regardless of the number of primitive elements that intersected the window. PHSS_5103: The following defect descriptions are for PHSS_5103: 1. Performance improvements during display traversal of some types of structures have been included. In particular, structures that use small names in namesets (a "small" name has a value less than 32) should see performance improvments. Also, structures that use redundant attributes (repeatedly setting an attribute to a given value) will now be traversed faster. 2. PEX-style widelines are now supported through a GSE. A more powerful invisibility filter, the Invisibility Filter List, is available through an escape. A new line type (the Short Dash) has been provided, as well as a new marker type (the Small Square). PHSS_4908: The following defect descriptions are for PHSS_4908: 1. The defect can be seen if an Ellipse GDP is used with a very fine curve resolution. The Core will produce a warning about the number of sides allowed in a polygon, but PHIGS will ignore the error and not report it to the user. With this fix, these errors are reported. 2. The HP_FONT_PATH environment variable can be used to point at alternate places in the file system where PHIGS should look for font information. PHSS_4559: The following defect descriptions are for PHSS_4559: 1. PHIGS_VERBOSE_ERROR can be set to allow more detailed error information to be provided when an error occurs. When set, it should allow Core graphics warnings to be printed. It now does. 2. Filter sizes were being incorrectly calculated when the largest name in use was a multiple of 32. If this were the case, the filter would behave as though that name were not used. 3. This defect could be reproduced if an application were using more than 32 views, with some views shielded and others unshielded. Some views would not be updated correctly. 4. This is a race condition. It can be reproduced by repeatedly performing an input operation and then immediately closing the workstation. If there were input events reported for the workstation that arrive from the PHIGS input daemon after the workstation is closed, PHIGS would hang. SR: 5003276873 5000706440 5003300509 1653150326 Patch Files: /usr/lib/libphigs.sl /usr/lib/phigs/phg_daemon /usr/lib/libphigs.a /usr/include/phigs.f1.h /usr/include/phigs.f2.h /usr/include/phigs.fc.h /usr/include/phigs.h /usr/include/phigs_plus.h what(1) Output: /usr/lib/libphigs.sl: HP-PHIGS PATCH PHSS_4253/PHSS_4254 HP-PHIGS PATCH PHSS_4559/PHSS_4560 HP-PHIGS PATCH PHSS_4908/PHSS_4909 HP-PHIGS PATCH PHSS_5103/PHSS_5104 HP-PHIGS PATCH PHSS_6124/PHSS_6125 HP-PHIGS PATCH PHSS_6541/PHSS_6542 HP-PHIGS PATCH PHSS_6909/PHSS_6910 HP-PHIGS PATCH PHSS_7489/PHSS_7490 HP-PHIGS 3.24 on HP-UX $Revision: 206.8 $ $Date: 96/ 06/21 16:26:50 $ /usr/lib/phigs/phg_daemon: HP-PHIGS PATCH PHSS_6124/PHSS_6125 HP-PHIGS PATCH PHSS_6541/PHSS_6542 HP-PHIGS PATCH PHSS_6909/PHSS_6910 HP-PHIGS Daemon 3.24 on HP-UX $Revision: 206.3 $ $Da te: 96/04/09 15:01:41 $ /usr/lib/libphigs.a: HP-PHIGS PATCH PHSS_4253/PHSS_4254 HP-PHIGS PATCH PHSS_4559/PHSS_4560 HP-PHIGS PATCH PHSS_4908/PHSS_4909 HP-PHIGS PATCH PHSS_5103/PHSS_5104 HP-PHIGS PATCH PHSS_6124/PHSS_6125 HP-PHIGS PATCH PHSS_6541/PHSS_6542 HP-PHIGS PATCH PHSS_6909/PHSS_6910 HP-PHIGS PATCH PHSS_7489/PHSS_7490 HP-PHIGS 3.24 on HP-UX $Revision: 206.8 $ $Date: 96/ 06/21 16:26:50 $ /usr/include/phigs.f1.h: phigs.f1.h 180.1 01/20/95 15:21:17 /usr/include/phigs.f2.h: phigs.f2.h $Revision: 206.1 $ $Date: 96/03/18 16:02: 05 $ /usr/include/phigs.fc.h: phigs.fc.h $Revision: 206.1 $ $Date: 96/03/18 16:02 :05 $ */ /usr/include/phigs.h: phigs.h $Revision: 206.1 $ $Date: 96/03/18 16:02:05 $ */ /usr/include/phigs_plus.h: phigs_plus.h $Revision: 206.1 $ $Date: 96/03/18 16: 02:05 $ */ sum(1) Output: 22938 3224 /usr/lib/libphigs.sl 836 256 /usr/lib/phigs/phg_daemon 45759 3391 /usr/lib/libphigs.a 37625 67 /usr/include/phigs.f1.h 45066 115 /usr/include/phigs.f2.h 11397 314 /usr/include/phigs.fc.h 26380 506 /usr/include/phigs.h 37300 67 /usr/include/phigs_plus.h Patch Conflicts: None Patch Dependencies: s700: 9.01 9.03 9.05: PHSS_5695 PHSS_5696 PHSS_5913 PHSS_5916 PHSS_7485 PHSS_7488 PHSS_7623 s700: 9.07: PHSS_7485 PHSS_7488 PHSS_7623 Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_4559 PHSS_4908 PHSS_5103 PHSS_6124 PHSS_6541 PHSS_6909 Equivalent Patches: None Patch Package Size: 4030 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_7489 . sh PHSS_7489 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHSS_7489.updt PHSS_7489 Update moves the original software to /system/PHSS_7489/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHSS_7489 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHSS_7489.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None