[Bug 249257] panic: pgrp 9501 0xfffff8006654a780 pg_jobc 1 cnt 2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 16 21:47:24 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249257
--- Comment #3 from commit-hook at FreeBSD.org ---
A commit references this bug:
Author: kib
Date: Wed Sep 16 21:46:57 UTC 2020
New revision: 365814
URL: https://svnweb.freebsd.org/changeset/base/365814
Log:
Fix fixjobc+orhpanage.
Orphans affect job control state, we must account for them when
changing pg_jobc.
Instead of p_pptr, use proc_realparent() to get parent relevant for
job control.
Use correct calculation of the parent for exiting process. For jobc
purposes, we must use realparent, but if it is also exiting, we should
fall to reaper, then recursively find non-exiting reaper.
Reported by: trasz
PR: 249257
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D26416
Changes:
head/sys/kern/kern_proc.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list