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
Unknown Object (File)
Nov 27 2025, 3:05 PM
Unknown Object (File)
Nov 23 2025, 7:39 PM
Unknown Object (File)
Nov 23 2025, 7:39 PM
Unknown Object (File)
Nov 23 2025, 7:37 PM
Unknown Object (File)
Nov 23 2025, 7:26 PM
Unknown Object (File)
Nov 18 2025, 9:08 AM
Unknown Object (File)
Nov 16 2025, 4:42 AM
Unknown Object (File)
Nov 15 2025, 11:41 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