python / python/cpython

ctypes callback with structure crashes in Python 3.8 on Windows x86

オープン
#85,193 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

3.10 3.8 (EOL) 3.9 (EOL) OS-windows topic-ctypes type-crash
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 41021
Nosy @pfmoore, @vsajip, @amauryfa, @abalkin, @tjguk, @meadori, @zware, @eryksun, @zooba, @itsgk92
Files
  • callback.zip: source zip
  • 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 2020-06-18.09:26:16.751>
    labels = ['3.8', 'type-crash', '3.10', 'ctypes', 'OS-windows', '3.9']
    title = 'ctypes callback with structure crashes in Python 3.8 on Windows x86'
    updated_at = <Date 2022-02-07.17:22:23.797>
    user = 'https://github.com/itsgk92'
    

    bugs.python.org fields:

    activity = <Date 2022-02-07.17:22:23.797>
    actor = 'steve.dower'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Windows', 'ctypes']
    creation = <Date 2020-06-18.09:26:16.751>
    creator = 'itsgk92'
    dependencies = []
    files = ['49253']
    hgrepos = []
    issue_num = 41021
    keywords = []
    message_count = 8.0
    messages = ['371796', '371844', '371851', '371920', '402695', '403035', '412729', '412771']
    nosy_count = 11.0
    nosy_names = ['paul.moore', 'vinay.sajip', 'amaury.forgeotdarc', 'belopolsky', 'tim.golden', 'meador.inge', 'zach.ware', 'eryksun', 'steve.dower', 'itsgk92', 'xs_iceman']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'test needed'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue41021'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    調査の方向性

    まず、影響を受ける Python 3.8–3.10 の ctypes 構成を使い、Windows x86 上で callback.zip のクラッシュを再現します。ctypes のコールバック処理を追跡し、issue の「test needed」ステージで示されている回帰テストのカバレッジを追加します。reproducer がクラッシュしなくなり、テストに合格すれば完了です。

    索引モデルが issue の本文から書いたものです。

    評価

    技術スタック
    python
    領域
    operating-systems, testing-qa
    issue の種類
    バグ
    難易度
    4/5
    見積もり時間
    3〜5日
    活発さ
    停滞
    明瞭さ
    説明が足りない
    初心者へのやさしさ
    35/100

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。