Just FYI, Since, for a live process there's always a frame (next_frame != NULL) and for a dead process there's never a frame (next_frame == NULL), the cur_frame parameter indicating the validity of next_frame is redundant. I've removed it, committed, Andrew (this is a side line to joel's cleanup)