Skip to content

threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly #80583

@vstinner

Description

@vstinner
BPO 36402
Nosy @pitrou, @kristjanvalur, @vstinner, @ericsnowcurrently, @koobs, @pablogsal
PRs
  • [WIP] bpo-36402: add random sleep to test_threads_join_2() #13889
  • [WIP] bpo-36402: Fix test_threading.test_threads_join_2() #13946
  • bpo-36402: Fix threading._shutdown() race condition #13948
  • bpo-36402: Add test_threading.test_finalization_shutdown() #13949
  • [3.8] bpo-36402: Fix threading._shutdown() race condition (GH-13948) #14033
  • [3.7] bpo-36402: Fix threading._shutdown() race condition (GH-13948) #14034
  • tbpo-36402: Fix threading.Thread._stop() #14047
  • [3.8] bpo-36402: Fix threading._shutdown() race condition (GH-13948) #14050
  • [3.7] bpo-36402: Fix threading._shutdown() race condition (GH-13948) (GH-14050) #14054
  • Files
  • py_finalize.patch
  • 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 = None
    closed_at = <Date 2019-06-13.12:28:09.923>
    created_at = <Date 2019-03-22.23:18:24.071>
    labels = ['3.8', '3.7', 'library', '3.9']
    title = 'threading._shutdown() race condition: test_threading test_threads_join_2() fails randomly'
    updated_at = <Date 2019-08-09.11:08:52.420>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-08-09.11:08:52.420>
    actor = 'kristjan.jonsson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-13.12:28:09.923>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2019-03-22.23:18:24.071>
    creator = 'vstinner'
    dependencies = []
    files = ['48409']
    hgrepos = []
    issue_num = 36402
    keywords = ['patch']
    message_count = 16.0
    messages = ['338622', '338623', '344611', '344613', '344922', '345143', '345146', '345149', '345150', '345429', '345492', '345502', '345508', '345509', '345510', '349281']
    nosy_count = 6.0
    nosy_names = ['pitrou', 'kristjan.jonsson', 'vstinner', 'eric.snow', 'koobs', 'pablogsal']
    pr_nums = ['13889', '13946', '13948', '13949', '14033', '14034', '14047', '14050', '14054']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue36402'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.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