next up previous contents index
Next: cgdb - a gdb Up: Debugging parallel applications Previous: Debugging parallel applications   Contents   Index

yod -bt

We say that an application process terminates abnormally if it terminates with a non-zero exit code or if it is terminated with a signal. If a process terminates with a signal, you can use the -bt option of yod to see a stack trace when the process terminates.

You will detect that an application process has terminated with a signal when yod displays a warning to this effect. yod only displays the first such termination that occurs. When the application completes, yod displays the exit code and terminating signal (if any) for each process (see figure 7.1).


Table 7.1: yod reports an abnormal termination
\begin{table*}\begin{verbatim}yod -sz 2 /cplant/test/fault
Contacting node all...
...11, SIGSEGV
SU-00 n-01 1 1 225 00:00:02 0 11, SIGSEGV\end{verbatim}\end{table*}


In this example both processes in the two node application experienced a segmentation fault 2 seconds after starting.

If we rerun this test with the -bt option we get more information, shown in figure 7.2.


Table 7.2: yod reports an abnormal termination with stack trace information
\begin{table*}\begin{verbatim}yod -bt -sz 2 /cplant/test/fault
Contacting node...
...EGV, Segmentation fault.
The program no longer exists.\end{verbatim}\end{table*}



next up previous contents index
Next: cgdb - a gdb Up: Debugging parallel applications Previous: Debugging parallel applications   Contents   Index
Lee Ann Fisk 2001-06-25