Patch Name: PHSS_30215 Patch Description: s700_800 11.22 libunwind Library Cumulative Creation Date: 04/01/23 Post Date: 04/01/27 Hardware Platforms - OS Releases: s700: 11.22 s800: 11.22 Products: N/A Filesets: OS-Core.CORE2-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP OS-Core.CORE2-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP ProgSupport.C2-INC,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP Automatic Reboot?: No Status: General Release Critical: No (superseded patches were critical) PHSS_28976: MEMORY_LEAK Category Tags: defect_repair enhancement general_release critical memory_leak Path Name: /hp-ux_patches/s700_800/11.X/PHSS_30215 Symptoms: PHSS_30215: JAGae93989: Unwind library previously did not support exceptions thrown from a signal handler; the application would have been aborted when an thrown exception was not caught before unwinding into a signal handler frame. PHSS_28976: JAGae49574: Memory leak when handling C++ exceptions. JAGae48447: Memory allocation and deallocation issues with unwind library JAGae44512: unwind library performance unacceptably slow Defect Description: PHSS_30215: JAGae93989: The C++ standard explicitly disallows throwing exceptions from a signal handler, so the runtime support was not designed to support it. PHSS_28976: JAGae49574: Allocated memory was not being freed when a C++ exception handler was called. JAGae48447: Memory allocation and deallocation issues with unwind library JAGae44512: unwind library performance unacceptably slow Enhancement: Yes PHSS_28976: This patch delivers (1) a new API, _UNW_jmpbufContext(), for initializing an unwind context from a jmpbuf that has been previously initialized by a call to setjmp(); (2) a new set of APIs described in uwx(3x) to do faster unwinding. PHSS_30215: JAGae93989: This patch delivers new support for exceptions thrown from a signal handler. SR: 8606332874 8606285633 8606284501 8606280536 Patch Files: OS-Core.CORE2-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux64/libunwind.so.1 OS-Core.CORE2-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/libunwind.so.1 ProgSupport.C2-INC,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/include/unwind.h /usr/include/uwx.h /usr/include/uwx_self.h what(1) Output: OS-Core.CORE2-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux64/libunwind.so.1: HP-UX Unwind Library for Itanium(R)-based systems 0 2-Dec-2003 OS-Core.CORE2-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/lib/hpux32/libunwind.so.1: HP-UX Unwind Library for Itanium(R)-based systems 0 2-Dec-2003 ProgSupport.C2-INC,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: /usr/include/unwind.h: None /usr/include/uwx.h: None /usr/include/uwx_self.h: None cksum(1) Output: OS-Core.CORE2-64SLIB,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 3921207400 531288 /usr/lib/hpux64/libunwind.so.1 OS-Core.CORE2-SHLIBS,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 1262565484 501436 /usr/lib/hpux32/libunwind.so.1 ProgSupport.C2-INC,fr=B.11.22,fa=HP-UX_B.11.22_IA,v=HP: 819495338 14006 /usr/include/unwind.h 2412870092 10862 /usr/include/uwx.h 438472526 1280 /usr/include/uwx_self.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_28976 Equivalent Patches: PHSS_30017: s700: 11.23 s800: 11.23 Patch Package Size: 390 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_30215 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_30215.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_30215. 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_30215.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_30215.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_30215.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None