Skip to content

Avoid thread leaks for thread sanitizer #143121

@colesbury

Description

@colesbury

We currently have a suppression for thread leaks in thread sanitizer:

# https://gist.github.com/mpage/daaf32b39180c1989572957b943eb665
thread:pthread_create

It'd be nice to remove this suppression. There are a two sources of thread leaks that I know:

  1. It configure.ac, one of the checks doesn't pthread_detach or pthread_join. This is easy to fix
  2. Some of our multiprocessing tests leak threads. We should probably just skip these tests when running under TSan.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions