From nobody Wed May 25 04:04:18 2022 X-Original-To: ports-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 410D91B38C42 for ; Wed, 25 May 2022 04:04:19 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L7HWQ5ywMz4nTX for ; Wed, 25 May 2022 04:04:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 ADA89122B1 for ; Wed, 25 May 2022 04:04:18 +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 24P44I4A084645 for ; Wed, 25 May 2022 04:04:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24P44IjL084644 for ports-bugs@FreeBSD.org; Wed, 25 May 2022 04:04:18 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: ports-bugs@FreeBSD.org Subject: [Bug 264196] sysutils/fusefs-ntfs: read(2)ing big files in blocks of 32768 bytes and smaller fails with EINVAL Date: Wed, 25 May 2022 04:04:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: danfe@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653451458; 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: in-reply-to:in-reply-to:references:references; bh=vBJa3uqxXM+KkX/txk8Z7tRV/luFdKvZ2vV7bVcX/a8=; b=RUZk4zP6S9QdhklNq85zDGxjfzmBxTGgY5l2P+J2AdFe1khJQyIME5rJNACR6p/RCjhcxa rIEIwDQYszO1s/4o0ETqt9IwmDB5qm1KmjL+YA3QXq1Zbcia28hnrbwR/dKRWs0Jfs/O73 AejjbAmR8sVDW4qvWtbL2kL0Pwame8MY1VHQGbbcwQQVDdnMlALeEqWjF8f7FMRZ86yxMt QaVQ6Pa3/l62qOMrHJGJV2tP8Nt4LJ8NIszkfSZjWygwJV/BW0qlHYjO+Ihtk83GCvEV3u 3dhC+24ndrG6Fd6YgQoJSb72JUxoSp4FdZ1o/X9zakvVLDbFTno30CH6XE5BfA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653451458; a=rsa-sha256; cv=none; b=V+a9Y16aqcuW5bQPe6fLnnRpVA5x8++GMEzD+wspXxzQTRH4Xq9Sa0cHpBT22uaLLuLTwf hCDygvy/cl4IsDJYsfwR2BZ71rgO40zxo3+RB48E1dK4WMPPwbkyfDcoReVY2JmaCTdUG5 PpBVY8i5hVBTVDqE0lt+hxw5vt8Sg7rlUYhdJcfbymTk0E4x+NyjyCv1qu6guzoSjGuf7L AQ/93pUxlPe5eYTM8yd6T/MjTD+cSkVGvVGMTpbiJ00wUfr9/Ga1M6bWzLaREGucPxXK5n ME3/pCBEb2mAhhiNurjeVm44XUyPYniiYr80f9g0inY6S8OUSRKyVcr1eIAPaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264196 --- Comment #8 from Alexey Dokuchaev --- (In reply to Alan Somers from comment #1) > Have you tried running the daemon in the foreground, with debug output? So I did. Apparently the bug exhibits itself when the controversial (see b= ug #194526 and bug #206978) UBLIO option is OFF (mentioned in the comment #1).= =20 Here's the relevant part of the diff between correct and buggy debug output: [...] unique: 14, opcode: BMAP (37), nodeid: 3, insize: 56, pid: - unique: 14, error: -78 (Function not implemented), outsize: 16 -unique: 15, opcode: READ (15), nodeid: 3, insize: 80, pid: -read[0] 131072 bytes from 65536 flags: 0x0 - read[0] 131072 bytes from 65536 - unique: 15, success, outsize: 131088 -unique: 16, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: +bmap /Temp/qemu6-6.2.0.pkg blocksize: 65536 index: 1 + unique: 14, error: -22 (Invalid argument), outsize: 16 +unique: 15, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: getattr /Temp/qemu6-6.2.0.pkg - unique: 16, success, outsize: 120 -unique: 17, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: + unique: 15, success, outsize: 120 +unique: 16, opcode: BMAP (37), nodeid: 3, insize: 56, pid: +bmap /Temp/qemu6-6.2.0.pkg blocksize: 65536 index: 1 + unique: 16, error: -22 (Invalid argument), outsize: 16 +unique: 17, opcode: FLUSH (25), nodeid: 3, insize: 64, pid: + unique: 17, error: -78 (Function not implemented), outsize: 16 +unique: 18, opcode: SETATTR (4), nodeid: 3, insize: 128, pid: getattr /Temp/qemu6-6.2.0.pkg - unique: 17, success, outsize: 120 -unique: 18, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: -getattr /Temp/qemu6-6.2.0.pkg unique: 18, success, outsize: 120 (In reply to Alan Somers from comment #6) > I can't reproduce the bug using these instructions Can you rebuild the port with UBLIO=3Doff and retry? In bug #194526, comme= nt #8 you say that fusefs(5) now has sane caching builtin and suggest that we eliminate libublio, so I guessed you must have it disabled for a long time.= :-) --=20 You are receiving this mail because: You are the assignee for the bug.=