Skip to content

Fix data races found by thread sanitizer #32

@malirod

Description

@malirod

Single LogFromFreeFunctionFromAnonymousNamespace test produced 116 warnings.
Most of them (maybe all) are related to attributes management (data races). If used SYNC logger, then no issues at all.
To reduce amount of warnings try to do the following
in LogFromFreeFunctionFromAnonymousNamespace

  • leave only two log lines
  • remove all attributes from logging (name, line, file, severity)
  • leave only severity filter

Doing this the amount of data races is 11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions