From nobody Tue Sep 10 07:06:27 2024 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 4X2vrM4yJ2z5TnfX for ; Tue, 10 Sep 2024 07:06:27 +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 4X2vrM3fhgz48ts for ; Tue, 10 Sep 2024 07:06:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725951987; a=rsa-sha256; cv=none; b=uskEnyufwaK5oNs+NW+pfM0LV3S4ETypl1FJtvps8gdV3/LJPD3t1G/01UThxF2PTHunQ/ YRAJ0gHd0LxpfuQF1kVFMhjjG/Ar6Qz7JS2Yi2AdukYpv/hCOf3ViVstWrOt0hlUFM6Xdb dRBHEjV6TkYOaLijTV9qYKU+x1jH6B7rB9PvD1iw4vJGfxF4oaGRIIL146ogz7yufnLT72 ckTKkbeASxXDPiGrAubroUoBZRXfSpwh+IIqERn4OKRaLpfvlmYKi/Dcipg/g/CLtv1WYo BNQg5wfgw4Nthfpo6N4yrwFVtDuBDfuI72BupApgsuzQd9kNvXszFntyANvWjA== 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=1725951987; 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=N2j6ep7zJtLVmXvLUg8F/JoFqRkR8grGRhWbork10NI=; b=fzuT9tDiuxb9X8N8yWQbPy/s+LaBR3fk7i7gpljGH7Fdv5er6goQcHh9tgzVyKvWxTQeWQ icmPT3SrJLRaFYgTD80LBqnF9PQoB+sHgRLqyxAokZ2kG/PU25nYmXqg/EEZQskfc2IWs/ zpsT5u2zZBYbfbpA5o6o98mGQy5cQX8Fr5+FilJisMJMWkJ2+RWcpuiGptGdyLytlLDsrz Jb2c+4xlXis1PTds4GDWeBBWrM4NhGe1DR4LfQsGWcHcdEe0bTdbBe/e50iJdl10WyVyBV AnSzH1lrZdbZjNWYhNRyCMe5j7fSub6IJtHph5X876mGfEYppyyCOP0IHgBbbQ== 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 4X2vrM3H96zclH for ; Tue, 10 Sep 2024 07:06:27 +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 48A76Ruq027781 for ; Tue, 10 Sep 2024 07:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48A76RmS027779 for ports-bugs@FreeBSD.org; Tue, 10 Sep 2024 07:06:27 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 281409] audio/pulseaudio: 16.1_4 IP_TOS failed when socket is PF_INET6 Date: Tue, 10 Sep 2024 07:06:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281409 Bug ID: 281409 Summary: audio/pulseaudio: 16.1_4 IP_TOS failed when socket is PF_INET6 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: tatsuki_makino@hotmail.com Assignee: desktop@FreeBSD.org Flags: maintainer-feedback?(desktop@FreeBSD.org) pulseaudio-16.1_4 outputs a log similar to the following ( 0.212| 0.000) [tunnel-sink][../src/pulsecore/socket-util.c:172 pa_make_tcp_socket_low_delay()] IP_TOS failed: Invalid argument This seems to occur when the socket is for IPv6. I don't know if this is something that happens only with FreeBSD, or if it = is something that upstream should take care of for all operating systems. pulseaudio-17.0 still has the same code. The following is a program in which only the relevant part is extracted and= the difference between PF_INET and PF_INET6 is introduced. #include #include #include #include #include #include #include #include int main() { int i, fd; int tos; #if 1 fd =3D socket(PF_INET6, SOCK_STREAM, 0); #else fd =3D socket(PF_INET, SOCK_STREAM, 0); #endif tos =3D IPTOS_LOWDELAY; i =3D setsockopt(fd, IPPROTO_IP, IP_TOS, (const void *)&tos, sizeof= tos); if (i =3D=3D -1) { printf("IP_TOS failed: %s\n", strerror(errno)); } close(fd); return 0; } --=20 You are receiving this mail because: You are the assignee for the bug.=