 |
≫ |
|
|
 |
パッチ名: PHCO_36456
パッチ摘要: s700_800 11.11 gcore(1)累積パッチ
作成日: 07/04/19
公開日: 07/06/12
ハードウェアプラットフォームおよびOSリリース:
s700: 11.11
s800: 11.11
現象:
PHCO_36456:
(SR:8606443608 CR:JAGag01252)
gcore(1)が、エラー"pstat_getproc: Value too large to be stored in data
type"を返します。
問題点の説明:
PHCO_36456:
(SR:8606443608 CR:JAGag01252)
実行中のプロセスのコアイメージを取得しようとすると、"pstat_getproc:
Value too large to be stored in data type"というエラーが返されていまし
た。
解決方法:
gcore(1)のコードを修正しました。
-----------------------------------------------------------------------------
Patch Name: PHCO_36456
Patch Description: s700_800 11.11 gcore(1) cumulative patch
Creation Date: 07/04/19
Post Date: 07/06/12
Hardware Platforms - OS Releases:
s700: 11.11
s800: 11.11
Products: N/A
Filesets:
OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP
Automatic Reboot?: No
Status: General Release
Critical: No
Category Tags:
defect_repair enhancement general_release
manual_dependencies
Path Name: /hp-ux_patches/s700_800/11.X/PHCO_36456
Symptoms:
PHCO_36456:
( SR:8606443608 CR:JAGag01252 )
gcore(1) fails with an error message "pstat_getproc:
Value too large to be stored in data type".
PHCO_32173:
( SR:8606373115 CR:JAGaf33520 )
A new command gcore(1) provides a provision to
dump core image of processes without killing the
same.
Defect Description:
PHCO_36456:
( SR:8606443608 CR:JAGag01252 )
An error is returned when trying to obtain a core image
from a running process. The error which is returned is
pstat_getproc: Value too large to be stored in data type.
Resolution:
gcore(1) is modified to fix this defect.
PHCO_32173:
( SR:8606373115 CR:JAGaf33520 )
Currently there is no interface available to the user,
through which a core image of a particular process can
be obtained without killing the same. It is required to
have such an interface, which helps the user to get the
snap shot of a particular process and debug the core file
that is dumped to gather information on that process.
Resolution:
A new command gcore(1) is provided to get the core
image of one or more specified processes without
killing them.
When gcore(1) is invoked as :
$ gcore <process id>
The default core file name for a particular process
will be core.<process id>.
The default file name can be changed by invoking
gcore (1) as :
$ gcore -o <new name> <process id>
The file name in this case would be
<new name>.<process id>.
The process information in the core file
can be obtained by using debuggers.
Enhancement:
No (superseded patches contained enhancements)
PHCO_32173:
gcore(1) is a new command which creates
the core image of process(es) without
killing it.
SR:
8606443608 8606373115
Patch Files:
OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/bin/gcore
OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/share/man/man1.Z/gcore.1
what(1) Output:
OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
/usr/bin/gcore:
gcore.c $Date: 2007/04/18 09:23:34 $Revision: r11.11
/9 PATCH_11.11 (PHCO_36456)
$Revision: @(#) gcore R11.11_BL2007_0419_1 PATCH_11.
11 PHCO_36456
OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
/usr/share/man/man1.Z/gcore.1:
None
cksum(1) Output:
OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP:
2674895220 16384 /usr/bin/gcore
OS-Core.CORE-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,
v=HP:
2095859773 1627 /usr/share/man/man1.Z/gcore.1
Patch Conflicts: None
Patch Dependencies:
s700: 11.11: PHKL_31876
s800: 11.11: PHKL_31876
Hardware Dependencies: None
Other Dependencies:
HP-UX Core-Setid bundle (EnhancedCore) allows
gcore(1), when run as superuser, to be able
to dump setuid programs, which are otherwise not
allowed to dump core.
Supersedes:
PHCO_32173
Equivalent Patches: None
Patch Package Size: 40 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 PHCO_36456
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_36456.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_36456. 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 PHCO_36456.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHCO_36456.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHCO_36456.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|