Date: Wed, 06 Dec 2023 18:36:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 275577] Thread sanitizer is not usable under FreeBSD 13.2 and 14.0 Message-ID: <bug-275577-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275577 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=thread hit a null pointer dereference and dump core very early upon startup. Steps to reproduce: printf '#include <stdio.h>\nint main() { printf("Hello, world\\n"); }\n' > t.c cc -fsanitize=thread -o t t.c && ./t Interestingly, running the binary under gdb works, which hints that gdb sets up the process in a TSan-friendly way. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275577-227>
