Linuxプラットフォームで以前のバージョンのARCを実行した場合、不正メモリ アクセス エラーが発生したときには以下のような出力が生成されていました。
12/03/2010 11:42:48 *** Internal Failure ARC0001:OpsSHndl:An illegal memory access was attempted 12/03/2010 11:42:48 LOGGED OFF 5 SESSIONS ================================================================ Execution traceback not available on this platform. ================================================================ 12/03/2010 11:42:48 ARCMAIN TERMINATED WITH SEVERITY 16
スタック トレース ダンプが生成されたときには、Teradata ARCから以下のようなメッセージが表示されます。
12/03/2010 09:39:37 *** Internal Failure ARC0001:OpsSHndl:An illegal memory access was attempted 12/03/2010 09:39:37 LOGGED OFF 5 SESSIONS ================================================================ Stack trace dump file generated: Arcmain_Crash_22434.txt. ================================================================ 12/03/2010 09:39:37 ARCMAIN TERMINATED WITH SEVERITY 16
スタック トレース ダンプが生成されなかったときには、Teradata ARCから以下のようなメッセージが表示されます。
12/03/2010 09:39:37 *** Internal Failure ARC0001:OpsSHndl:An illegal memory access was attempted 12/03/2010 09:39:37 LOGGED OFF 5 SESSIONS ================================================================ Execution traceback not available. ================================================================ 12/03/2010 09:39:37 ARCMAIN TERMINATED WITH SEVERITY 16
Linuxの例
Linuxプラットフォームでは、スタック トレース ダンプ ファイル(Arcmain_Crash_22434.txt)の内容は以下のようになります。
Stack Dump file: Arcmain_Crash_22434.txt: Signal Kind 11 [Segmentation fault] Stack Trace: [bt]: (1) /lib64/libc.so.6 [0x2aaaaabf6fc0] [bt]: (2) arcmain(RstData+0xdd) [0x460b7d] [bt]: (3) arcmain(MiniARC_RestoreTable+0x1d0) [0x426b20] [bt]: (4) arcmain(MiniARC_GoRestore+0x250) [0x427120] [bt]: (5) arcmain(SHMiniARC+0x532) [0x429762] [bt]: (6) arcmain(CTCMain+0xfec) [0x40e87c] [bt]: (7) arcmain(main+0x9) [0x40c3f9] [bt]: (8) /lib64/libc.so.6(__libc_start_main+0xf4) [0x2aaaaabe4304] [bt]: (9) arcmain(strcat+0x52) [0x40c34a]
スタック トレース ダンプ ファイルの各行には、以下の情報が示されます。
[bt]: (2) arcmain(RstData+0xdd) [0x460b7d] 1) '[bt]:' -- backtrace 2) '(2)' -- line item number 3) 'arcmain' -- name of the program 4) '(RstData+0xdd)' -- routine name plus memory offset into the routine 5) '[0x460b7d]' -- memory address of last line executed in current routine