From nobody Thu Jul 18 11:40:44 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WPrTm3zw1z5RJCT for ; Thu, 18 Jul 2024 11:40:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WPrTm0R06z4qmJ for ; Thu, 18 Jul 2024 11:40:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721302844; a=rsa-sha256; cv=none; b=Iz0N6ItGcsjr66Xgn79IGc9h0vRnkQpJpG7mhEs+MLWEcFzIQOjEHgc0hpjkFlbWCU+aoK Mq0Pex9WClzZh8c2hS+MqhE4N5UTkls2w76+R9UcbXYFomeybEKQtYYyTQM17ZK92aZryR j8CUygtvhNLzqrUPp9T3VoZFFk9nj++jyhCQ64qxi85rnIRrZmeA+Jdcqa3QsPZnK5sgC1 5GqeWYh0buKws5OLfczyILICe0H6j9/SzdAz+Af7WZ4G7yFUiCY+lJAYA5E7xsQ3YXOhye IoZYbRNfxskaSm6EwZXcOfGd/o7tKvZ6MrburY17YNvNsMi/aNptm/ZbJBK7cw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721302844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=2Gz1O6Qacgppyt4T1hlYF4890hk8j3fDkigMLI/u9rs=; b=S+QLwvyxFdcNnc9v/d5d09yJRaeoQQE6LF9hvQXXKVDRFtzeHzxA6ffmsHqpHrrzPpP/YG Egic4e+BViRN4tKy/Qm1z9Lw+asud+I38YxIbMAi90+ieTzF6iMPuaHs1+X4Vmzw/s4bDy gIT6LFd9U8nzQE8YJcbQpUM5d6HTVxm0o1S30g8CkZ+wOerW/CA7OXHi7AmcT/YK+bwnhD HGm14fzUlrf0GOoZcjMbbRs+eks2FEkaYWvHN4+QcPkSZfUdPCmj/ro15OXwvooXCkEh9r ahW7VkFeSFgUjYScUT0PoOjuyLPMJxq8XwaMp4vmGisOdiDm872KMR9XUkkjbA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WPrTm03BLzmj6 for ; Thu, 18 Jul 2024 11:40:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 46IBehLG076563 for ; Thu, 18 Jul 2024 11:40:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46IBehii076557 for bugs@FreeBSD.org; Thu, 18 Jul 2024 11:40:43 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280347] truncate(2) test program corrupts msdos file system Date: Thu, 18 Jul 2024 11:40:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pho@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280347 Bug ID: 280347 Summary: truncate(2) test program corrupts msdos file system Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: pho@FreeBSD.org Created attachment 252141 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252141&action= =3Dedit Reproducer shell script root@mercat1:/usr/src/tools/test/stress2/misc # ./tr8.sh /mnt: Freeing unused sector 65535 31 0 /dev/md10: remounting read-only due to corruption /mnt: Freeing unused sector 65535 31 0 truncate8: read: Input/output error remounted /dev/md10 read-only truncate8: ftruncate: Bad file descriptor MSDOS exit status is 2 root@mercat1:/usr/src/tools/test/stress2/misc # uname -a FreeBSD mercat1.netperf.freebsd.org 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n271237-a4469a0d19b64-dirty: Thu Jul 18 09:55:05 CEST 2024=20=20=20=20 pho@mercat1.netperf.freebsd.org:/usr/src/sys/amd64/compile/PHO amd64 root@mercat1:/usr/src/tools/test/stress2/misc # --=20 You are receiving this mail because: You are the assignee for the bug.=