From nobody Wed Dec 6 18:36:20 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 4SlmM91qJ5z53mwg for ; Wed, 6 Dec 2023 18:36:21 +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 4SlmM86ymWz3Csm for ; Wed, 6 Dec 2023 18:36:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701887781; a=rsa-sha256; cv=none; b=pDFCxR/ClQeY6rpKykiKXfx1O+l2hDvyP2L0q6uch9qN9wmol8+iW7pQyrIHdWyGLlxuOv POHHPXZKBR/HrKw5f5ImBFbrhZG6FT4vBrirY8wbj2HvWyCBdWnvohb30S3fcuJAkzakZj eNbTlfHySmaYHmFmYXGmLkWD4P9Ka4nBIA8kUH70vnynp4kbe7UU3WL7nQfosVULGnHv6j WULAgh6dRo2Y+19F/UyZGwIvPYEoXhqOTpqCTYH540IfKu8FR1yZ1e+iBKoo9QLLuO63F3 KNaM0XPRHrBicwGqh96AlDNWrQXS/7ouAZdkmw4DEh2RiRVyupo45qucphVqMg== 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=1701887781; 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=41UyRfHhrJsyj5LcgUCy0xdKRgn6yD67a3hz4OmO6nw=; b=HYEH+nH5WlepAAvkB+oH1N4aMOSeQqkk7n6HYZPhgVIkyLYdC/OX4kES8bVJnlvTQsedmm WSqD/tmmJhhaPZPNZHgXJcyyfCL2GfXktl4yR42Y6qHdYSJO4WX26uRy6rSmlZpQDGWdN3 Tyji5tzN4yDd2/Vp/8IAyjrdtYUEbC+n1fD7TasJ3VRu5ixu6fOSfTtig3rT/P78/ge37T tmrOWrlmFSI39LmPYeJoKpV/TTkYPaUVXbRGWgrtD7YmZVqq/ZoDVtdBqeizbaJslBJrBp hqIu5+ajnH+kDWslRf6b5Zy+7o5fMwFo1ar/cWsBL9SWd8fK5wg4oN+Oz0MIxg== 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 4SlmM85pVCz13G9 for ; Wed, 6 Dec 2023 18:36: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 3B6IaKf6038545 for ; Wed, 6 Dec 2023 18:36:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B6IaKW4038544 for bugs@FreeBSD.org; Wed, 6 Dec 2023 18:36: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: bugs@FreeBSD.org Subject: [Bug 275577] Thread sanitizer is not usable under FreeBSD 13.2 and 14.0 Date: Wed, 06 Dec 2023 18:36:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: miod@online.fr 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=3D275577 Bug ID: 275577 Summary: Thread sanitizer is not usable under FreeBSD 13.2 and 14.0 Product: Base System Version: 14.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: miod@online.fr Programs compiled under FreeBSD 13.2 or 14.0 (amd64) with -fsanitize=3Dthre= ad hit a null pointer dereference and dump core very early upon startup. Steps to reproduce: printf '#include \nint main() { printf("Hello, world\\n"); }\n' > = t.c cc -fsanitize=3Dthread -o t t.c && ./t Interestingly, running the binary under gdb works, which hints that gdb set= s up the process in a TSan-friendly way. --=20 You are receiving this mail because: You are the assignee for the bug.=