NetBSD Problem Report #55373
From www@netbsd.org Fri Jun 12 15:21:13 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 2BD4C1A9219
for <gnats-bugs@gnats.NetBSD.org>; Fri, 12 Jun 2020 15:21:13 +0000 (UTC)
Message-Id: <20200612152112.6AE1E1A9242@mollari.NetBSD.org>
Date: Fri, 12 Jun 2020 15:21:12 +0000 (UTC)
From: bsiegert@gmail.com
Reply-To: bsiegert@gmail.com
To: gnats-bugs@NetBSD.org
Subject: kernel diagnostic assertion "semcnt >= 0" failed
X-Send-Pr-Version: www-1.0
>Number: 55373
>Category: kern
>Synopsis: kernel diagnostic assertion "semcnt >= 0" failed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 12 15:25:00 +0000 2020
>Originator: Benny Siegert
>Release: NetBSD 9.99.64
>Organization:
The NetBSD Foundation
>Environment:
NetBSD 9.99.64 (compiled 2020-06-01) GENERIC64 evbarm-aarch64, on a Pinebook Pro, with NetBSD-9 userland
>Description:
On a Pinebook Pro running NetBSD 9.99.64 from last Monday (with 9.0
userland), I can reliably make the kernel panic by running "npm
install firebase-tools". During the post-install script (I believe
it's from the protobufjs NPM package), the kernel does
panic: kernel diagnostic assertion "semcnt >= 0" failed: file
"/usr/src/sys/kern/kern_uidinfo.c", line 241
(see the photo at https://photos.app.goo.gl/kExDEXGPVmYJAg5f7 for full output)
This does not fail with NetBSD 9_STABLE on the same machine.
Christos said: "So it must be some newer changes and I suspect the pshared semaphores."
>How-To-Repeat:
# npm install -g firebase-tools
>Fix:
unknown
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.