Bug 232679 - truss(1) kills pdforked processes
Summary: truss(1) kills pdforked processes
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-25 15:16 UTC by Edward Tomasz Napierala
Modified: 2021-02-05 15:45 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Tomasz Napierala freebsd_committer freebsd_triage 2018-10-25 15:16:14 UTC
Trying to attach to a pdforked process using truss(1) kills it.  The way to reproduce:

pkg install irssi
irssi
/capsicum enter

Then, in a separate terminal, do "ps auxwd", find the PID of the irssi capsicum symbiont and "truss -p that-pid".  Notice it dying.
Comment 1 Mark Johnston freebsd_committer freebsd_triage 2021-02-05 15:45:38 UTC
I tried this on head and was unable to reproduce any problems.  I believe it was fixed by commit 8e49361164e2da0e0647.