Page MenuHomeFreeBSD

Use kdb_thr_* to iterate over threads consistently in DDB.
ClosedPublic

Authored by jhb on Dec 29 2020, 11:53 PM.
Tags
None
Referenced Files
F170876686: D27829.id81345.diff
Mon, Sep 7, 5:36 AM
Unknown Object (File)
Thu, Aug 27, 10:02 PM
Unknown Object (File)
Wed, Aug 26, 4:21 AM
Unknown Object (File)
Tue, Aug 25, 3:01 PM
Unknown Object (File)
Wed, Aug 19, 3:58 PM
Unknown Object (File)
Wed, Aug 19, 2:12 PM
Unknown Object (File)
Sun, Aug 9, 10:58 PM
Unknown Object (File)
Sun, Aug 9, 8:42 PM
Subscribers

Details

Summary

The "findstack", "show all trace", and "show active trace" commands
were iterating over allproc to enumerate threads. This missed threads
executing in exit1() after being removed from allproc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable