🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

[Bug 301240] arm64: panic "ncpus is 0 with non-zero map" in kern_membarrier -> smp_rendezvous_cpus when building lang/dotnet

#865
From: bugzilla-noreply
Date: Mon, 30 Nov 2026 22:36
37 lines
3169 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301240

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=162dcf946b157d529ed37a2c57ca18b25434c2ec

commit 162dcf946b157d529ed37a2c57ca18b25434c2ec
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-11-30 18:58:19 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-11-30 22:35:31 +0000

    membarrier(2): do not call smp_rendezvous_cpus() with an empty mask

    If the caller migrates while the mask is computed and no other thread
    of the process is running, the mask is empty, and smp_rendezvous_cpus()
    panics.

    PR:     301240
    Fixes:  4a69fc16a583 ("Add membarrier(2)")
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week

 sys/kern/kern_membarrier.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
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-301240-227-0D10nn6nDi@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-301240-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!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 301240] arm64: panic "ncpus is 0 with non-zero map" in
 kern_membarrier -> smp_rendezvous_cpus when building lang/dotnet
Date: Mon, 30 Nov 2026 22:36:47 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-301240-227-0D10nn6nDi@https.bugs.freebsd.org/bugzilla/>
References: <bug-301240-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="62623"; 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=1796078209;
	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=JU9jAmW0DkPIYP8mvyE/wZSt+uc2c7hvMurmZvOdlm8=;
	b=KU4I+aOiBjvX7yvH13znZd6/nNNvhB6xJlwHv8YIvEmOQ1Ty/mnDct8bQWhVSgSFX60URY
	Mqi9ifDUqzQAuosj+TWbuSocOJ9nrSEDRc3O3oEmL7+Ya0nPLtCWGNYdBoSD7+Q4ytyYqb
	RaQDccZEC8P/Y/8vjfShPXCZc6EAib2A8ZOwZf+7azrF2hN9Usa6QEz8TRK05IMBj2FtOR
	+p05bgLebZMirBGj1c1blre4q1633Q/eJgdtMKV7quOpuyqrD/rEEQr3nFnZhsO13vS5/K
	sj3zgcD9YLq7WASvn4slOGXUi8deSPhmuNVDOKwkb54nmZsnSXIwjXNrSdqegQ==
X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-301240-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes