Bug #1922

t_pcb of panic thread should be preserved on a panic

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

Status:ResolvedStart date:2011-12-22
Priority:NormalDue date:
Assignee:John Sonnenschein% Done:

100%

Category:cmd - userland programs
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

#1 Updated by Rich Lowe over 3 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

#2 Updated by Rich Lowe over 3 years ago

  • Project changed from site to illumos gate

#3 Updated by Rich Lowe over 3 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 commit:8413443ef603

Also available in: Atom PDF