NetBSD Problem Report #56344

From martin@aprisoft.de  Mon Aug  2 06:04:34 2021
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 908941A921F
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Aug 2021 06:04:34 +0000 (UTC)
Message-Id: <20210802060425.454675CC84B@emmas.aprisoft.de>
Date: Mon,  2 Aug 2021 08:04:25 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: KASSERT LIST_EMPTY(&l->l_pi_lenders) failing
X-Send-Pr-Version: 3.95

>Number:         56344
>Category:       kern
>Synopsis:       KASSERT LIST_EMPTY(&l->l_pi_lenders) failing
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 02 06:05:00 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.87
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD gethsemane.aprisoft.de 9.99.87 NetBSD 9.99.87 (GETHSEMANE) #122: Sun Aug 1 13:22:34 CEST 2021 martin@seven-days-to-the-wolves.aprisoft.de:/work/src/sys/arch/macppc/compile/GETHSEMANE macppc
Architecture: powerpc
Machine: macppc
>Description:

After a completed (full) ATF test run, I tried to kill a leftover rump_server
process by doing:

 # pkill -9 rump_server

This made the machine crash:

[ 31500.6372679] panic: kernel diagnostic assertion "SLIST_EMPTY(&l->l_pi_lenders)" failed: file "../../../../kern/kern_lwp.c", line 1338 
[ 31500.6672132] cpu1: Begin traceback...
[ 31500.6672132] 0x102a5cc0: at vpanic+0x12c
[ 31500.6872243] 0x102a5cf0: at kern_assert+0x60
[ 31500.6972285] 0x102a5d30: at lwp_free+0x434
[ 31500.6972285] 0x102a5d60: at do_sys_waitid+0x6f8
[ 31500.7172384] 0x102a5e40: at sys___wait450+0x40
[ 31500.7272433] 0x102a5eb0: at syscall+0x350



>How-To-Repeat:
s/a

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(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.