Skip to content

Data race in Modules/cjkcodecs/multibytecodec.c #154577

Description

@xxyzz

Bug report

Bug description:

Functions have MultibyteIncrementalEncoderObject and MultibyteIncrementalDecoderObject argument are not using @critical_section, therefore could have data race on these objects. For more details please see the TSAN-0001 report from parent issue #153852.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    on Jul 24, 2026
  2. added a commit that references this issue on Jul 24, 2026
  3. added a commit that references this issue on Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions