Solution ID: 133495288 Type: Extenal 表題: libCrun.so.1の初期化時にPurifyを適用したプログラムがコアダンプします 製品: Purify バージョン:2002.05.00 OS: Solaris 8 DEFECT #: PSIps45022 PATCH #: Solaris Linker Patch 109147-12 参照事項: Solution ID:24181の日本語訳 作成年月日: 26-Aug-2002 改訂年月日: dd-mmm-yyyy 現象: Sun Workshop C++で作成したプログラムをPurifyに適用、実行を行った際に下 記のCORメッセージが出力され、プログラムが終了します。 **** Purify instrumented a.out (pid 27243 at Fri Dec 7 16:36:10 2001) * Purify 2002.05.00 Solaris 2 (64-bit) Copyright (C) 1992-2001 Rational Software Corp. All rights reserved. * For contact information type: "purify -help" * Options settings: -windows=no -cache-dir=/people/ytamura/cache -purify \ -purify-home=/tools/install/purify/default * License successfully checked out. **** Purify instrumented a.out (pid 27243) **** COR: Fatal core dump: * This is occurring while in: _init [libCrun.so.1] call_init [] elf_bndr [] elf_rtbndr [] _p_r_8b [crtn.o] _init [libc.so.1] * Received signal 10 (SIGBUS - Bus Error) * Faulting address = 0x9de3bf501ec18614 * Signal mask: (SIGBUS) * Pending signals: Bus Error (core dumped) デバッガスタックトレースは下記のようになります。 =>[1] __cplus_fini_at_exit(0x0, 0xff3e2660, 0x1, 0xff3e2660, 0x0, 0x0), at 0xff2d5624 [2] call_init(0xff310150, 0x3, 0xff3e21f0, 0xff3e2660, 0x400000, 0xff310154), at 0xff3bad80 [3] elf_bndr(0xff282df4, 0x71, 0xff3a08f8, 0x0, 0xff3e2660, 0x19487), at 0xff3c3844 [4] _elf_rtbndr(0xff1fb690, 0x3fc8696f, 0x7e6a68, 0xffbef148, 0x8, 0x55555555), at 0xff3b2980 [5] 0x71b58(0xff21a5cc, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x71b57 [6] _init(0x0, 0xff3e2660, 0x1, 0xff3e2660, 0x0, 0x0), at 0xff1fb690 [7] call_init(0xff3100ec, 0x1, 0xff3e21f0, 0xff3e2660, 0x400000, 0xff310100), at 0xff3bad80 [8] setup(0xff3a0018, 0xff3e2000, 0xff3e20d0, 0xff3e3c30, 0xff3e2030, 0xff3e2660), at 0xff3ba9f8 [9] _setup(0xd4, 0xff3e2660, 0xff3a0018, 0x5, 0x100d4, 0x0), at 0xff3c4d58 [10] _rt_boot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3b2938 この問題は32ビットと64ビットモード両方で発生します。 原因: この問題はPurifyバージョン2002.05.00とリンカパッチ109147-12の間に互換 性がないため、発生しています。 解決策: この不具合はPurify 2002a.06 Proto 0029のバージョンで改修しておりますの で、これ以降のバージョンのPurifyにアップグレードします。 アップグレードの手順に関しましては、お手数ですがラショナルカスタマサービ ス(support@japan.rational.com)まで、お客様のRationalアカウント番号を添え てご連絡ください。 ご不明な点等ありましたら、ラショナルカスタマサービスへお問い合わせ下さい。