pfiles crashes when inspecting itself
As filed long ago with Sun, pfiles will crash in getflock() if caused to inspect itself, thanks to assuming that the Pstatus(Pr) will return non-NULL.
cd /proc; pfiles *
In the case where Pr is NULL it should skip the word-size logic, since in that case we're looking at ourselves, and it can't help but match.
Note that, if testing in the above manner, pfiles will also wedge if it ecounters a smbd, it seems to block forever attempting to grab it, a separate bug which I'm still trying to gather sufficient info about to record.