python / python/cpython

`test_tracemalloc_track_race` segfault on buildbot

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

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

interpreter-core tests type-crash
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

Crash report

Seen on the ARM Raspbian 3.x buildbot, but I suspect it's not Raspbian specific:

https://buildbot.python.org/#/builders/424/builds/12446/steps/6/logs/stdio

0:02:36 load avg: 3.51 [177/497/1] test_tracemalloc worker non-zero exit code (Exit code -11 (SIGSEGV))
test_late_untrack (test.test_tracemalloc.TestCAPI.test_late_untrack) ... ok
test_stop_track (test.test_tracemalloc.TestCAPI.test_stop_track) ... ok
test_stop_untrack (test.test_tracemalloc.TestCAPI.test_stop_untrack) ... ok
test_tracemalloc_track_race (test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race) ... Fatal Python error: Segmentation fault

Thread 0xf4afe400 [python] (most recent call first):

Thread 0xf52ff400 [python] (most recent call first):
  <freed thread state>

<freed thread state>

Current thread's C stack trace (most recent call first):
  <system returned no stack trace>

Extension modules: math.integer, _testcapi, _testinternalcapi (total: 3)

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

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

はじめの一歩

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

調査の方向性

test.test_tracemalloc.TestCAPI.test_tracemalloc_track_race から始め、issue にリンクされている ARM Raspbian buildbot のログを再現するか調査してください。SIGSEGV を追跡し、影響を受ける buildbot 構成で worker がゼロ以外の終了コードで終了することなくテストが完了することを確認してください。

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

評価

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

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

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