From nobody Sun Aug 07 00:03:18 2022 X-Original-To: threads@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 4M0fgD3Qktz4YHH7 for ; Sun, 7 Aug 2022 00:03:20 +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 4M0fgD2QGFz3M7D for ; Sun, 7 Aug 2022 00:03:20 +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 4M0fgD1Rt4zrVk for ; Sun, 7 Aug 2022 00:03:20 +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 27703KED032133 for ; Sun, 7 Aug 2022 00:03:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27703KEt032132 for threads@FreeBSD.org; Sun, 7 Aug 2022 00:03:20 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: threads@FreeBSD.org Subject: [Bug 237195] pthread_mutex_unlock crash as unlocked mutex destroyed by signaled thread Date: Sun, 07 Aug 2022 00:03:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: threads X-Bugzilla-Version: 12.0-RELEASE X-Bugzilla-Keywords: crash, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: threads@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? mfc-stable11? X-Bugzilla-Changed-Fields: 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: Threading List-Archive: https://lists.freebsd.org/archives/freebsd-threads List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-threads@freebsd.org X-BeenThere: freebsd-threads@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659830600; 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=HYMXZg9FLJL0FYYeEAB4MEUWASSpe95wkQw75u+demM=; b=q6HXxNuWdYKAafQEkgPQbCdHXCNlZq4euHmmxG61zfEykmEvW4qCRrLzukuRtORlAkLv9T C4KiCgajz4VgupbdCYjMBoLQT65YXPXufQc0HQh3uGNWY1pGX9LN6iu7LEmIzdZwJRuKrl Ijr3K18u/+6Mu3tfLnm5X53EAmSN0Zvu/AS5XSr/H6ftk9lHDKzb0aUpqbqyOQjPh1jcIj 4HCRzgg2X644ofplZZXMRzD6S5G4X7T/1YynrgpW4jejUio18+L7N9XdmbOmhTCZjGLglJ 2PkvhmVP6TDJM24e2vkQDf/dA7AZG1krSOBvynT73BqqTB2wlBfXc929ekQXkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659830600; a=rsa-sha256; cv=none; b=Qr/QdETM8HPx1ub2XXEiZ3aW1MWEHi0tP6ZdZeOEBd3wh8YwkfNhQ3wDOXB3Qh/v1BRC/v v9w2qyVMMAh7+AuCnXTY44BRqLOddUelULB5eMx/3zobpiDjDB2sL9zNN896ND4QjN/YZg lGxu+xUqoxrUzwo3VX0PbRbgRGOt0sADu9ibyRKjlUS42HUubhBSwCuEeGIstNpSJ3+Tzk 8zq/2XdPzhwaNPm6zILoUjSyvIkANxvVoZt9JOgelIfDk7iIME8Hg57xaDthEoUrx49QME j8pifCE9UJ0sOGyRzr1ogihPxlU5ysEDz1LXuXzaKP5jAFDF7wQZks//sedSWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237195 --- Comment #12 from Konstantin Belousov --- Both locking a destroyed mutex, and destroying an owned mutex is declared as undefined behavior by POSIX. FreeBSD is conforming, the program has bug= s. --=20 You are receiving this mail because: You are the assignee for the bug.=