Skip to content

tsan (thread sanitizer) failures on x86_64 from clang14 #73833

@RobertHenry6bev

Description

@RobertHenry6bev

Description

Running on x86_64 compiled with clang14 -O0 -fsanitize=address compiling source near head/main as of Aug 12 00:09 UTC.
Attached are the first 1000 lines of error reports, perhaps many of them redundant.
I was unable to get the tsan'ed application to run under gdb, but did not perservere.

Interpreting tsan output is tricky. I hold the tsan lead author in very high regard.

Reproduction Steps

compile with clang14 -fsanitize=address
Run with LD_PRELOAD pointing to the appropriate libtsan.so.N file, as it needs to be loaded before anything else.

Expected behavior

no thread sanitizer errors at runtime

Actual behavior

robhenry-first-tsan.txt
Lots of apparent errors. These are tricky to understand. See attachment.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions