NetBSD Problem Report #56971
From john@hera.zia.io Thu Aug 18 18:07:45 2022
Return-Path: <john@hera.zia.io>
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 26AD21A921F
for <gnats-bugs@gnats.NetBSD.org>; Thu, 18 Aug 2022 18:07:45 +0000 (UTC)
Message-Id: <20220818180742.735C61523491@hera.zia.io>
Date: Thu, 18 Aug 2022 18:07:42 +0000 (UTC)
From: john@ziaspace.com
Reply-To: john@ziaspace.com
To: gnats-bugs@NetBSD.org
Subject: WAPBL panic on recent current on amd64
X-Send-Pr-Version: 3.95
>Number: 56971
>Category: kern
>Synopsis: Deleting large files can panic a current amd64 kernel
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 18 18:10:00 +0000 2022
>Closed-Date: Thu Aug 18 18:32:09 +0000 2022
>Last-Modified: Thu Aug 18 18:32:09 +0000 2022
>Originator: john@ziaspace.com
>Release: NetBSD 9.99.99
>Organization:
>Environment:
System: NetBSD hera.zia.io 9.99.99 NetBSD 9.99.99 (FRIGG) #0: Fri Jul 22 02:36:42 UTC 2022 john@hera.zia.io:/usr/obj-amd64/sys/arch/amd64/compile/FRIGG amd64
Architecture: x86_64
Machine: amd64
>Description:
While deleting some directories with large numbers of file and some very large files,
my system paniced. I don't know what file(s) or size(s) were involved because I was
deleting many files at the same time.
[ 2253687.119460] panic: wapbl_flush: current transaction too big to flush
[ 2253687.119460] cpu0: Begin traceback...
[ 2253687.119460] vpanic() at netbsd:vpanic+0x177
[ 2253687.119460] panic() at netbsd:panic+0x3c
[ 2253687.119460] wapbl_flush() at netbsd:wapbl_flush+0x7a0
[ 2253687.119460] wapbl_begin() at netbsd:wapbl_begin+0x5b
[ 2253687.119460] ufs_truncate_retry() at netbsd:ufs_truncate_retry+0x96
[ 2253687.119460] ufs_inactive() at netbsd:ufs_inactive+0xef
[ 2253687.119460] VOP_INACTIVE() at netbsd:VOP_INACTIVE+0x36
[ 2253687.119460] vrelel() at netbsd:vrelel+0x150
[ 2253687.119460] ufs_remove() at netbsd:ufs_remove+0x50
[ 2253687.119460] VOP_REMOVE() at netbsd:VOP_REMOVE+0x5a
[ 2253687.129460] do_sys_unlinkat.isra.0() at netbsd:do_sys_unlinkat.isra.0+0x219
[ 2253687.129460] syscall() at netbsd:syscall+0x1f2
[ 2253687.129460] --- syscall (number 10) ---
[ 2253687.129460] netbsd:syscall+0x1f2:
[ 2253687.129460] cpu0: End traceback...
[ 2253687.129460] dumping to dev 168,2 (offset=134287, size=16760430):
[ 2253687.129460] dump [ 1.0000000]
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Thu, 18 Aug 2022 18:32:09 +0000
State-Changed-Why:
Duplicate of 54504
>Unformatted:
(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.