NetBSD Problem Report #53767
From www@NetBSD.org Sat Dec 8 03:54:44 2018
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 222837A180
for <gnats-bugs@gnats.NetBSD.org>; Sat, 8 Dec 2018 03:54:44 +0000 (UTC)
Message-Id: <20181208035443.4B4497A1E9@mollari.NetBSD.org>
Date: Sat, 8 Dec 2018 03:54:43 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: ZFS test utility ztest(1) dies with assertion failed
X-Send-Pr-Version: www-1.0
>Number: 53767
>Category: kern
>Synopsis: ZFS test utility ztest(1) dies with assertion failed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 08 03:55:00 +0000 2018
>Last-Modified: Sat Jun 27 05:25:01 +0000 2020
>Originator: Sevan Janiyan
>Release: NetBSD-HEAD
>Organization:
>Environment:
amd64
>Description:
Assertion failed: c < (1ULL << 24) >> 9 (0x7fffffffffffff < 0x8000), /usr/src/external/cddl/osnet/lib/libzpool/../../dist/uts/common/fs/zfs/zio.c, line 324
child died with signal 6
>How-To-Repeat:
As root, run:
ztest -VVV -v10 -m2 -r12 -R3
>Fix:
>Release-Note:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: bin/53767: ZFS test utility ztest(1) dies with assertion failed
Date: Sat, 8 Dec 2018 08:31:22 +0100
This sounds like an ZFS problem, so bin is likely the wrong category.
Martin
Responsible-Changed-From-To: bin-bug-people->kern-bug-people
Responsible-Changed-By: sevan@NetBSD.org
Responsible-Changed-When: Sat, 08 Dec 2018 14:36:49 +0000
Responsible-Changed-Why:
Wrong category
From: Sevan Janiyan <sevan@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: kern/53767 (ZFS test utility ztest(1) dies with assertion failed)
Date: Sat, 8 Dec 2018 19:39:21 +0000
(gdb) bt
#0 0x00007416a291ef4a in _lwp_kill () from /usr/lib/libc.so.12
#1 0x00007416a291ebd7 in abort () from /usr/lib/libc.so.12
#2 0x000000013f206ae9 in fatal ()
#3 0x000000013f208ad9 in make_vdev_file ()
#4 0x000000013f208bc1 in make_vdev_raidz ()
#5 0x000000013f208e58 in make_vdev_root.constprop ()
#6 0x000000013f213193 in main ()
From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/53767 ZFS test utility ztest(1) dies with assertion failed
Date: Tue, 10 Sep 2019 14:01:41 +0100
FWIW I can't reproduce this on NetBSD-9.99.11/amd64:
k# ztest -VVV -v10 -m2 -r12 -R3
10 vdevs, 7 datasets, 23 threads, 300 seconds...
loading space map for vdev 0 of 1, metaslab 72 of 188 ...
Dataset mos [META], ID 0, cr_txg 4, 103K, 31 objects
Dataset ztest [ZPL], ID 21, cr_txg 1, 2.98K, 0 objects
Verified large_blocks feature refcount of 0 is correct
...
ztest has been running for 300 seconds
ztest has been running for 600 seconds
ztest has been running for 900 seconds
ztest has been running for 1200 seconds
ztest has been running for 1500 seconds
ztest has been running for 1800 seconds
ztest has been running for 2100 seconds
From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/53767 ZFS test utility ztest(1) dies with assertion failed
Date: Tue, 10 Sep 2019 14:59:08 +0100
On 10/09/2019 14:05, Patrick Welche wrote:
> FWIW I can't reproduce this on NetBSD-9.99.11/amd64:
I just hit it on NetBSD 9.99.11 (GENERIC) #0: Fri Sep 6 21:09:11 UTC
2019 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
amd64
# ztest -VVV -v10 -m2 -r12 -R3 -T 86400|tee pr53767-24h.txt
...
Assertion failed: c < (1ULL << 24) >> 9 (0x7fffffffffffff < 0x8000),
file
/usr/src/external/cddl/osnet/lib/libzpool/../../dist/uts/common/fs/zfs/zio.c,
line 324.
child died with signal 6
Sevan
From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/53767 CVS commit: src
Date: Sat, 27 Jun 2020 05:20:34 +0000
Module Name: src
Committed By: jruoho
Date: Sat Jun 27 05:20:34 UTC 2020
Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/usr.bin: Makefile
Added Files:
src/tests/usr.bin/ztest: Makefile t_ztest.sh
Log Message:
Add a test case for PR kern/53767.
To generate a diff of this commit:
cvs rdiff -u -r1.855 -r1.856 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.168 -r1.169 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.31 -r1.32 src/tests/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/ztest/Makefile \
src/tests/usr.bin/ztest/t_ztest.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>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.