[Bug 227041] Kernel cannot fork new process after calling pmc_deatch with pid 0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 29 14:35:04 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227041

--- Comment #3 from Dom <dom at itsallbroken.com> ---
Hi Conrad, thanks for the quick reply.

I can't see any LORs when reproducing this issue and I can't seem to dtrace my
way to a culprit either.

If pmc_release() is called the system livelocks immediately every time, however
if it's left out the first run of pmc-crash does not crash, and the second run
will either force an immediate reboot (again with nothing in the console) or
run successfully, but attempting to unload hwpmc livelocks. If pmc-crash
successfully exits subsequent runs pmc_allocate() returns EINVAL.

At least one pmc_read() must be performed for either of these livelocks to
occur. After either, pressing the power button starts to cleanly power off but
deadlocks after geli detaches my encrypted swap.

I've also discovered two almost definitely unrelated LORs:
  - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227065
  - https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196799

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list