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
F107990634: D27829.id81454.diff
Mon, Jan 20, 6:52 AM
F107971440: D27829.diff
Mon, Jan 20, 2:19 AM
Unknown Object (File)
Wed, Jan 15, 12:52 AM
Unknown Object (File)
Nov 22 2024, 4:06 PM
Unknown Object (File)
Nov 15 2024, 2:27 PM
Unknown Object (File)
Oct 26 2024, 7:55 AM
Unknown Object (File)
Oct 17 2024, 5:34 AM
Unknown Object (File)
Oct 17 2024, 5:34 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