Bug #1922

t_pcb of panic thread should be preserved on a panic

Added by John Sonnenschein over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2011-12-22
Priority:Normal Due date:
Assignee:John Sonnenschein % Done:

100%

Category:cmd - userland programs Spent time: -
Target version:-
Difficulty:Medium Tags:

Description

Currently, the t_pcb of the panicking thread is plowed by the setjmp() in panicsys that saves the registers at the time of the panic. This destroys a potentially critical piece of state – namely, the register state the last time the thread blocked. The t_pcb should be preserved and set to a new panic variable: panic_pcb.

History

Updated by Rich Lowe over 2 years ago

  • Subject changed from t_pcb of panic thread should be preserved on a panic to t_pcb of panic thread should be preserved on a panic

Updated by Rich Lowe over 2 years ago

  • Project changed from site to illumos gate

Updated by Rich Lowe over 2 years ago

  • Category set to cmd - userland programs
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
  • Tags deleted (needs-triage)

Resolved in r13559 8413443ef603

Also available in: Atom PDF