Skip to content

[Windows] KeyboardInterrupt during Thread.join hangs that Thread#66021

@tupl

Description

@tupl
mannequin
BPO21822
Nosy@tim-one, @pfmoore, @pitrou, @vstinner, @tjguk, @zware, @eryksun, @zooba, @maggyero, @gaborbernat
Superseder
  • bpo-45274: Race condition in Thread._wait_for_tstate_lock()
  • Files
  • join.py: Interactive script to reproduce the problem
  • sscce_thread_join_fails_on_keyboardinterrupt.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.14:11:30.231>created_at=<Date2014-06-21.15:44:35.111>labels= ['3.8', '3.9', 'extension-modules', 'interpreter-core', 'type-bug', '3.10', 'library', 'OS-windows'] title='[Windows] KeyboardInterrupt during Thread.join hangs that Thread'updated_at=<Date2021-09-27.14:11:30.230>user='https://bugs.python.org/tupl'

    bugs.python.org fields:

    activity=<Date2021-09-27.14:11:30.230>actor='vstinner'assignee='none'closed=Trueclosed_date=<Date2021-09-27.14:11:30.231>closer='vstinner'components= ['Extension Modules', 'Interpreter Core', 'Library (Lib)', 'Windows'] creation=<Date2014-06-21.15:44:35.111>creator='tupl'dependencies= [] files= ['35715', '47549'] hgrepos= [] issue_num=21822keywords= [] message_count=18.0messages= ['221180', '223608', '315761', '315762', '315811', '315815', '315966', '315967', '315968', '315969', '315970', '316023', '316024', '316025', '337846', '346191', '402714', '402717'] nosy_count=12.0nosy_names= ['tim.peters', 'paul.moore', 'pitrou', 'vstinner', 'tim.golden', 'neologix', 'zach.ware', 'eryksun', 'steve.dower', 'pdgoins-work', 'maggyero', 'gaborjbernat'] pr_nums= [] priority='normal'resolution='duplicate'stage='resolved'status='closed'superseder='45274'type='behavior'url='https://bugs.python.org/issue21822'versions= ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifeOS-windowsextension-modulesC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions