ProcessPoolExecutor deadlock on KeyboardInterrupt

Offen
#70,096 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
20/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python

Rechercherichtung

Start by reading worker_ignore_interrupt.patch and the dependency on bpo-22393, then inspect the available issue messages for reproduction details about the ProcessPoolExecutor deadlock. Done should mean a reproducible regression test and a verified fix for KeyboardInterrupt handling without the executor hanging.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

topic-multiprocessing type-bug
BPO 25908
Nosy @applio
Dependencies
  • bpo-22393: multiprocessing.Pool shouldn't hang forever if a worker process dies unexpectedly
  • Files
  • worker_ignore_interrupt.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 = None
    created_at = <Date 2015-12-18.19:41:10.721>
    labels = ['type-bug']
    title = 'ProcessPoolExecutor deadlock on KeyboardInterrupt'
    updated_at = <Date 2015-12-27.17:11:24.197>
    user = 'https://bugs.python.org/jacksontj'
    

    bugs.python.org fields:

    activity = <Date 2015-12-27.17:11:24.197>
    actor = 'davin'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2015-12-18.19:41:10.721>
    creator = 'jacksontj'
    dependencies = ['22393']
    files = ['41358']
    hgrepos = []
    issue_num = 25908
    keywords = ['patch']
    message_count = 4.0
    messages = ['256703', '256705', '256711', '257085']
    nosy_count = 2.0
    nosy_names = ['davin', 'jacksontj']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25908'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']
    

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.