python / python/cpython

[Windows] multiprocessing handle leak when child process is killed during startup/unpickling

Đang mở
#87,134 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

3.10 3.8 (EOL) 3.9 (EOL) OS-windows stdlib topic-multiprocessing type-bug
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

BPO 42968
Nosy @pfmoore, @tjguk, @zware, @eryksun, @zooba, @dgrunwald
Files
  • deadlock.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 = None
    closed_at = None
    created_at = <Date 2021-01-19.18:24:16.409>
    labels = ['type-bug', '3.8', '3.9', '3.10', 'library', 'OS-windows']
    title = '[Windows] multiprocessing handle leak when child process is killed during startup/unpickling'
    updated_at = <Date 2021-03-30.18:31:06.717>
    user = 'https://github.com/dgrunwald'
    

    bugs.python.org fields:

    activity = <Date 2021-03-30.18:31:06.717>
    actor = 'eryksun'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'Windows']
    creation = <Date 2021-01-19.18:24:16.409>
    creator = 'dgrunwald'
    dependencies = []
    files = ['49751']
    hgrepos = []
    issue_num = 42968
    keywords = []
    message_count = 3.0
    messages = ['385283', '385284', '385380']
    nosy_count = 6.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'dgrunwald']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42968'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    Bắt đầu từ đâu

    1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
    2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
    3. Fork repository và làm thay đổi trên một nhánh.
    4. Mở pull request có tham chiếu số hiệu của issue.

    Hướng nghiên cứu

    Bắt đầu với reproducer deadlock.py được đính kèm và đường dẫn startup/unpickling của Windows multiprocessing. Tái hiện trường hợp một tiến trình con bị kill trong khi khởi động, sau đó điều tra xem process handle có còn mở hay không. Hoàn thành khi reproducer không còn làm rò rỉ handle trên các phiên bản Python được hỗ trợ.

    Do mô hình lập chỉ mục viết ra từ nội dung của issue.

    Đánh giá

    Công nghệ
    python
    Lĩnh vực
    backend, operating-systems
    Loại issue
    Lỗi
    Độ khó
    4/5
    Thời gian dự kiến
    3-5 ngày
    Mức độ hoạt động
    Đình trệ
    Độ rõ ràng
    Cần làm rõ
    Mức phù hợp với người mới
    35/100

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.