🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #772

[Bug 301072] procdesc: procdesc_close() links a traced child onto its own reaper's orphan list, panicking the kernel at child ex...

#772
From: bugzilla-noreply
Date: Fri, 27 Nov 2026 01:08
28 lines
3193 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301072

--- Comment #18 from Janeri Filho, Osvaldo <Osvaldo.JaneriFilho@amd.com> ---
Reproduced on an amd64 INVARIANTS kernel built from main 5c5fae7874a9
with a16f0b2e5c6a reverted, running the procdesc tests from the same tree
in a bhyve guest:

reaper_child_close_traced:
panic: proc 946 0x... orphaned but parent 945 0x... is realparent
proc_realparent() <- killjobc() <- exit1() <- kern_exit() <- sigexit()

reaper_child_close_traced_exit panics the same way from the helper's
_exit(), and reaper_child_close fails with ECHILD from waitpid().  With
a16f0b2e5c6a, all 22 procdesc cases pass.  We first hit this on bare metal,
running the new tests on a kernel that predates the fix.

stable/15 still has the old procdesc_close() and the assertion from
8cef3c9b768, so the tests from 24ebe1ef7e26 will panic INVARIANTS kernels
there until a16f0b2e5c6a is merged.

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

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-301072-227-5mI9jIbmY8@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-301072-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 301072] procdesc: procdesc_close() links a traced child onto
 its own reaper's orphan list, panicking the kernel at child exit
Date: Fri, 27 Nov 2026 01:08:34 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-301072-227-5mI9jIbmY8@https.bugs.freebsd.org/bugzilla/>
References: <bug-301072-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="48783"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795741714;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=IJ1mqdOGLvO8A+3t8m4xAXCWgTgt4a9s7jbk9yrxzUg=;
	b=neGQBRBqlnVjkPFGv4yrw4bCaYrwY11YfpMPorotzc9tGAz4emJBvEIibiQSBnGPFA9rmd
	vEpxwbO82K4pWes7GVh1Ry++zwW6CwVgJIXDoQYIkmPZfjxyWe3Froeu/yj+a8mrvUDRPc
	DUDthPAjlmv4x0O1KOcKCSsxt/9cfqZ86urPmR0Zfl0ra41rhVYDU7mAv2NBPAv4Iu2YS/
	H+KOPA9weBmE3HDPHCrWWXnGWKBdi85aHTSRZ6P+mrflDPeRrFdDeHIn2lsStNh6efnAFT
	nk6k9/EVnqHxd07VyGLqXh++15jvQ7r+eUoNihcu67c1j2zBGHlXlkXG5D1wBQ==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-301072-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes