 |
≫ |
|
|
 |
パッチ名: PHCO_35996
パッチ摘要: 11.31 pthreadライブラリ累積パッチ
作成日: 07/03/01
公開日: 07/04/25
ハードウェアプラットフォームおよびOSリリース:
11.31
現象:
PHCO_35996:
(SR:8606473991 CR:JAGag28593)
たまに、同期オブジェクト上で待機しようとしているJavaアプリケーションで
コアダンプが取られることがあります。
問題点の説明:
PHCO_35996:
(SR:8606473991 CR:JAGag28593)
pthread_suspend()を使って、mutex、rwlockまたは条件変数のような同期オブ
ジェクト上で休眠しようしているスレッドを一時停止すると、問題が起きてい
ました。この場合に、libpthreadがそのスレッドに対応する内部データ構造を
更新していなかったため、再開時に、そのスレッドでSIGSEGVフォルトが起き
ていました。
解決方法:
データ構造を適切に更新するようにlibpthreadを修正しました。
-----------------------------------------------------------------------------
Patch Name: PHCO_35996
Patch Description: 11.31 pthread library cumulative patch
Creation Date: 07/03/01
Post Date: 07/04/25
Hardware Platforms - OS Releases:
11.31
Products: N/A
Filesets:
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP
OS-Core.C-MIN-32ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP
Automatic Reboot?: No
Status: General Release
Critical:
Yes
PHCO_35996: ABORT
JAGag28593: java applications may occasionally
dump core.
Category Tags:
defect_repair general_release critical halts_system
Path Name: /hp-ux_patches/11.X/PHCO_35996
Symptoms:
PHCO_35996:
( SR:8606473991 CR:JAGag28593 )
Java applications may occasionally dump core while
trying to wait on a synchronization object.
Defect Description:
PHCO_35996:
( SR:8606473991 CR:JAGag28593 )
The problem happens when a thread which is about to sleep
on a synchronization object like mutex, rwlock or
condition variable is suspended using pthread_suspend().
In this window libpthread does not update the internal
data structures corresponding to the thread, resulting in
the thread faulting with SIGSEGV when it is resumed.
Resolution:
Now libpthread ensures that the data structures are updated
properly.
Enhancement:
No
SR:
8606473991
Patch Files:
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/pa20_64/liblwp.1
/usr/lib/hpux64/libpthread.so.1
/usr/lib/hpux64/libpthread_tr.so.1
/usr/lib/pa20_64/libpthread.1
/usr/lib/pa20_64/libpthread_tr.1
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/liblwp.1
/usr/lib/hpux32/libpthread.so.1
/usr/lib/hpux32/libpthread_tr.so.1
/usr/lib/libpthread.1
/usr/lib/libpthread_tr.1
OS-Core.C-MIN-32ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/liblwp.a
/usr/lib/libpthread.a
/usr/lib/libpthread_tr.a
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/pa20_64/liblwp.a
/usr/lib/pa20_64/libpthread.a
/usr/lib/pa20_64/libpthread_tr.a
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/pa20_64/liblwp.1
/usr/lib/pa20_64/libpthread.1
/usr/lib/pa20_64/libpthread_tr.1
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/liblwp.1
/usr/lib/libpthread.1
/usr/lib/libpthread_tr.1
what(1) Output:
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/pa20_64/liblwp.1:
LWP (LightWeightProcess) Interfaces
$Revision: liblwp.1: R11.31_BL2007_0222_2
/usr/lib/hpux64/libpthread.so.1:
Pthread Interfaces
$Revision: libpthread.so.1: R11.31_BL2007_0301_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
/usr/lib/hpux64/libpthread_tr.so.1:
Pthread Interfaces
$Revision: libpthread_tr.so.1: R11.31_BL2007_0301
_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
/usr/lib/pa20_64/libpthread.1:
Pthread Interfaces
$Revision: libpthread.1: R11.31_BL2007_0301_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
/usr/lib/pa20_64/libpthread_tr.1:
Pthread Interfaces
$Revision: libpthread_tr.1: R11.31_BL2007_0301_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
/usr/lib/liblwp.1:
LWP (LightWeightProcess) Interfaces
$Revision: liblwp.1: R11.31_BL2007_0222_2
/usr/lib/hpux32/libpthread.so.1:
Pthread Interfaces
$Revision: libpthread.so.1: R11.31_BL2007_0301_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
/usr/lib/hpux32/libpthread_tr.so.1:
Pthread Interfaces
$Revision: libpthread_tr.so.1: R11.31_BL2007_0301
_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
/usr/lib/libpthread.1:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread.1: R11.31_BL2007_0301_1
/usr/lib/libpthread_tr.1:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread_tr.1: R11.31_BL2007_0301_1
OS-Core.C-MIN-32ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/liblwp.a:
LWP (LightWeightProcess) Interfaces
$Revision: liblwp.a: R11.31_BL2007_0222_2
/usr/lib/libpthread.a:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread.a: R11.31_BL2007_0301_1
/usr/lib/libpthread_tr.a:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread_tr.a: R11.31_BL2007_0301_1
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/pa20_64/liblwp.a:
LWP (LightWeightProcess) Interfaces
$Revision: liblwp.a: R11.31_BL2007_0222_2
/usr/lib/pa20_64/libpthread.a:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread.a: R11.31_BL2007_0301_1
/usr/lib/pa20_64/libpthread_tr.a:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread_tr.a: R11.31_BL2007_0301_1
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/pa20_64/liblwp.1:
LWP (LightWeightProcess) Interfaces
$Revision: liblwp.1: R11.31_BL2007_0222_2
/usr/lib/pa20_64/libpthread.1:
Pthread Interfaces
$Revision: libpthread.1: R11.31_BL2007_0301_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
/usr/lib/pa20_64/libpthread_tr.1:
Pthread Interfaces
$Revision: libpthread_tr.1: R11.31_BL2007_0301_1
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
/usr/lib/liblwp.1:
LWP (LightWeightProcess) Interfaces
$Revision: liblwp.1: R11.31_BL2007_0222_2
/usr/lib/libpthread.1:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread.1: R11.31_BL2007_0301_1
/usr/lib/libpthread_tr.1:
sleep.c $Date: 2007/03/01 10:02:38 $Revision: r11.31
/1 PATCH_11.31 (PHCO_35996)
perf_mutex.c $Date: 97/09/14 13:45:46 $ $Revision:
1.5.106.3 $
Pthread Interfaces
$Revision: libpthread_tr.1: R11.31_BL2007_0301_1
cksum(1) Output:
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
682235018 53480 /usr/lib/pa20_64/liblwp.1
1835238950 1536032 /usr/lib/hpux64/libpthread.so.1
3476178037 1780000 /usr/lib/hpux64/libpthread_tr.so.1
3707329988 611624 /usr/lib/pa20_64/libpthread.1
692115021 700072 /usr/lib/pa20_64/libpthread_tr.1
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_IA,v=HP:
2045743533 40960 /usr/lib/liblwp.1
2883494614 1511584 /usr/lib/hpux32/libpthread.so.1
837014762 1754224 /usr/lib/hpux32/libpthread_tr.so.1
4271072156 569344 /usr/lib/libpthread.1
1592483167 659456 /usr/lib/libpthread_tr.1
OS-Core.C-MIN-32ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
766205683 88620 /usr/lib/liblwp.a
2900844133 713844 /usr/lib/libpthread.a
1201944088 803364 /usr/lib/libpthread_tr.a
OS-Core.C-MIN-64ALIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
310343643 155468 /usr/lib/pa20_64/liblwp.a
3875797094 1242746 /usr/lib/pa20_64/libpthread.a
4121894236 1390614 /usr/lib/pa20_64/libpthread_tr.a
OS-Core.CORE2-64SLIB,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
682235018 53480 /usr/lib/pa20_64/liblwp.1
3707329988 611624 /usr/lib/pa20_64/libpthread.1
692115021 700072 /usr/lib/pa20_64/libpthread_tr.1
OS-Core.CORE2-SHLIBS,fr=B.11.31,fa=HP-UX_B.11.31_PA,v=HP:
2045743533 40960 /usr/lib/liblwp.1
4271072156 569344 /usr/lib/libpthread.1
1592483167 659456 /usr/lib/libpthread_tr.1
Patch Conflicts: None
Patch Dependencies: None
Hardware Dependencies: None
Other Dependencies: None
Supersedes: None
Equivalent Patches: None
Patch Package Size: 5830 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_35996
5. Run swinstall to install the patch:
swinstall -x autoreboot=true -x patch_match_target=true \
-s /tmp/PHCO_35996.depot
By default swinstall will archive the original software in
/var/adm/sw/save/PHCO_35996. 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_35996.text file is
available in the product readme:
swlist -l product -a readme -d @ /tmp/PHCO_35996.depot
To put this patch on a magnetic tape and install from the
tape drive, use the command:
dd if=/tmp/PHCO_35996.depot of=/dev/rmt/0m bs=2k
Special Installation Instructions: None
|