python / python/cpython

Race conditions in Tkinter with non-threaded Tcl

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

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

3.7 (EOL) 3.8 (EOL) topic-tkinter type-crash
主要言語
Python
スター
77.2k
フォーク
36k
平均マージ
1日 9時間
マージ済み PR(30日)
558

説明

BPO 33257
Nosy @terryjreedy, @roseman, @serhiy-storchaka, @native-api
PRs
  • python/cpython#6444
  • python/cpython#6972
  • python/cpython#6990
  • Files
  • TkinterCrash2-2.py: Py2 version, crashing
  • TkinterCrash3-2-2.py: Py3 version, working
  • TkinterHanders.py
  • TkinterHanders3.py
  • 0001-Build-non-threaded-debug-Tcl.zip: For testing only! Build master (win64) with nonthreaded debug Tcl
  • 0001-build-2.7-with-threaded-Tcl.patch: For testing only! Build 2.7 (win64) with threaded Tcl
  • test_threads_tk.py: reproduce hang when creating multiple Tk's
  • 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 2018-04-10.16:41:09.432>
    labels = ['3.8', '3.7', 'expert-tkinter', 'type-crash']
    title = 'Race conditions in Tkinter with non-threaded Tcl'
    updated_at = <Date 2018-10-27.23:10:44.251>
    user = 'https://github.com/native-api'
    

    bugs.python.org fields:

    activity = <Date 2018-10-27.23:10:44.251>
    actor = 'terry.reedy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tkinter']
    creation = <Date 2018-04-10.16:41:09.432>
    creator = 'Ivan.Pozdeev'
    dependencies = []
    files = ['47529', '47530', '47536', '47561', '47565', '47566', '47620']
    hgrepos = []
    issue_num = 33257
    keywords = ['patch']
    message_count = 29.0
    messages = ['315172', '315271', '315283', '315285', '315286', '315304', '315878', '315899', '316087', '316089', '316092', '316093', '316095', '316096', '316097', '316098', '316099', '316100', '316103', '316105', '316106', '316241', '316265', '316418', '316451', '316689', '316921', '317875', '328662']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'markroseman', 'PythonInTheGrass', 'serhiy.storchaka', 'Ivan.Pozdeev']
    pr_nums = ['6444', '6972', '6990']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue33257'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']
    

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

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

    はじめの一歩

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

    調査の方向性

    提供されている再現プログラム TkinterCrash2-2.py、TkinterCrash3-2-2.py、test_threads_tk.py から始め、次に TkinterHanders.py と TkinterHanders3.py を読みます。変更を加える前に、既存の pull request 6444、6972、6990 を確認してください。この issue はパッチレビュー中であるため、完了には報告された競合状態を解消し、再現ケースを検証することが必要です。

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

    評価

    技術スタック
    python
    領域
    desktop
    issue の種類
    バグ
    難易度
    5/5
    見積もり時間
    1週間以上
    活発さ
    停滞
    明瞭さ
    説明が足りない
    初心者へのやさしさ
    20/100

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

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