From nobody Tue Oct 17 16:07:16 2023 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 4S8zQD68qXz4xgqR for ; Tue, 17 Oct 2023 16:07:16 +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 4S8zQD354dz4KVY for ; Tue, 17 Oct 2023 16:07:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697558836; a=rsa-sha256; cv=none; b=x36wX48ByIMBXdTeYCrxyA65Tohh43CEFnhHip2mSMfuTw+WLc4B+EKIvC3rjm+2Nd7GvV 5KBOtCJoCXytEHlozvxDu9Z0qAjAl+AaIaJkzdQXaJw6cSBWHjBZ2a1UzXNbEBQQdVBx+u 58nnGSxS/LYWpS9cprTZFl2ulFO1JezlwXhdj/a4jQuaqBMxzOHyLrUnGDAwceJn3D8kph TnM7leBO3QkJTqgW0bEZyTtK9xyNRlqJT90GIhYbuhTmeoYwa06L/hESWRnAUJSNmK5ZUB phhuroJoRVBfyRdsrixT4J2oU+BTZZ+WtyHu/dhyojdWbiXJSLZZLovQXZTmmQ== 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=1697558836; 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=TVn0sIAWC+27Ixo/O+wcQ++v+RdYuBu29rth9+wgzAg=; b=q+A5jEexuNwalkCQFKzlZ1LMrGd1vjeCH2uhc3xXadYlZz/d2xqih0aTZ7+eK/3ugmXaG3 9F8LuOsFdkk24DJHO/70OLEvngbCckouhFliKhjbgK88TPw1uNOSrUhquQNG0YLzr84TaB icf+PIpLvjxnAq8CYkXbiwhpOTSnKetaifGS9kNPXa+Vze6Y3P+b964xfFhkDkpO8rGJuB Zzk87tEPIxpri/sjTriX4CzckYWnXIDGqbTsMmYQITCxdcrPrd1ait6YbQRUAd4fdAe7ME KtnFnOxRLFobkJPLXvRIzdgOKBl32xvSq5WEqF31Y8D9aXj8B2l0knPFQTQGiw== 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 4S8zQD28tTzWhf for ; Tue, 17 Oct 2023 16:07:16 +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 39HG7G5E021144 for ; Tue, 17 Oct 2023 16:07:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39HG7GiW021143 for bugs@FreeBSD.org; Tue, 17 Oct 2023 16:07:16 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 274535] vlc(1) from Focal hangs on futex Date: Tue, 17 Oct 2023 16:07:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: trasz@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: 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=3D274535 Bug ID: 274535 Summary: vlc(1) from Focal hangs on futex Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: trasz@FreeBSD.org VLC from amd64 Ubuntu Focal "hangs" on futex on startup. VLC from a previo= us version (Bionic) doesn't exhibit this problem. Running under strace(1) shows the following: mmap(NULL, 16488, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) =3D 0x804f880= 00 mmap(0x804f89000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x1000) =3D 0x804f89000 mmap(0x804f8a000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) =3D 0x804f8a000 mmap(0x804f8b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) =3D 0x804f8b000 close(4) =3D 0 mprotect(0x804f8b000, 4096, PROT_READ) =3D 0 futex(0x80224ede8, FUTEX_WAKE_PRIVATE, 2147483647) =3D 0 futex(0x10b75b0, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=3D0, tv_nsec=3D0}, FUTEX_BITSET_MATCH_ANYstrace: detach: tkill(2718,0): Invalid argument strace: Process 2718 detached Note that there are other applications hanging on futex, notably glxinfo(1)= .=20 The strange thing is, the same glxinfo works when run under strace(1) or FreeBSD's native ktrace(1). Race condition of some kind? --=20 You are receiving this mail because: You are the assignee for the bug.=