Skip to content

concurrent.futures.ProcessPoolExecutor can deadlock when tcmalloc is used #90622

@yilei

Description

@yilei
mannequin
BPO 46464
Nosy @gpshead, @pitrou, @methane, @yilei
PRs
  • gh-90622: Prevent concurrent.futures.process deadlock due to fork() after spawning a thread. #30847
  • 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 = 'https://github.com/gpshead' closed_at = None created_at = <Date 2022-01-21.23:32:53.148> labels = ['3.11', 'library', '3.9', '3.10', 'performance'] title = 'concurrent.futures.ProcessPoolExecutor can deadlock when tcmalloc is used' updated_at = <Date 2022-01-25.11:06:46.406> user = 'https://github.com/yilei'

    bugs.python.org fields:

    activity = <Date 2022-01-25.11:06:46.406> actor = 'pitrou' assignee = 'gregory.p.smith' closed = False closed_date = None closer = None components = ['Library (Lib)'] creation = <Date 2022-01-21.23:32:53.148> creator = 'yilei' dependencies = [] files = [] hgrepos = [] issue_num = 46464 keywords = ['patch', '3.9regression'] message_count = 7.0 messages = ['411208', '411213', '411451', '411543', '411544', '411545', '411574'] nosy_count = 4.0 nosy_names = ['gregory.p.smith', 'pitrou', 'methane', 'yilei'] pr_nums = ['30847'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = 'resource usage' url = 'https://bugs.python.org/issue46464' versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions