Menu

#71 Debugger ::ps doesn't handle dead threads gracefully

1.0
open
nobody
None
False
512:be48e3e91e17
2015-04-19
2015-04-19
No

If a snapshot that is fed to the debugger happens to contain one or more T_DEAD threads, the ::ps listing goes haywire.

Most likely is that t_proc points to an address since re-used for something else, and therefore contains garbage.

This looks to be as simple as modifying the thread walker in proclist() to skip T_DEAD threads.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB