From nobody Mon Nov 04 19:11:36 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 4Xj1Kl3xssz5cRjP for ; Mon, 04 Nov 2024 19:11:39 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xj1Kl1MbRz4DGT for ; Mon, 4 Nov 2024 19:11:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730747499; 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=0EWskVqUisihtN6H9OYua/1bYqxWl3hrr8kH6S3rhbo=; b=oWyFrkJtG0PM7LqMwu+jN1RbHw4wK/U4DxJxsqo7z6f+P7saj1FW5BRksCO8uEaNXNbEKj 9hG6L2EiZF/0x9DGtMoaPtzJVnPtmHp+w0Rd0Nji1L0Pv351GbggZSzFU2IZUcOKqHmBFV VGIgw2sQx71Pgo1D+GWL4eN+uVWz1ZfTjuC0ka7L5+DX7kBZvGmAdF5Nl62AGY7T34paP4 I23y7ythsx1p05AU8G6hBdBZRRR0aFbQgbjs+qj3+d+3KTekXhULnKnOkTUl/oGcnf2AuY HZzMKAyYhMUQZkKIcXNa3hlcFQbSH2KRc2T2Gn8EAtbjdoskXqCdlWfsDLx5/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730747499; a=rsa-sha256; cv=none; b=bIq5FgeZoB6ydXm0ZUkCSWKKwvvFN+rxwZ7zKn2f6jXCJQ2Qh6gfYadEHVCLyc/pT4gO2g qBQEJUDgZ2YNYg3ikPZTq9JALmkj4ywQsgtFFhFflIMJRP/QhHjNA2JxRApU8IV13FJZ9Z 5hqei/Hqi+QJQSCF7MW0ubOEB3zs5/S4GmOjC95ajG52RNg2a/krS487+4GHavZo8Ae7VO zwGYz5GRcRJfOz39FZtFRXWoH76HTw3PRxt9Bzz79sYgy3dCX3l4+RfOoM/8z1A07FkzQO xqcRU9xqh9MIN9ifxW5XV6Vn+d0LRqdnVwNBwGBmwxVHrbhd4gLWfHK3KcvBVQ== 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 4Xj1Kl0zK2zltS for ; Mon, 4 Nov 2024 19:11:39 +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 4A4JBcZH076876 for ; Mon, 4 Nov 2024 19:11:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A4JBcMR076875 for bugs@FreeBSD.org; Mon, 4 Nov 2024 19:11:38 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 282495] Linuxulator sendfile returns EAGAIN repeatedly, actually repeatingly sending (the same) data Date: Mon, 04 Nov 2024 19:11:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: markj@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: cc 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: 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=3D282495 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #1 from Mark Johnston --- On main I compiled your program with: $ env GOOS=3Dlinux go build main.go $ brandelf -t Linux main then ran it with some dummy data: $ date > file2 $ ./main & $ nc -v localhost 4040 > testfile Entering loop, remain =3D 29 syscall returned n=3D29, err=3D%!s() Sendfile syscall success, written: 29, remain: 0 Wrote 29 bytes, handled: %!s(bool=3Dtrue)Connection to localhost 4040 port [tcp/*] succeeded! $ cat testfile Mon Nov 4 13:54:57 EST 2024 $ So something is different. Maybe something to do with the size of "file2"?= Or the problem is in 14.1 but not FreeBSD-main. Or I don't quite understand t= he expected behaviour. --=20 You are receiving this mail because: You are the assignee for the bug.=