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)
Tue, Oct 7, 3:08 PM
Unknown Object (File)
Wed, Sep 24, 9:09 PM
Unknown Object (File)
Tue, Sep 23, 1:47 AM
Unknown Object (File)
Sat, Sep 20, 10:30 PM
Unknown Object (File)
Sep 10 2025, 2:39 AM
Unknown Object (File)
Aug 23 2025, 8:46 AM
Unknown Object (File)
Aug 14 2025, 10:46 PM
Unknown Object (File)
Aug 13 2025, 10:28 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