From owner-freebsd-emulation@freebsd.org Tue Sep 29 00:59:02 2020 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 84BCE42F5C2 for ; Tue, 29 Sep 2020 00:59:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C0gxy33Lhz44JV for ; Tue, 29 Sep 2020 00:59:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 66EBF42F5C1; Tue, 29 Sep 2020 00:59:02 +0000 (UTC) Delivered-To: emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 659C642F6A2 for ; Tue, 29 Sep 2020 00:59:02 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C0gxy1sCJz44Ct for ; Tue, 29 Sep 2020 00:59:02 +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 23F8A26699 for ; Tue, 29 Sep 2020 00:59:02 +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 08T0x2xV045772 for ; Tue, 29 Sep 2020 00:59:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08T0x2s5045771 for emulation@FreeBSD.org; Tue, 29 Sep 2020 00:59:02 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: emulation@FreeBSD.org Subject: [Bug 249381] [linuxlator] Failing linux_socket(0x10,0x3,0) causes PulseAudio under Linux emulator to fail Date: Tue, 29 Sep 2020 00:59:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: break19@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@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 MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2020 00:59:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249381 break19@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |break19@gmail.com --- Comment #3 from break19@gmail.com --- This is also apparently causing the linux Discordapp to coredump. from linux-c7-strace > wait4(6206, [{WIFEXITED(s) && WEXITSTATUS(s) =3D=3D 1}], 0, NULL) =3D 6206 > lstat("/opt", {st_mode=3DS_IFDIR|0755, st_size=3D2, ...}) =3D 0 > lstat("/opt/Discord", {st_mode=3DS_IFDIR|0755, st_size=3D20, ...}) =3D 0 > lstat("/opt/Discord/Discord", {st_mode=3DS_IFREG|0755, st_size=3D11529339= 2, ...}) =3D 0 > socketpair(AF_UNIX, SOCK_SEQPACKET, 0, [10, 11]) =3D 0 > setsockopt(10, SOL_SOCKET, SO_PASSCRED, [1], 4) =3D -1 ENOPROTOOPT (Proto= col not available) > --- SIGTRAP {si_signo=3DSIGTRAP, si_code=3DTRAP_BRKPT} --- > /compat/linux/usr/bin/strace: [ Process PID=3D6205 runs in x32 mode. ] > syscall_0xfffffffffffffffc(0x8479f19a0, 0x2, 0xffffffff, 0x7fffffff, 0, 0= x2 > +++ killed by SIGTRAP +++ > [1] 6203 trace trap /compat/linux/usr/bin/strace ./Discord and from ktrace/kdump: > 6251 Discord CALL linux_setsockopt(0xa,0x1,0x10,0x7fffffffcb7c,0x4) > 6251 Discord RET linux_setsockopt -1 errno -92 Protocol not available > 6251 Discord PSIG SIGTRAP SIG_DFL code=3DTRAP_BRKPT > 6251 Discord RET poll -1 errno -4 Interrupted system call > 6251 Discord NAMI "sandbox_ipc_thr.core" --=20 You are receiving this mail because: You are the assignee for the bug.=