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)
Fri, May 15, 12:36 PM
Unknown Object (File)
Fri, May 15, 7:33 AM
Unknown Object (File)
Fri, May 15, 7:33 AM
Unknown Object (File)
Apr 30 2026, 2:19 AM
Unknown Object (File)
Apr 29 2026, 5:30 AM
Unknown Object (File)
Apr 28 2026, 1:24 PM
Unknown Object (File)
Apr 25 2026, 6:37 AM
Unknown Object (File)
Apr 21 2026, 11:42 AM
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