30.01.2013 Views

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

TotalView Users Guide - CI Wiki

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Viewing Process and Thread States<br />

If the thread ID that <strong>TotalView</strong> assigns is the same as the operating system thread ID<br />

your, <strong>TotalView</strong> only displays ID. If you are debugging an MPI program, <strong>TotalView</strong> displays<br />

the thread’s rank number.<br />

Seeing Attached Process States<br />

Seeing Unattached Process States<br />

<strong>TotalView</strong> uses the letters shown in the following table to indicate process<br />

and thread state. (These letters are in the Status column in the Root Window,<br />

as the figure in the previous section shows.)<br />

State Code State Description<br />

blank Exited or never created<br />

B At breakpoint<br />

E Error reason<br />

H Held<br />

K In kernel<br />

L (cell only) Loose—Indicates slave SPU threads that are not held<br />

and not currently bound to PPU threads<br />

M Mixed<br />

R Running<br />

T Stopped reason<br />

W At watchpoint<br />

The error state usually indicates that your program received a fatal signal,<br />

such as SIGSEGV, SIGBUS, or SIGFPE, from the operating system. See “Handling<br />

Signals” on page 69 for information on controlling how <strong>TotalView</strong> handles<br />

signals that your program receives.<br />

CLI: The CLI prints out a word indicating the state; for example, “breakpoint.”<br />

Seeing Unattached Process States<br />

Seeing Attached Process States<br />

<strong>TotalView</strong> derives the state information for a process displayed in the File ><br />

New Program dialog box’s Attach to an existing process state from the<br />

operating system. The state characters <strong>TotalView</strong> uses to summarize the<br />

state of an unattached process do not necessarily match those used by the<br />

operating system. The following table describes the state indicators that<br />

<strong>TotalView</strong> displays:<br />

State Code State Description<br />

I Idle<br />

R Running<br />

S Sleeping<br />

T Stopped<br />

Z Zombie (no apparent owner)<br />

68 Chapter 4: Setting Up a Debugging Session

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!