GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Data race in `Modules/cjkcodecs/multibytecodec.c` · Issue #154577 · python/cpython

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

New issue
Copy link
New issue
Copy link
Open
Open
Data race in Modules/cjkcodecs/multibytecodec.c#154577
Copy link
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@xxyzz
xxyzz
opened on Jul 24, 2026
Issue body actions

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

  • gh-154577: Fix data race in Modules/cjkcodecs/multibytecodec.c #154578

Activity

  1. xxyzz
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jul 24, 2026
  2. xxyzz
    added a commit that references this issue on Jul 24, 2026

    pythongh-154577: Fix data race in `Modules/cjkcodecs/multibytecodec.c`

    f7625e0
  3. StanFromIreland
    added a parent issue on Jul 25, 2026
    • Free-threading data races in CPython: 15 findings (9 new + 6 residual of existing FT work) #153852
  4. StanFromIreland
    added
    extension-modulesC modules in the Modules dirC modules in the Modules dir
    on Jul 25, 2026
  5. StanFromIreland
    added this to Codecs and encodings issueson Jul 25, 2026
  6. StanFromIreland
    added
    topic-free-threading
    on Jul 25, 2026
  7. xxyzz
    added a commit that references this issue on Jul 26, 2026

    pythongh-154577: Fix data race in `Modules/cjkcodecs/multibytecodec.c`

    3ba7336
  8. github-project-automation
    added this to Project_VKon Oct 18, 2026
  9. github-project-automation
    moved this to Todo in Project_VKon Oct 18, 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

    Labels

    extension-modulesC modules in the Modules dirC modules in the Modules dirtopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    • Codecs and encodings issues
      Status
      No status
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.