In earlier versions of ARC on Linux platform, an illegal memory access error would generate the following output:
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
If a Stack Trace Dump is generated, Teradata ARC displays the following:
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
If a Stack Trace Dump is not generated, Teradata ARC displays the following:
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 Example
On Linux platforms, The contents of the Stack Trace Dump file (Arcmain_Crash_22434.txt) looks like the following:
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]
Each line in the Stack Dump file contains the following information:
[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