Patch Name: PHSS_30109 Patch Description: s700_800 11.00 OV ECS3.00 Intermediate Patch December 2003 Creation Date: 03/12/16 Post Date: 03/12/18 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: Event Correlation Services Filesets: OVECS.OVECS-DM,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP OVECS.OVECS-RUN,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_30109: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHSS_30109 Symptoms: PHSS_30109: Change Request : F333003162 pmd aborts at libECSS.sl in EIN_free_transient, free_collection. The problem occurs when huge memory growth is seen. Change Request : F333003247 The failure in decoding of the event results in memory growth in pmd. Defect Description: PHSS_30109: Change Request : F333003162 The core was due to not checking the NULL pointer returned from malloc system call. malloc system call failed when there was huge memory growth at a particular instance due to large number of event stored/held in ECS. Resolution: Error check is done in case malloc return a null pointer. Change Request : F333003247 The problem was because of the libova library used by ECS for decoding the SNMP events. In libova a temporary variable used for getting back the result was not getting freed when the decoding of the event fails in between. Resolution: In case of decoding error the temporary memory allocated for getting back the result is freed now. Enhancement: No SR: F333003162 F333003247 Patch Files: OVECS.OVECS-DM,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP: /opt/OV/lib/libova.3 /etc/opt/OV/share/conf/stacks/pmd/libECSS.sl OVECS.OVECS-RUN,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP: /opt/OV/bin/ecsd what(1) Output: OVECS.OVECS-DM,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP: /opt/OV/lib/libova.3: DFIX15073 choice.c 18Nov2003 DFIX15000: dtd.c 01Oct1999 DFIX15058: ber.c 02Jul2002 DFIX15046: ber.c 28Feb2002 DFIX15014: ber.c 13Dec2000 DFIX15000: ber.c 01Oct1999, 13sep2000 DFIX15001: dict.c 21Dec1999 DFIX15039 parse.c 21Jan2002 DFIX15000: enum.c 01Oct1999 DFIX15073 list.c 18Nov2003 DFIX15027: list.c 2Aug2001 DFIX15000: trans.c 04Nov1999 DFIX15073 struct.c 18Nov2003 DFIX15027: struct.c 2Aug2001 DFIX15025: struct.c 06Jul2001 HP OpenView OpenView ASN.1 data minipulation tool (o va) DM Release A.06.00 HP 9000 S700/S800 HP-UX 11.x Copyright (c) 1990-2003 Hewlett-Packard Co., All Ri ghts Reserved. /etc/opt/OV/share/conf/stacks/pmd/libECSS.sl: ECS.c $Revision: 1.9 $ $Date: 1998/04/22 23:30:06 $ ECS 3.0 (A.03.00) ECS REV: A.03.00 memory.c $Revision: /main/ECS3.0/1 $ $Date: 2003/01/ 13 12:50 UTC $ trace.c $Revision: 1.12 $ $Date: 1998/03/12 04:48:38 $ annotate.c $Revision: 1.14 $ $Date: 1997/10/03 02:30 :59 $ log.c 1.27 1996/06/03 04:56:34 anno_event.c $Revision: 1.18 $ $Date: 1997/08/29 00: 49:58 $ annoio.c $Revision: 1.45 $ $Date: 1998/04/01 06:27:2 6 $ annotate.c $Revision$ $Date$ ascii.c $Revision$ $Date$ ascii_alloc.c $Revision$ $Date$ assembler.c $Revision: /main/2 $ $Date: 1998/08/21 1 0:32 UTC $ berova.c $Revision: /main/ECS3.0/3 $ $Date: 2000/06/ 05 11:47 UTC $ DFIX12004 : ber.c,June 2000 PATCH PHSS_21826,Consolidated patch June 2000 PATCH PHSS_21761,June 2000 bif_oid.c $Revision: 1.1 $ $Date: 1997/09/25 05:08:2 4 $ bus.c $Revision$ $Date$ dicts.c $Revision: 1.18 $ $Date: 1998/03/27 09:02:35 $ char_sets.c $Revision: /main/2 $ $Date: 1998/08/21 1 0:39 UTC $ circuit.c $Revision: /main/ECS3.0/4 $ $Date: 1999/04 /16 12:40 UTC $ DFIX12000:circuit.c 19mar99 clock.c $Revision: /main/ECS3.0/2 $ $Date: 1999/03/1 9 12:47 UTC $ DFIX12000:clock.c 19mar99 combine.c $Revision: /main/ECS3.0/4 $ $Date: 2000/08 /29 09:10 UTC $ PATCH PHSS_22048, Sept 2000 DFIX12004 : combine.c, June2000 container.c $Revision: 1.17 $ $Date: 1998/02/18 00:4 9:18 $ control.c $Revision: 1.42 $ $Date: 1998/04/01 06:31: 39 $ count.c $Revision: /main/ECS3.0/2 $ $Date: 2000/07/1 3 08:54 UTC $ create.c $Revision$ $Date$ ctxtmap.c $Revision: 1.3 $ $Date: 1998/01/29 08:58:2 4 $ datastore.c $Revision: 1.8 $ $Date: 1998/07/25 18:31 :39 $ debug.c $Revision: 1.26 $ $Date: 1997/07/08 07:17:52 $ delay.c $Revision$ $Date$ dfstore.c $Revision: /main/2 $ $Date: 1998/08/07 15: 39 UTC $ dictionary.c $Revision: /main/ECS3.0/2 $ $Date: 2003 /11/24 09:36 UTC $ dicts.c $Revision: /main/ECS3.0/4 $ $Date: 2002/07/0 4 11:49 UTC $ PATCH PHSS_25944, Jan 2002 ecsLocale.c $Revision: /main/2 $ $Date: 1998/08/21 1 0:59 UTC $ endecode.c $Revision: 1.89 $ $Date: 1998/03/12 06:15 :55 $ endecrypt.c $Revision: 1.1 $ $Date: 1997/10/15 09:57 :37 $ engine.c $Revision: 1.15 $ $Date: 1997/08/14 00:08:4 2 $ engine_control.c $Revision: /main/ECS3.0/2 $ $Date: 1999/03/19 12:49 UTC $ DFIX12000:engine_control.c 19mar99 engine_dict.c $Revision: 1.7 $ $Date: 1998/03/23 07: 30:52 $ engmgr.c $Revision: 1.81 $ $Date: 1998/07/15 07:41:5 0 $ engsockmgr.c $Revision: 1.5 $ $Date: 1997/04/09 05:1 2:44 $ eventio.c $Revision: 1.37 $ $Date: 1998/05/18 04:14: 16 $ events.c $Revision: 1.30 $ $Date: 1998/06/01 08:01:4 1 $ extract.c $Revision$ $Date$ factstore.c $Revision: 1.8 $ $Date: 1998/07/25 18:36 :10 $ fatal.c $Revision: 1.13 $ $Date: 1998/05/07 02:26:33 $ filter.c $Revision$ $Date$ input.c $Revision: /main/ECS3.0/2 $ $Date: 2001/03/2 0 13:13 UTC $ DFIX12007:input.c Mar2001 interpreter.c $Revision: /main/ECS3.0/3 $ $Date: 200 3/01/13 12:50 UTC $ library.c $Revision: /main/ECS3.0/2 $ $Date: 2002/07 /23 07:25 UTC $ lic_flexlm.c $Revision: 1.18 $ $Date: 1998/04/24 07: 23:12 $ lic_mgr.c $Revision: 1.28 $ $Date: 1998/07/30 01:04: 01 $ lic_ovkey.c $Revision: /main/3 $ $Date: 1998/09/16 0 7:58 UTC $ loader.c $Revision$ $Date$ log.c $Revision: 1.7 $ $Date: 1997/07/04 07:34:11 $ management.c $Revision: 1.8 $ $Date: 1998/06/25 02:3 7:16 $ md.c $Revision$ $Date$ memory.c $Revision: /main/ECS3.0/1 $ $Date: 2002/04/ 19 10:34 UTC $ mesgbuf.c $Revision: 1.18 $ $Date: 1998/05/07 00:28: 35 $ modify.c $Revision$ $Date$ cinter.c $Revision: /main/ECS3.0/5 $ $Date: 2003/02/ 21 09:59 UTC $ DFIX12001:cinter.c 01Sept99 stk.c $Revision: /main/ECS3.0/15 $ $Date: 2000/10/09 13:50 UTC $ DFIX12006:stk.c Sept2000 DFIX12001:stk.c 01Sept99 node.c $Revision: 1.44 $ $Date: 1998/05/01 04:33:53 $ nodeclass.c $Revision: 1.16 $ $Date: 1997/09/26 07:3 7:47 $ notify.c $Revision: 1.2 $ $Date: 1997/08/07 08:13:22 $ opc_pattern.c $Revision: /main/2 $ $Date: 1998/08/21 10:33 UTC $ output.c $Revision$ $Date$ parse.c $Revision: /main/2 $ $Date: 1998/08/21 10:29 UTC $ patching.c $Revision: 1.8 $ $Date: 1997/12/15 06:19: 31 $ perror.c $Revision: 1.6 $ $Date: 1998/03/19 00:03:27 $ port.c $Revision: 1.11 $ $Date: 1996/05/15 05:45:40 $ query.c 1.16 1996/11/20 23:28:02 rate.c $Revision: /main/ECS3.0/4 $ $Date: 1999/09/01 10:30 UTC $ DFIX12000:rate.c 19mar99 PATCH PHSS_18006, Consolidated patch Mar 1999 rearrange.c $Revision$ $Date$ sequence.c $Revision: 1.17 $ $Date: 1998/01/28 03:39 :17 $ sockmgr.c $Revision: 1.54 $ $Date: 1998/04/16 07:23: 13 $ sockstack.c $Revision: /main/ECS3.0/9 $ $Date: 2003/ 11/24 10:09 UTC $ DFIX12007:sockstack.c Mar2001 DFIX12001:sockstack.c 01Sept99 PATCH PHSS_23623, Mar 2001 PATCH PHSS_19622, Jan 2000 stream.c $Revision: 1.10 $ $Date: 1998/02/24 02:46:1 5 $ streamio.c $Revision: 1.13 $ $Date: 1998/04/01 06:16 :03 $ table.c $Revision: /main/ECS3.0/2 $ $Date: 1999/03/1 9 12:45 UTC $ DFIX12000:table.c 19mar99 test.c $Revision$ $Date$ timesync.c $Revision: 1.9 $ $Date: 1997/03/24 08:20: 28 $ token_set.c $Revision$ $Date$ trace.c $Revision: 1.4 $ $Date: 1998/06/10 09:01:45 $ transit.c $Revision$ $Date$ unless.c $Revision: /main/ECS3.0/5 $ $Date: 2002/04/ 19 14:00 UTC $ PATCH PHSS_26909, Apr 2002 DFIX12000:unless.c 19mar99 value.c $Revision: /main/ECS3.0/8 $ $Date: 2003/11/2 5 09:40 UTC $ PATCH PHSS_28650 ,Consol. Patch, March 2003 PATCH PHSS_28648, March 2003 DFIX12003:value.c 03April,2000 PHSS_30109 Intermediate Patch November 2003 vstring.c $Revision: /main/2 $ $Date: 1998/08/21 10: 54 UTC $ FLEXlm 6.0d (liblmgr.a), Copyright (C) 1988-1997 Glo betrotter Software, Inc. ecs_flexlm.c $Revision: 1.3 $ $Date: 1998/02/18 04:4 4:18 $ OVECS.OVECS-RUN,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP: /opt/OV/bin/ecsd: HP aC++ B3910B A.03.10 Language Support Library PTSfc01881:ecsd.C June2001 ecsd.c $Revision: /main/ECS3.0/7 $ $Date: 2003/02/21 09:24 UTC $ tcl_dummy.c $Revision$ $Date$ logging.c $Revision$ $Date$ performance.c $Revision$ $Date$ support.c $Revision$ $Date$ engine_control.c $Revision: /main/ECS3.0/2 $ $Date: 1999/03/19 12:49 UTC $ DFIX12000:engine_control.c 19mar99 annotate.c $Revision: 1.14 $ $Date: 1997/10/03 02:30 :59 $ events.c $Revision: 1.30 $ $Date: 1998/06/01 08:01:4 1 $ management.c $Revision: 1.8 $ $Date: 1998/06/25 02:3 7:16 $ timesync.c $Revision: 1.9 $ $Date: 1997/03/24 08:20: 28 $ annotate.c $Revision$ $Date$ bus.c $Revision$ $Date$ clock.c $Revision: /main/ECS3.0/2 $ $Date: 1999/03/1 9 12:47 UTC $ DFIX12000:clock.c 19mar99 combine.c $Revision: /main/ECS3.0/4 $ $Date: 2000/08 /29 09:10 UTC $ PATCH PHSS_22048, Sept 2000 DFIX12004 : combine.c, June2000 count.c $Revision: /main/ECS3.0/2 $ $Date: 2000/07/1 3 08:54 UTC $ create.c $Revision$ $Date$ extract.c $Revision$ $Date$ filter.c $Revision$ $Date$ input.c $Revision: /main/ECS3.0/2 $ $Date: 2001/03/2 0 13:13 UTC $ DFIX12007:input.c Mar2001 loader.c $Revision$ $Date$ memory.c $Revision: /main/ECS3.0/1 $ $Date: 2002/04/ 19 10:34 UTC $ modify.c $Revision$ $Date$ output.c $Revision$ $Date$ rate.c $Revision: /main/ECS3.0/4 $ $Date: 1999/09/01 10:30 UTC $ DFIX12000:rate.c 19mar99 PATCH PHSS_18006, Consolidated patch Mar 1999 rearrange.c $Revision$ $Date$ table.c $Revision: /main/ECS3.0/2 $ $Date: 1999/03/1 9 12:45 UTC $ DFIX12000:table.c 19mar99 unless.c $Revision: /main/ECS3.0/5 $ $Date: 2002/04/ 19 14:00 UTC $ PATCH PHSS_26909, Apr 2002 DFIX12000:unless.c 19mar99 delay.c $Revision$ $Date$ transit.c $Revision$ $Date$ assembler.c $Revision: /main/2 $ $Date: 1998/08/21 1 0:32 UTC $ dicts.c $Revision: /main/ECS3.0/4 $ $Date: 2002/07/0 4 11:49 UTC $ PATCH PHSS_25944, Jan 2002 interpreter.c $Revision: /main/ECS3.0/3 $ $Date: 200 3/01/13 12:50 UTC $ memory.c $Revision: /main/ECS3.0/1 $ $Date: 2003/01/ 13 12:50 UTC $ bif_oid.c $Revision: 1.1 $ $Date: 1997/09/25 05:08:2 4 $ dicts.c $Revision: 1.18 $ $Date: 1998/03/27 09:02:35 $ endecrypt.c $Revision: 1.1 $ $Date: 1997/10/15 09:57 :37 $ library.c $Revision: /main/ECS3.0/2 $ $Date: 2002/07 /23 07:25 UTC $ opc_pattern.c $Revision: /main/2 $ $Date: 1998/08/21 10:33 UTC $ circuit.c $Revision: /main/ECS3.0/4 $ $Date: 1999/04 /16 12:40 UTC $ DFIX12000:circuit.c 19mar99 engine.c $Revision: 1.15 $ $Date: 1997/08/14 00:08:4 2 $ node.c $Revision: 1.44 $ $Date: 1998/05/01 04:33:53 $ nodeclass.c $Revision: 1.16 $ $Date: 1997/09/26 07:3 7:47 $ notify.c $Revision: 1.2 $ $Date: 1997/08/07 08:13:22 $ patching.c $Revision: 1.8 $ $Date: 1997/12/15 06:19: 31 $ port.c $Revision: 1.11 $ $Date: 1996/05/15 05:45:40 $ stream.c $Revision: 1.10 $ $Date: 1998/02/24 02:46:1 5 $ streamio.c $Revision: 1.13 $ $Date: 1998/04/01 06:16 :03 $ ctxtmap.c $Revision: 1.3 $ $Date: 1998/01/29 08:58:2 4 $ datastore.c $Revision: 1.8 $ $Date: 1998/07/25 18:31 :39 $ dfstore.c $Revision: /main/2 $ $Date: 1998/08/07 15: 39 UTC $ factstore.c $Revision: 1.8 $ $Date: 1998/07/25 18:36 :10 $ query.c 1.16 1996/11/20 23:28:02 sequence.c $Revision: 1.17 $ $Date: 1998/01/28 03:39 :17 $ ascii.c $Revision$ $Date$ ascii_alloc.c $Revision$ $Date$ parse.c $Revision: /main/2 $ $Date: 1998/08/21 10:29 UTC $ token_set.c $Revision$ $Date$ endecode.c $Revision: 1.89 $ $Date: 1998/03/12 06:15 :55 $ anno_event.c $Revision: 1.18 $ $Date: 1997/08/29 00: 49:58 $ eventio.c $Revision: 1.37 $ $Date: 1998/05/18 04:14: 16 $ sockstack.c $Revision: /main/ECS3.0/9 $ $Date: 2003/ 11/24 10:09 UTC $ DFIX12007:sockstack.c Mar2001 DFIX12001:sockstack.c 01Sept99 PATCH PHSS_23623, Mar 2001 PATCH PHSS_19622, Jan 2000 trace.c $Revision: 1.4 $ $Date: 1998/06/10 09:01:45 $ value.c $Revision: /main/ECS3.0/8 $ $Date: 2003/11/2 5 09:40 UTC $ PATCH PHSS_28650 ,Consol. Patch, March 2003 PATCH PHSS_28648, March 2003 DFIX12003:value.c 03April,2000 PHSS_30109 Intermediate Patch November 2003 vstring.c $Revision: /main/2 $ $Date: 1998/08/21 10: 54 UTC $ fatal.c $Revision: 1.13 $ $Date: 1998/05/07 02:26:33 $ log.c $Revision: 1.7 $ $Date: 1997/07/04 07:34:11 $ mesgbuf.c $Revision: 1.18 $ $Date: 1998/05/07 00:28: 35 $ trace.c $Revision: 1.12 $ $Date: 1998/03/12 04:48:38 $ container.c $Revision: 1.17 $ $Date: 1998/02/18 00:4 9:18 $ char_sets.c $Revision: /main/2 $ $Date: 1998/08/21 1 0:39 UTC $ log.c 1.27 1996/06/03 04:56:34 engsockmgr.c $Revision: 1.5 $ $Date: 1997/04/09 05:1 2:44 $ sockmgr.c $Revision: 1.54 $ $Date: 1998/04/16 07:23: 13 $ control.c $Revision: 1.42 $ $Date: 1998/04/01 06:31: 39 $ engmgr.c $Revision: 1.81 $ $Date: 1998/07/15 07:41:5 0 $ annoio.c $Revision: 1.45 $ $Date: 1998/04/01 06:27:2 6 $ dictionary.c $Revision: /main/ECS3.0/2 $ $Date: 2003 /11/24 09:36 UTC $ engine_dict.c $Revision: 1.7 $ $Date: 1998/03/23 07: 30:52 $ berova.c $Revision: /main/ECS3.0/3 $ $Date: 2000/06/ 05 11:47 UTC $ DFIX12004 : ber.c,June 2000 PATCH PHSS_21826,Consolidated patch June 2000 PATCH PHSS_21761,June 2000 md.c $Revision$ $Date$ ECS.c $Revision: 1.9 $ $Date: 1998/04/22 23:30:06 $ ECS 3.0 (A.03.00) ECS REV: A.03.00 ecsLocale.c $Revision: /main/2 $ $Date: 1998/08/21 1 0:59 UTC $ lic_mgr.c $Revision: 1.28 $ $Date: 1998/07/30 01:04: 01 $ lic_flexlm.c $Revision: 1.18 $ $Date: 1998/04/24 07: 23:12 $ lic_ovkey.c $Revision: /main/3 $ $Date: 1998/09/16 0 7:58 UTC $ ecs_flexlm.c $Revision: 1.3 $ $Date: 1998/02/18 04:4 4:18 $ FLEXlm 6.0d (liblmgr.a), Copyright (C) 1988-1997 Glo betrotter Software, Inc. DFIX15000: dtd.c 01Oct1999 DFIX15001: dict.c 21Dec1999 DFIX15073 choice.c 18Nov2003 DFIX15058: ber.c 02Jul2002 DFIX15046: ber.c 28Feb2002 DFIX15014: ber.c 13Dec2000 DFIX15000: ber.c 01Oct1999, 13sep2000 DFIX15039 parse.c 21Jan2002 DFIX15000: enum.c 01Oct1999 DFIX15073 list.c 18Nov2003 DFIX15027: list.c 2Aug2001 DFIX15073 struct.c 18Nov2003 DFIX15027: struct.c 2Aug2001 DFIX15025: struct.c 06Jul2001 PATCH/11.00:PHCO_13283 libc.a_ID@@/main/r11ros/cup_l ibc-ros-cpe/1 /ux/core/libs/libc/archive_pa1/libc.a_ID Nov 19 1997 13:12:09 cksum(1) Output: OVECS.OVECS-DM,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP: 1854303268 518268 /opt/OV/lib/libova.3 1362524260 3009896 /etc/opt/OV/share/conf/stacks/pmd/ libECSS.sl OVECS.OVECS-RUN,fr=A.03.00,fa=HP-UX_B.11.00_700/800,v=HP: 1480299398 3594096 /opt/OV/bin/ecsd Patch Conflicts: None Patch Dependencies: s700: 11.00: PHSS_28650 s800: 11.00: PHSS_28650 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PSOV_03303: sparcSOL: 2.5 2.6 Patch Package Size: 2620 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_30109 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_30109.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_30109. 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_30109.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_30109.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_30109.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: BEFORE LOADING THIS PATCH... If there are any standalone runtime engine or ECS designer running, this needs to be closed. If you are using ECS with NNM and if there are any OV sessions running on either the Management Station or on any Management Consoles, these sessions need to be closed. The "ovstop" command should then be executed. WARNING : the patch will not install if any standalone runtime engine, ECS designer or Network Node Manager processes are detected. BACKUP ALL OpenView DIRECTORIES TO TAPE. This pre-caution ensures that if you have problems after installing the patch, you will be able to restore your current state from tape. NOTE:in order to keep a history of the patches installed on your system the post-install script will attempt to copy this .text file to /usr/OV/ReleaseNotes/patches (or /opt/OV/ReleaseNotes/patches). Please make sure this file is in /tmp before installation.