[Bug 249381] [linuxlator] Failing linux_socket(0x10,0x3,0) causes PulseAudio under Linux emulator to fail

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 29 00:59:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249381

break19 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |break19 at gmail.com

--- Comment #3 from break19 at gmail.com ---
This is also apparently causing the linux Discordapp to coredump.

from linux-c7-strace
> wait4(6206, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 6206
> lstat("/opt", {st_mode=S_IFDIR|0755, st_size=2, ...}) = 0
> lstat("/opt/Discord", {st_mode=S_IFDIR|0755, st_size=20, ...}) = 0
> lstat("/opt/Discord/Discord", {st_mode=S_IFREG|0755, st_size=115293392, ...}) = 0
> socketpair(AF_UNIX, SOCK_SEQPACKET, 0, [10, 11]) = 0
> setsockopt(10, SOL_SOCKET, SO_PASSCRED, [1], 4) = -1 ENOPROTOOPT (Protocol not available)
> --- SIGTRAP {si_signo=SIGTRAP, si_code=TRAP_BRKPT} ---
> /compat/linux/usr/bin/strace: [ Process PID=6205 runs in x32 mode. ]
> syscall_0xfffffffffffffffc(0x8479f19a0, 0x2, 0xffffffff, 0x7fffffff, 0, 0x2 <unfinished ...>
> +++ 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=TRAP_BRKPT
>  6251 Discord  RET   poll -1 errno -4 Interrupted system call
>  6251 Discord  NAMI  "sandbox_ipc_thr.core"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-emulation mailing list