Leak of locks from multiprocessing.Process
未關閉
還沒有人認領這個 Issue。
3.11
topic-C-API
topic-multiprocessing
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
| BPO | 43145 |
|---|---|
| Nosy | @pitrou, @applio, @shihai1991, @YannickJadoul, @bstaletic |
| Files |
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-02-06.13:02:37.289>
labels = ['expert-C-API', '3.11', 'performance']
title = 'Leak of locks from multiprocessing.Process'
updated_at = <Date 2021-07-24.07:52:25.721>
user = 'https://github.com/bstaletic'
bugs.python.org fields:
activity = <Date 2021-07-24.07:52:25.721>
actor = 'shihai1991'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['C API']
creation = <Date 2021-02-06.13:02:37.289>
creator = 'bstaletic'
dependencies = []
files = ['49793', '50177']
hgrepos = []
issue_num = 43145
keywords = []
message_count = 4.0
messages = ['386558', '386559', '386774', '398121']
nosy_count = 5.0
nosy_names = ['pitrou', 'davin', 'shihai1991', 'YannickJadoul', 'bstaletic']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue43145'
versions = ['Python 3.11']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先從附帶的 log 和 valgrind output.txt 開始,然後透過 CPython C API 追蹤 multiprocessing.Process 的鎖生命週期。payload 未指定原始檔或測試;完成意味著能夠重現該洩漏,並確認由程序建立的鎖會被釋放,且不會出現新的 valgrind 錯誤。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- c, python
- 領域
- backend, operating-systems
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100