NetBSD Problem Report #56295
From martin@duskware.de Sat Jul 3 05:34:23 2021
Return-Path: <martin@duskware.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 46F961A921F
for <gnats-bugs@gnats.NetBSD.org>; Sat, 3 Jul 2021 05:34:23 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: new failing test case: bin/dd/t_dd:length
X-Send-Pr-Version: 3.95
>Number: 56295
>Category: kern
>Synopsis: new failing test case: bin/dd/t_dd:length
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jul 03 05:35:00 +0000 2021
>Closed-Date: Sat Jul 03 12:01:21 +0000 2021
>Last-Modified: Sat Jul 03 12:01:21 +0000 2021
>Originator: Martin Husemann
>Release: NetBSD 9.99.86
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD thirdstage.duskware.de 9.99.86 NetBSD 9.99.86 (MODULAR) #471: Fri Jul 2 20:01:20 CEST 2021 martin@thirdstage.duskware.de:/usr/src/sys/arch/sparc64/compile/MODULAR sparc64
Architecture: sparc64
Machine: sparc64
>Description:
After the recent changes one of the dd tests fails.
Previously (using /bin/sh) this would work:
$ dd if=/dev/zero of=/dev/fd/5 count=1 5>&1 | hexdump -C
1+0 records in
1+0 records out
512 bytes transferred in 0.001 secs (512000 bytes/sec)
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200
$
But now:
$ dd if=/dev/zero of=/dev/fd/5 count=1 5>&1 | hexdump -C
1+0 records in
1+0 records out
512 bytes transferred in 0.001 secs (512000 bytes/sec)
$
>How-To-Repeat:
s/a
>Fix:
n/a
>Release-Note:
>Audit-Trail:
From: mlelstv@serpens.de (Michael van Elst)
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/56295: new failing test case: bin/dd/t_dd:length
Date: Sat, 3 Jul 2021 06:28:13 -0000 (UTC)
martin@NetBSD.org writes:
>After the recent changes one of the dd tests fails.
open returns success and an uninitialized fd value in case fd_dupopen
fails.
http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/vfs_syscalls.diff
State-Changed-From-To: open->closed
State-Changed-By: martin@NetBSD.org
State-Changed-When: Sat, 03 Jul 2021 12:01:21 +0000
State-Changed-Why:
Works with Michaels fix - thanks!
>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.