Skip to content

Race condition in Thread._wait_for_tstate_lock()#89437

@vstinner

Description

@vstinner
BPO45274
Nosy@serhiy-storchaka, @eryksun, @pablogsal, @maggyero, @miss-islington, @bensimner, @gaborbernat
PRs
  • bpo-45274: Fix Thread._wait_for_tstate_lock() race condition #28532
  • [3.9] bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532) #28579
  • [3.10] bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532) #28580
  • bpo-45274: Fix one race condition Thread.join #31290
  • Files
  • threading_bug.patch
  • threading_bug.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee=Noneclosed_at=<Date2021-09-27.12:53:47.975>created_at=<Date2021-09-23.20:13:09.454>labels= ['library', '3.9', '3.10', '3.11'] title='Race condition in Thread._wait_for_tstate_lock()'updated_at=<Date2022-03-12.00:31:02.958>user='https://github.com/vstinner'

    bugs.python.org fields:

    activity=<Date2022-03-12.00:31:02.958>actor='vstinner'assignee='none'closed=Trueclosed_date=<Date2021-09-27.12:53:47.975>closer='vstinner'components= ['Library (Lib)'] creation=<Date2021-09-23.20:13:09.454>creator='vstinner'dependencies= [] files= ['50299', '50300'] hgrepos= [] issue_num=45274keywords= ['patch'] message_count=12.0messages= ['402523', '402524', '402532', '402535', '402540', '402542', '402597', '402704', '402706', '402707', '402710', '402718'] nosy_count=7.0nosy_names= ['serhiy.storchaka', 'eryksun', 'pablogsal', 'maggyero', 'miss-islington', 'bjs', 'gaborjbernat'] pr_nums= ['28532', '28579', '28580', '31290'] priority='normal'resolution='fixed'stage='resolved'status='closed'superseder=Nonetype=Noneurl='https://bugs.python.org/issue45274'versions= ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions