Article View: muc.lists.freebsd.bugs
Article #727[Bug 301072] procdesc: procdesc_close() links a traced child onto its own reaper's orphan list, panicking the kernel at child ex...
From: bugzilla-noreply
Date: Tue, 24 Nov 2026 12:00
Date: Tue, 24 Nov 2026 12:00
26 lines
3075 bytes
3075 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301072 --- Comment #15 from laamalif@proton.me --- Two corrections to my last comment: First, my opening sentence restated the wrong mechanism. Your explanation is that the untraced PD_NOWAITPID child is invisible to the debugger's waitpid(2) by design; there is nothing in proc_to_reap() to re-read. The test fix follows from that. Second, the inline diff sketch in that comment is not accurate (the variable it shows does not exist). The attachment d61975-test-fix.txt is the real change: traceme_and_stop(int fd, int readyfd) writes one byte to readyfd after PT_TRACE_ME returns; reaper_child_close_traced and reaper_child_close_traced_exit create the ready pipe before pdfork and read one byte from it before the first waitpid. -- 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-ZtFEjwO4lc@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<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!weretis.net!feeder8.news.weretis.net!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: Tue, 24 Nov 2026 12:00:24 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-301072-227-ZtFEjwO4lc@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="29328"; 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=1795521624; 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=T9qKyKtYJgjethtv2MrkZF6ZtQsOoizc4r21JfWml8k=; b=p53N3U52IpEMng/npUFzOZ9DNW0T/UKzqDCfN78J5EAcq69beZjDQI7eJgTnKE6akiZ0rA lNcNCHxIbSvjFXIInwZxC4SqBYoZyqNfehStg4J66BuTndM39ODHOTpEdVU4PzaUmb4Gmw sILLcXfuayxQrrHwTOmWWaFapYogQLKGXr52oU8TTgrCMY7m2uIfqHezJF1DHxnaHmwRaU 3Ttk5mDe0u8WuH39aUm2PCEparDG9Iht/pBA/mMY2WlD3Z+9kRIQURUb+VMM3nVcwGa/ps aWCUeiHGFujEkdtIE6IJheppiS1E0R0EU8Q9s/EAsTPQEuDUFB7DS4rq/NI6XQ== 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