Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | raw e-mail | index | archive | help
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 <stdio.h>\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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275577-227>