Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2020 21:47:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 249257] panic: pgrp 9501 0xfffff8006654a780 pg_jobc 1 cnt 2
Message-ID:  <bug-249257-227-4vJVyWJxS1@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249257-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249257-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249257

--- Comment #3 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249257-227-4vJVyWJxS1>