100000 assignments of .__sizeof__ cause a segfault on del
未關閉
還沒有人認領這個 Issue。
3.10
interpreter-core
type-crash
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 558
描述
| BPO | 42887 |
|---|---|
| Nosy | @terryjreedy, @ronaldoussoren, @vstinner, @tiran, @markshannon, @serhiy-storchaka, @WildCard65 |
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-11.07:38:04.066>
labels = ['interpreter-core', '3.10', 'type-crash']
title = '100000 assignments of .__sizeof__ cause a segfault on del'
updated_at = <Date 2021-01-19.17:07:10.964>
user = 'https://bugs.python.org/xxm'
bugs.python.org fields:
activity = <Date 2021-01-19.17:07:10.964>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2021-01-11.07:38:04.066>
creator = 'xxm'
dependencies = []
files = []
hgrepos = []
issue_num = 42887
keywords = []
message_count = 10.0
messages = ['384797', '384801', '384802', '385128', '385132', '385134', '385177', '385187', '385265', '385267']
nosy_count = 8.0
nosy_names = ['terry.reedy', 'ronaldoussoren', 'vstinner', 'christian.heimes', 'Mark.Shannon', 'serhiy.storchaka', 'WildCard65', 'xxm']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue42887'
versions = ['Python 3.10']
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從連結的 BPO issue 42887 及其討論開始;遷移後的記錄提到了 Interpreter Core 和 Python 3.10,但沒有檔案、重現測試或修補程式位置。確認 100000 次 .sizeof 指派的情境,並在決定回歸測試應放在哪裡之前,追蹤刪除時的崩潰。完成表示 reproducer 在刪除時不再發生 segmentation fault,且該回歸已由測試涵蓋。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- compilers
- Issue 類型
- 缺陷
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100